mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
![]() |
From 11877835aeb59e90e77edea99a4382f15c88cf35 Mon Sep 17 00:00:00 2001
|
||
|
From: "Brian C. Lane" <bcl@redhat.com>
|
||
|
Date: Tue, 13 Oct 2015 11:19:13 -0700
|
||
|
Subject: [PATCH] Use add_drivers for dracut config (#1192030)
|
||
|
|
||
|
Writing drivers+= to the dracut config ONLY installs those drivers. This
|
||
|
switches to use add_drivers+= so that dracut will pick up the usual set
|
||
|
of drivers and ADD the ones we select.
|
||
|
|
||
|
Resolves: rhbz#1192030
|
||
|
---
|
||
|
imgcreate/live.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/imgcreate/live.py b/imgcreate/live.py
|
||
|
index 25bc9e0..bd780b5 100755
|
||
|
--- a/imgcreate/live.py
|
||
|
+++ b/imgcreate/live.py
|
||
|
@@ -304,7 +304,7 @@ class LiveImageCreatorBase(LoopImageCreator):
|
||
|
makedirs(os.path.dirname(path))
|
||
|
f = open(path, "a")
|
||
|
f.write('filesystems+="' + self.__extra_filesystems() + ' "\n')
|
||
|
- f.write('drivers+="' + self.__extra_drivers() + ' "\n')
|
||
|
+ f.write('add_drivers+="' + self.__extra_drivers() + ' "\n')
|
||
|
f.write('add_dracutmodules+=" dmsquash-live pollcdrom "\n')
|
||
|
f.write('hostonly="no"\n')
|
||
|
f.write('dracut_rescue_image="no"\n')
|
||
|
--
|
||
|
2.7.3
|
||
|
|