]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
dracut: The plymouth plugin calls files in /usr/libexec.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Apr 2012 12:19:18 +0000 (14:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Apr 2012 12:19:18 +0000 (14:19 +0200)
However, we don't have /usr/libexec and thus are replacing
those paths by /usr/lib.

dracut/dracut.nm

index b0a70fd5a91c186bc2caa29236c66d4436bb346c..6890ab18ec348a8373eb2f555ed8804f97e6561b 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = dracut
 version    = 018
-release    = 1
+release    = 2
 arch       = noarch
 
 groups     = System/Boot
@@ -29,6 +29,11 @@ build
        prepare_cmds
                # Disable dash syntax check as we don't have dash.
                sed -e "s/dash/true/g" -i Makefile
+
+               # The plymouth plugin contains a lot of hardcoded libexec paths.
+               # We don't use libexec and so we need to change this.
+               sed -e "s/libexec/lib/g" -i \
+                       modules.d/50plymouth/module-setup.sh
        end
 
        dracutlibdir = %{prefix}/lib/dracut