initrd.defaults, gen_initramfs: plymouthd is actually in /usr/sbin, bug #487800

master v31
Fabio Erculiani 11 years ago
parent 9aec1ae65e
commit 25cd48cd6f

@ -63,7 +63,7 @@ MDEVD='/sbin/mdev'
INITRD_SPLASH='/etc/initrd.splash' INITRD_SPLASH='/etc/initrd.splash'
# latest plymouth ebuild in gentoo has it in /usr/bin # latest plymouth ebuild in gentoo has it in /usr/bin
PLYMOUTHD_BIN='/sbin/plymouthd' PLYMOUTHD_BIN='/sbin/plymouthd'
[ ! -e "${PLYMOUTHD_BIN}" ] && PLYMOUTHD_BIN='/usr/bin/plymouthd' [ ! -e "${PLYMOUTHD_BIN}" ] && PLYMOUTHD_BIN='/usr/sbin/plymouthd'
PLYMOUTH_BIN='/bin/plymouth' PLYMOUTH_BIN='/bin/plymouth'
REAL_ROOT='' REAL_ROOT=''

@ -480,7 +480,7 @@ append_plymouth() {
local plymouthd_bin="/sbin/plymouthd" local plymouthd_bin="/sbin/plymouthd"
[ ! -e "${plymouthd_bin}" ] && \ [ ! -e "${plymouthd_bin}" ] && \
plymouthd_bin="/usr/bin/plymouthd" plymouthd_bin="/usr/sbin/plymouthd"
copy_binaries "${TEMP}/initramfs-ply-temp" \ copy_binaries "${TEMP}/initramfs-ply-temp" \
"${plymouthd_bin}" /bin/plymouth \ "${plymouthd_bin}" /bin/plymouth \

Loading…
Cancel
Save