[PATCH 6/8] Make recreateInitrd() generate a dracut initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 packages.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages.py b/packages.py
index 960a0af..07fa45f 100644
--- a/packages.py
+++ b/packages.py
@@ -328,7 +328,7 @@ def rpmKernelVersionList(rootPath = "/"):
 def recreateInitrd (kernelTag, instRoot):
     log.info("recreating initrd for %s" % (kernelTag,))
     iutil.execWithRedirect("/sbin/new-kernel-pkg",
-                           [ "--mkinitrd", "--depmod", "--install", kernelTag ],
+                           [ "--mkinitrd", "--dracut", "--depmod", "--install", kernelTag ],
                            stdout = "/dev/null", stderr = "/dev/null",
                            searchPath = 1, root = instRoot)
 
-- 
1.6.4.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux