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

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



---
 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


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