7682ae6f6e
fix plymouth installation if dpkg package is installed OBS-URL: https://build.opensuse.org/request/show/325737 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=224
19 lines
790 B
Diff
19 lines
790 B
Diff
Index: b/modules.d/50plymouth/module-setup.sh
|
|
===================================================================
|
|
--- a/modules.d/50plymouth/module-setup.sh
|
|
+++ b/modules.d/50plymouth/module-setup.sh
|
|
@@ -14,9 +14,10 @@ depends() {
|
|
# called by dracut
|
|
install() {
|
|
PKGLIBDIR="/usr/lib/plymouth"
|
|
- if type -P dpkg-architecture &>/dev/null; then
|
|
- PKGLIBDIR="/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/plymouth"
|
|
- fi
|
|
+ # breaks if dpkg is installed on openSUSE
|
|
+ #if type -P dpkg-architecture &>/dev/null; then
|
|
+ # PKGLIBDIR="/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/plymouth"
|
|
+ #fi
|
|
[ -x /usr/libexec/plymouth/plymouth-populate-initrd ] && PKGLIBDIR="/usr/libexec/plymouth"
|
|
|
|
if grep -q nash ${PKGLIBDIR}/plymouth-populate-initrd \
|