mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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
This commit is contained in:
@@ -26,8 +26,11 @@ startup_progress() {
|
|||||||
progress=$progress_size
|
progress=$progress_size
|
||||||
fi
|
fi
|
||||||
#echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size"
|
#echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size"
|
||||||
if type psplash-write >/dev/null 2>&1; then
|
#if type psplash-write >/dev/null 2>&1; then
|
||||||
TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true
|
# TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true
|
||||||
|
#fi
|
||||||
|
if [ -e /mnt/.psplash/psplash_fifo ]; then
|
||||||
|
echo "PROGRESS $progress" > /mnt/.psplash/psplash_fifo
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ DESCRIPTION = "System-V like init."
|
|||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
|
HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
|
||||||
PR = "r30"
|
PR = "r31"
|
||||||
|
|
||||||
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
|
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
|
||||||
# Set PACKAGE_ARCH appropriately.
|
# Set PACKAGE_ARCH appropriately.
|
||||||
|
|||||||
Reference in New Issue
Block a user