Blame 0080-dracut-init.sh-set-default-firmware-path-if-not-spec.patch
|
Harald Hoyer |
414eba |
From 8e010957557621c1a71d7289c4210d3ad5932893 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
414eba |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
414eba |
Date: Wed, 25 May 2016 17:05:03 +0200
|
|
Harald Hoyer |
414eba |
Subject: [PATCH] dracut-init.sh: set default firmware path, if not specified
|
|
Harald Hoyer |
414eba |
|
|
Harald Hoyer |
414eba |
---
|
|
Harald Hoyer |
414eba |
dracut-init.sh | 2 ++
|
|
Harald Hoyer |
414eba |
1 file changed, 2 insertions(+)
|
|
Harald Hoyer |
414eba |
|
|
Harald Hoyer |
414eba |
diff --git a/dracut-init.sh b/dracut-init.sh
|
|
Harald Hoyer |
414eba |
index d2bb845..7f628ce 100644
|
|
Harald Hoyer |
414eba |
--- a/dracut-init.sh
|
|
Harald Hoyer |
414eba |
+++ b/dracut-init.sh
|
|
Harald Hoyer |
414eba |
@@ -69,6 +69,8 @@ srcmods="/lib/modules/$kernel/"
|
|
Harald Hoyer |
414eba |
}
|
|
Harald Hoyer |
414eba |
export srcmods
|
|
Harald Hoyer |
414eba |
|
|
Harald Hoyer |
414eba |
+[[ $DRACUT_FIRMWARE_PATH ]] || export DRACUT_FIRMWARE_PATH="/lib/firmware/updates:/lib/firmware:/lib/firmware/$kernel"
|
|
Harald Hoyer |
414eba |
+
|
|
Harald Hoyer |
414eba |
# export standard hookdirs
|
|
Harald Hoyer |
414eba |
[[ $hookdirs ]] || {
|
|
Harald Hoyer |
414eba |
hookdirs="cmdline pre-udev pre-trigger netroot "
|