]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth-populate-initrd: do not install label.so
authorHarald Hoyer <harald@redhat.com>
Wed, 5 Aug 2009 14:28:52 +0000 (16:28 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 6 Aug 2009 12:43:13 +0000 (14:43 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=515589

It ends up installing the label.so control plugin which isn't supposed
to get installed into the initrd.  this makes cairo and libX11 and all sorts of
things move into the initrd that aren't supposed to.

modules.d/50plymouth/plymouth-populate-initrd

index e26d64616d8009b6bfc1951e4e56e72fe09474fb..3a7a04262f848c74cb25ea38acfdf88cfe9ba151 100755 (executable)
@@ -42,6 +42,7 @@ else
     done
     for x in ${LIBDIR}/plymouth/*.so ; do
         [[ -f "$x" ]] || continue
+        [[ "$x" != "${x%%/label.so}" ]] && continue
         dracut_install "$x"
     done
     (