summaryrefslogtreecommitdiff
path: root/packages/sysvinit
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sysvinit')
-rw-r--r--packages/sysvinit/sysvinit_2.85.bb36
-rw-r--r--packages/sysvinit/sysvinit_2.86.bb34
2 files changed, 35 insertions, 35 deletions
diff --git a/packages/sysvinit/sysvinit_2.85.bb b/packages/sysvinit/sysvinit_2.85.bb
index 8bbd4cd5ee..a64f0d2f11 100644
--- a/packages/sysvinit/sysvinit_2.85.bb
+++ b/packages/sysvinit/sysvinit_2.85.bb
@@ -30,26 +30,26 @@ export LCRYPT = "-lcrypt"
do_install () {
- install -d ${D}/${bindir} ${D}/${sbindir} \
- ${D}/${base_sbindir} ${D}/${sysconfdir}/default \
- ${D}/${sysconfdir}/init.d
+ install -d ${D}${bindir} ${D}${sbindir} \
+ ${D}${base_sbindir} ${D}${sysconfdir}/default \
+ ${D}${sysconfdir}/init.d
install -m 755 halt killall5 \
- runlevel shutdown ${D}/${base_sbindir}/
- install -m 755 init ${D}/${base_sbindir}/sysvinit
+ runlevel shutdown ${D}${base_sbindir}/
+ install -m 755 init ${D}${base_sbindir}/sysvinit
install -m 755 mesg last ${D}${bindir}
- install -m 0755 ${WORKDIR}/need ${D}/${base_sbindir}/need.sysvinit
- install -m 0755 ${WORKDIR}/provide ${D}/${base_sbindir}/provide.sysvinit
- ln -sf halt ${D}/${base_sbindir}/reboot
- ln -sf halt ${D}/${base_sbindir}/poweroff
- ln -sf init ${D}/${base_sbindir}/telinit
- ln -sf killall5 ${D}/${base_sbindir}/pidof
+ install -m 0755 ${WORKDIR}/need ${D}${base_sbindir}/need.sysvinit
+ install -m 0755 ${WORKDIR}/provide ${D}${base_sbindir}/provide.sysvinit
+ ln -sf halt ${D}${base_sbindir}/reboot
+ ln -sf halt ${D}${base_sbindir}/poweroff
+ ln -sf init ${D}${base_sbindir}/telinit
+ ln -sf killall5 ${D}${base_sbindir}/pidof
ln -sf last ${D}${bindir}/lastb
- install -m 0644 ${WORKDIR}/inittab ${D}/${sysconfdir}/inittab
+ install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
if [ ! -z "${SERIAL_CONSOLE}" ]; then
- echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}/${sysconfdir}/inittab
+ echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
fi
if [ "${USE_VT}" == "1" ]; then
- cat <<EOF >>${D}/${sysconfdir}/inittab
+ cat <<EOF >>${D}${sysconfdir}/inittab
# ${base_sbindir}/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
@@ -64,14 +64,14 @@ do_install () {
# 4:23:respawn:${base_sbindir}/getty 38400 tty4
EOF
fi
- install -m 0644 ${WORKDIR}/rcS-default ${D}/${sysconfdir}/default/rcS
- install -m 0755 ${WORKDIR}/rc ${D}/${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/rcS ${D}/${sysconfdir}/init.d
+ install -m 0644 ${WORKDIR}/rcS-default ${D}${sysconfdir}/default/rcS
+ install -m 0755 ${WORKDIR}/rc ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d
}
do_install_append_ramses () {
- cat <<EOF >>${D}/${sysconfdir}/inittab
+ cat <<EOF >>${D}${sysconfdir}/inittab
# Bluetooth
#1:2345:respawn:${base_sbindir}/getty -L 115200 tts/1
# External serial port
diff --git a/packages/sysvinit/sysvinit_2.86.bb b/packages/sysvinit/sysvinit_2.86.bb
index 1d9d4d0af4..e55b3fa0f4 100644
--- a/packages/sysvinit/sysvinit_2.86.bb
+++ b/packages/sysvinit/sysvinit_2.86.bb
@@ -54,15 +54,15 @@ EXTRA_OEMAKE += "'INSTALL=install' \
do_install () {
oe_runmake 'ROOT=${D}' install
- install -d ${D}/${sysconfdir} \
- ${D}/${sysconfdir}/default \
- ${D}/${sysconfdir}/init.d
- install -m 0644 ${WORKDIR}/inittab ${D}/${sysconfdir}/inittab
+ install -d ${D}${sysconfdir} \
+ ${D}${sysconfdir}/default \
+ ${D}${sysconfdir}/init.d
+ install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
if [ ! -z "${SERIAL_CONSOLE}" ]; then
- echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}/${sysconfdir}/inittab
+ echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
fi
if [ "${USE_VT}" == "1" ]; then
- cat <<EOF >>${D}/${sysconfdir}/inittab
+ cat <<EOF >>${D}${sysconfdir}/inittab
# ${base_sbindir}/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
@@ -77,23 +77,23 @@ do_install () {
# 4:23:respawn:${base_sbindir}/getty 38400 tty4
EOF
fi
- install -m 0644 ${WORKDIR}/rcS-default ${D}/${sysconfdir}/default/rcS
- install -m 0755 ${WORKDIR}/rc ${D}/${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/rcS ${D}/${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/bootlogd.init ${D}/${sysconfdir}/init.d/bootlogd
- ln -sf bootlogd ${D}/${sysconfdir}/init.d/stop-bootlogd
- install -d ${D}/${sysconfdir}/rcS.d
- ln -sf ../init.d/bootlogd ${D}/${sysconfdir}/rcS.d/S07bootlogd
+ install -m 0644 ${WORKDIR}/rcS-default ${D}${sysconfdir}/default/rcS
+ install -m 0755 ${WORKDIR}/rc ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/bootlogd.init ${D}${sysconfdir}/init.d/bootlogd
+ ln -sf bootlogd ${D}${sysconfdir}/init.d/stop-bootlogd
+ install -d ${D}${sysconfdir}/rcS.d
+ ln -sf ../init.d/bootlogd ${D}${sysconfdir}/rcS.d/S07bootlogd
for level in 2 3 4 5; do
- install -d ${D}/${sysconfdir}/rc$level.d
- ln -s ../init.d/stop-bootlogd ${D}/${sysconfdir}/rc$level.d/S99stop-bootlogd
+ install -d ${D}${sysconfdir}/rc$level.d
+ ln -s ../init.d/stop-bootlogd ${D}${sysconfdir}/rc$level.d/S99stop-bootlogd
done
- mv ${D}/${base_sbindir}/init ${D}/${base_sbindir}/init.sysvinit
+ mv ${D}${base_sbindir}/init ${D}${base_sbindir}/init.sysvinit
}
do_install_append_ramses () {
- cat <<EOF >>${D}/${sysconfdir}/inittab
+ cat <<EOF >>${D}${sysconfdir}/inittab
# Bluetooth
#1:2345:respawn:${base_sbindir}/getty -L 115200 tts/1
# External serial port