summaryrefslogtreecommitdiff
path: root/fs/skeleton
AgeCommit message (Collapse)Author
2012-01-11Rework of shutdown policy in inittabMaxime Ripard
This commit follows commit ad501b66. Start up of the busybox logging daemons were moved to an init script but the shutdown were still performed in inittab. This commit moves the shutdown policy to an rcK script that calls the stop function of all the init scripts in a reversed order. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-10Add ttyGS0 to securettyJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-06fs/skeleton: make /var/lib/misc a symlink to /tmpPeter Korsgaard
Similar to the other symlinks, so you can use E.G. dnsmasq with a read only rootfs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-28/etc/profile: read in /etc/profile.d/*.sh filesThomas De Schampheleire
For custom projects, it is more maintainable to add custom profile settings in a separate file, than directly in /etc/profile. This patch modifies /etc/profile to read in *.sh files from /etc/profile.d/, a technique commonly used in Linux distributions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-28sh: Add ttySC* to securettyPhil Edworthy
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-26securetty: update to add ttySC for sh4Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10fs/skeleton: allow rootfs not to be remounted read-writeLuca Ceresoli
[Peter: prefix option with TARGET_GENERIC_] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04skeleton: inittab: remove /var/log/messages log on tty3Peter Korsgaard
Hardcodes policy, is not critical, and people might not have tty3 (E.G. virtual consoles) available. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04Rework the logging daemons startupMaxime Ripard
The logging mechanism startup being in inittab, it isn't easy to overcharge the default policy. With this patch, the startup of the syslog daemon is moved to an init.d script, that can easily be overwritten. [Peter: use install -D] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-03Create and mount /dev/shmMaxime Ripard
The /dev/shm directory is neither created nor mounted as tmpfs as boot time. This will cause troubles when using named semaphores on the system. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-12target/generic: only show getty port option if default skeleton is usedPeter Korsgaard
The special marker in etc/inittab might not be present with a custom skeleton. At the same time make the option always active, remove the hardcoded tty1/tty2 gettys and reword the option description slightly. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-22fs/skeleton: add ftp user/groupPeter Korsgaard
Needed by E.G. proftpd for the default (anonymous ftp) config. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-21fs/skeleton: mount /proc before remounting rwANDY KENNEDY
inittab ordering causes mount to fail on remount,rw. inittab changed to mount /proc first. Signed-off-by: Andy Kennedy <Andy.Kennedy@AdTran.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11target skeleton: add audio groupGustavo Zacarias
Add audio group to the target skeleton. Some multimedia applications based on alsa-lib need it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11etc/securetty: Add ttyAM for ep93xxH Hartley Sweeten
Allow root login on the Cirrus ep93xx ARM AMBA serial ports. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-30etc/securetty: Add ttyO0 to ttyO3 for omapGuillaume Gardet
Recent kernels (2.6.37*) use a different name for OMAP serial ports. They are no longer called ttySx but ttyOx. Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Add network scripting folders to fs/skeletonYegor Yefremov
Those folders are currently created using makedevs according to the specifications in device_table.txt. However, as makedevs is no longer executed when dynamic device creation methods are selected (devtmpfs, udev, mdev), those folders must be created differently. We choose to put them directly into the default filesystem skeleton. Signed-off-by: Yegor Yefremov <yegor_sub1@visionsystems.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13busybox: move udhcp script from skeleton to packageLionel Landwerlin
Since udhcpc is part of busybox, it seems logical to move the udhcpc script from skeleton to busybox. [Peter: only install if not available in skeleton] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-16fs/skeleton: remove ancient .bashrcPeter Korsgaard
It contains a bunch of semi-random aliases confusing users, and sets a bunch of environment variables which are already provided by bash by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy
[Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>