gen_initramfs: libply-splash-core.so.* moved to /usr/lib

This is still part of the ridiculous, pointless and unsafe plymouth
move to /usr
master v34
Fabio Erculiani 11 years ago
parent 3ba9860667
commit 8f4c854059

@ -426,6 +426,7 @@ append_plymouth() {
mkdir -p "${TEMP}/initramfs-ply-temp/usr/share/plymouth/themes"
mkdir -p "${TEMP}/initramfs-ply-temp/etc/plymouth"
mkdir -p "${TEMP}/initramfs-ply-temp/"{bin,sbin}
mkdir -p "${TEMP}/initramfs-ply-temp/usr/"{bin,sbin}
cd "${TEMP}/initramfs-ply-temp"
@ -460,8 +461,15 @@ append_plymouth() {
"${TEMP}/initramfs-ply-temp${theme_dir}/default.plymouth" || \
gen_die "cannot setup the default plymouth theme"
# plymouth may have placed the libs into /usr/
local libply_core="/lib*/libply-splash-core.so.*"
if ! ls -1 ${libply_core} 2>/dev/null >/dev/null; then
libply_core="/usr/lib*/libply-splash-core.so.*"
fi
local libs=(
"/lib*/libply-splash-core.so.*"
"${libply_core}"
"/usr/lib*/libply-splash-core.so.*"
"/usr/lib*/libply-splash-graphics.so.*"
"/usr/lib*/plymouth/text.so"
"/usr/lib*/plymouth/details.so"

Loading…
Cancel
Save