summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/rc3
-rw-r--r--meta/recipes-core/sysvinit/sysvinit/rcS-default2
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.98.bb7
3 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc
index 8e76f987c1..41196ec90b 100755
--- a/meta/recipes-core/sysvinit/sysvinit/rc
+++ b/meta/recipes-core/sysvinit/sysvinit/rc
@@ -160,6 +160,9 @@ startup() {
160 # 160 #
161 [ -f $previous_start ] && [ ! -f $stop ] && continue 161 [ -f $previous_start ] && [ ! -f $stop ] && continue
162 fi 162 fi
163 if [ x"${PSPLASH_TEXT_UPDATES}" = x"yes" ]; then
164 psplash-write "MSG $(basename $i .sh | cut -c 4-)" || true
165 fi
163 case "$runlevel" in 166 case "$runlevel" in
164 0|6) 167 0|6)
165 startup $i stop 168 startup $i stop
diff --git a/meta/recipes-core/sysvinit/sysvinit/rcS-default b/meta/recipes-core/sysvinit/sysvinit/rcS-default
index 76af22b359..f7c4a2f841 100644
--- a/meta/recipes-core/sysvinit/sysvinit/rcS-default
+++ b/meta/recipes-core/sysvinit/sysvinit/rcS-default
@@ -32,3 +32,5 @@ ROOTFS_READ_ONLY=no
32INIT_SYSTEM=sysvinit 32INIT_SYSTEM=sysvinit
33# set the psplash fifo directory 33# set the psplash fifo directory
34PSPLASH_FIFO_DIR=/mnt 34PSPLASH_FIFO_DIR=/mnt
35# psplash textual updates knob
36PSPLASH_TEXT_UPDATES=#PSPLASH_TEXT#
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.98.bb b/meta/recipes-core/sysvinit/sysvinit_2.98.bb
index fd39c61fb5..41009bc180 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.98.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.98.bb
@@ -29,6 +29,8 @@ inherit update-alternatives features_check
29DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt" 29DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt"
30do_package_setscene[depends] = "${MLPREFIX}base-passwd:do_populate_sysroot" 30do_package_setscene[depends] = "${MLPREFIX}base-passwd:do_populate_sysroot"
31 31
32PACKAGECONFIG[psplash-text-updates] = ",,"
33
32REQUIRED_DISTRO_FEATURES = "sysvinit" 34REQUIRED_DISTRO_FEATURES = "sysvinit"
33 35
34ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last lastb mesg utmpdump wall" 36ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last lastb mesg utmpdump wall"
@@ -91,7 +93,10 @@ do_install () {
91 install -d ${D}${sysconfdir}/rc$level.d 93 install -d ${D}${sysconfdir}/rc$level.d
92 done 94 done
93 95
94 install -m 0644 ${WORKDIR}/rcS-default ${D}${sysconfdir}/default/rcS 96 sed -e \
97 's:#PSPLASH_TEXT#:${@bb.utils.contains("PACKAGECONFIG","psplash-text-updates","yes","no", d)}:g' \
98 ${WORKDIR}/rcS-default > ${D}${sysconfdir}/default/rcS
99 chmod 0644 ${D}${sysconfdir}/default/rcS
95 install -m 0755 ${WORKDIR}/rc ${D}${sysconfdir}/init.d 100 install -m 0755 ${WORKDIR}/rc ${D}${sysconfdir}/init.d
96 install -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d 101 install -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d
97 install -m 0755 ${WORKDIR}/bootlogd.init ${D}${sysconfdir}/init.d/bootlogd 102 install -m 0755 ${WORKDIR}/bootlogd.init ${D}${sysconfdir}/init.d/bootlogd