Blame SOURCES/0548-Correct-paths-for-openSUSE.patch

2d7ffa
From 5f381a151fa210d31d8b6f71f83f1405f876c0aa Mon Sep 17 00:00:00 2001
2d7ffa
From: Christian Rodrigues <crrodriguez@opensuse.org>
2d7ffa
Date: Mon, 23 Mar 2015 17:12:15 +0100
2d7ffa
Subject: [PATCH] Correct paths for openSUSE
2d7ffa
2d7ffa
openSUSE has things stored in different places, so fixup the
2d7ffa
paths here.
2d7ffa
2d7ffa
Signed-off-by: Christian Rodrigues <crrodriguez@opensuse.org>
2d7ffa
Signed-off-by: Hannes Reinecke <hare@suse.de>
2d7ffa
Signed-off-by: Thomas Renninger <trenn@suse.de>
2d7ffa
2d7ffa
Cherry-picked from: b52cfbea
2d7ffa
Resolves: #1608491
2d7ffa
---
2d7ffa
 dracut.sh | 2 +-
2d7ffa
 1 file changed, 1 insertion(+), 1 deletion(-)
2d7ffa
2d7ffa
diff --git a/dracut.sh b/dracut.sh
2d7ffa
index 245b4c49..4f324439 100755
2d7ffa
--- a/dracut.sh
2d7ffa
+++ b/dracut.sh
2d7ffa
@@ -809,7 +809,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
2d7ffa
 [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l
2d7ffa
 [[ $lvmconf_l ]] && lvmconf=$lvmconf_l
2d7ffa
 [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut
2d7ffa
-[[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware"
2d7ffa
+[[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware /lib/firmware/$kernel"
2d7ffa
 [[ $tmpdir_l ]] && tmpdir="$tmpdir_l"
2d7ffa
 [[ $tmpdir ]] || tmpdir=/var/tmp
2d7ffa
 [[ $INITRD_COMPRESS ]] && compress=$INITRD_COMPRESS