diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-12 15:42:16 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-12 15:42:16 +0000 |
commit | cc1783b5e2fd99d8d210a1fdb1c4168e623b0ce5 (patch) | |
tree | 824b1255ac47db2f45e9c22ee52d05bb940c9fcf /meta | |
parent | 7e2a8ebf41859fb685e80f78bc4a5ca2f423f14d (diff) | |
download | poky-cc1783b5e2fd99d8d210a1fdb1c4168e623b0ce5.tar.gz |
sysvinit: Use echo to change the psplash progress fifo instead of forking
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5060 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/packages/sysvinit/sysvinit/rc | 7 | ||||
-rw-r--r-- | meta/packages/sysvinit/sysvinit_2.86.bb | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/meta/packages/sysvinit/sysvinit/rc b/meta/packages/sysvinit/sysvinit/rc index 30b69ad516..dce31a5c98 100755 --- a/meta/packages/sysvinit/sysvinit/rc +++ b/meta/packages/sysvinit/sysvinit/rc | |||
@@ -26,8 +26,11 @@ startup_progress() { | |||
26 | progress=$progress_size | 26 | progress=$progress_size |
27 | fi | 27 | fi |
28 | #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size" | 28 | #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size" |
29 | if type psplash-write >/dev/null 2>&1; then | 29 | #if type psplash-write >/dev/null 2>&1; then |
30 | TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true | 30 | # TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true |
31 | #fi | ||
32 | if [ -e /mnt/.psplash/psplash_fifo ]; then | ||
33 | echo "PROGRESS $progress" > /mnt/.psplash/psplash_fifo | ||
31 | fi | 34 | fi |
32 | } | 35 | } |
33 | 36 | ||
diff --git a/meta/packages/sysvinit/sysvinit_2.86.bb b/meta/packages/sysvinit/sysvinit_2.86.bb index e30970cb70..407ffd3369 100644 --- a/meta/packages/sysvinit/sysvinit_2.86.bb +++ b/meta/packages/sysvinit/sysvinit_2.86.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "System-V like init." | |||
2 | SECTION = "base" | 2 | SECTION = "base" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | HOMEPAGE = "http://freshmeat.net/projects/sysvinit/" | 4 | HOMEPAGE = "http://freshmeat.net/projects/sysvinit/" |
5 | PR = "r30" | 5 | PR = "r31" |
6 | 6 | ||
7 | # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. | 7 | # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. |
8 | # Set PACKAGE_ARCH appropriately. | 8 | # Set PACKAGE_ARCH appropriately. |