path: root/meta/recipes-core/sysvinit
Commit message (Collapse)AuthorAgeFilesLines
* sysvinit: add ROOTFS_READ_ONLY variable to rcS-defaultChen Qi2013-02-062-1/+5
| | | | | | | | | | | | | | | | This variable indicates whether the rootfs is intended to be read-only or not. Changing this value from 'no' to 'yes' on a currently running system with read-write rootfs and rebooting will give the user a working system with read-only rootfs. However, it is not suggested to change its value. Normally, if a read-only rootfs is required, we should build an image with 'read-only-rootfs' image feature. [YOCTO #3406] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit & initscripts: use update-rc.dChen Qi2013-01-281-6/+9
| | | | | | | | | | Update-rc.d provides a cleaner interface for creating links for init scripts. So we use update-rc.d to replace the redundant 'ln -sf xxx' statements. [YOCTO #3708] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit: Update ALTERNATIVES List for utmpdumpSaul Wold2012-12-031-2/+2
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hwclock.sh: improve hwclock.sh script to use UTC variableChen Qi2012-11-022-3/+3
| | | | | | | | | | | Make UTC variable in /etc/default/rcS has effect on hwclock.sh. This variable declares whether the Hardware Clock is kept in UTC or local time. Default its value to "yes" and change the comment. [YOCTO #3341] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit-inittab: fix hang issue of series consoles checkZhenhua Luo2012-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The kernel boot process hangs when /proc/consoles doesn't exists, therefore check the existence of /proc/consoles before executing pkg_postinst script. Following is the log when /proc/consoles doesn't exist: Running postinst /etc/rpm-postinsts/102... cat: /proc/consoles: No such file or directory cat: /proc/consoles: No such file or directory cat: /proc/consoles: No such file or directory INIT: Entering runlevel: 5 Starting OpenBSD Secure Shell server: sshd generating ssh RSA key... generating ssh ECDSA key... generating ssh DSA key... done. Starting network benchmark server: netserver. Starting system log daemon...0 Starting kernel log daemon...0 Stopping Bootlog daemon: bootlogd. INIT: no more processes left in this runlevel Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab_2.88dsf.bb: only run serial checks at boot if we have items ↵Matthew McClintock2012-09-121-3/+7
| | | | | | | | | | | | to check Right now, we delay running the serial console checks to we boot up. This causes issues for read only file systems. So, if have not configured any serial ports to check via SERIAL_CONSOLES_CHECK we can skip the check at boot. This fixes any issues with read only file systems and ipk packaging. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be definedMatthew McClintock2012-07-161-2/+20
| | | | | | | | | | | | | | | Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if you need to check for the presence of the serial consoles you can also define SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This will prevent error message that pop up when the serial port is not present. SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" The above lines in machine.conf or elsewhere will have the effect of having two serial consoles and removing any that are not present at boot Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit: use new update-alternativesMark Hatle2012-05-303-74/+17
| | | | | | Also remove postinst and prerm which were not being used. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Various typoes fixed, all comments or output strings.Robert P. J. Day2012-03-261-1/+1
| | | | | | | Typoes fixed: "enviroment", "editted", "spliting", "scheulder". Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: use update-alternatives for mountpoint and runlevelAndreas Oberritter2012-03-231-1/+7
| | | | | | | | * mountpoint and runlevel may be provided by busybox. * Use update-alternatives to avoid conflict. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit-inittab: Fixed license warning.Lianhao Lu2012-03-202-346/+2
| | | | | | | | WARNING: .../sysvinit-inittab-2.88dsf-r6/sysvinit-2.88dsf/COPYING could not be copied for some reason. It may not exist. WARN for now. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINEMatthew McClintock2011-11-101-0/+10
| | | | | | | | | | | Just define additional serial consoles like so: SERIAL_CONSOLES="115200;ttyS0 115200;ttyS1 ... 115200;ttySN" Also be sure to remove SERIAL_CONSOLE (lacking the S) from your machine as they can conflict. Signed-off-by: Matthew McClintock <msm@freescale.com>
* sysvinit: Change ${PN} to ${BPN} in file namesDongxiao Xu2011-08-191-26/+26
| | | | | | | Some files in sysvinit are named with ${PN}. In multilib case, ${PN} will be prefixed with "lib32-" or "lib64-". Use ${BPN} instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* sysvinit-inittab: Inhibit compiler/libc dependencies as this is just a ↵Richard Purdie2011-06-131-0/+2
| | | | | | configuration file Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: split inittab into it's own recipeKoen Kooi2011-06-094-40/+398
| | | | | | | Implements the improvements suggested in the original fix for [YOCTO #1131] Signed-off-by: <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: Mark as machine specific since there are machine specific ↵Richard Purdie2011-06-021-0/+3
| | | | | | | | | | | | | components to this recipe The inittab file depends on variables that are part of the machine config such as the SERIAL_CONSOLE so the whole recipe must get built as machine specific. Better might be to split the config out into a separate recipes from the binaries but this fixes the immediate problem. [YOCTO ##1131] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: make pidof usuable in a standalone settingKoen Kooi2011-05-311-2/+4
| | | | | | | | | | | | Currently it's a symlink to killall5: $ dpkg-deb -c sysvinit-pidof_2.88dsf-r1_armv7a.ipk | grep pidof lrwxrwxrwx root/root 0 2011-05-27 11:05 ./bin/pidof.sysvinit -> /sbin/killall5 The point of the pidof subpackage was to have a pidof without needing sysvinit, this restores that behaviour. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-132-0/+4
| | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat Signed-off-by: Qing He <qing.he@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sysvinit: add check for no X11 to disbale psplashSaul Wold2010-10-141-6/+6
| | | | | | | | | | Add a check to the rc script to check if the /etc/init.d/xserver-nodm script exists and is executable and not disable psplash if it is, otherwise disable pspalsh since we do not have X installed. Fixed [BUG #457] Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-111-0/+1
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Major layout change to the packages directoryRichard Purdie2010-08-2712-0/+630
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>