]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Correct paths for openSUSE
authorChristian Rodrigues <crrodriguez@opensuse.org>
Mon, 23 Mar 2015 16:12:15 +0000 (17:12 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 2 Jun 2015 10:24:59 +0000 (12:24 +0200)
openSUSE has things stored in different places, so fixup the
paths here.

Signed-off-by: Christian Rodrigues <crrodriguez@opensuse.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
dracut.sh

index 687dbb71dd429bcd9c820c6e6b0f4a2d004cfead..d06d7d464a587f36c56dbed43d1e8dbc46aa8ce1 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -821,7 +821,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
 [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l
 [[ $lvmconf_l ]] && lvmconf=$lvmconf_l
 [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut
-[[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware"
+[[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware /lib/firmware/$kernel"
 [[ $tmpdir_l ]] && tmpdir="$tmpdir_l"
 [[ $tmpdir ]] || tmpdir=/var/tmp
 [[ $INITRD_COMPRESS ]] && compress=$INITRD_COMPRESS