[lorax] Use --noprefix when calling dracut

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

 



Do not prefix initramfs files with /run/initramfs
when creating the dracut initramfs.
---
 src/pylorax/installtree.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py
index 11a2390..e0ddd9a 100644
--- a/src/pylorax/installtree.py
+++ b/src/pylorax/installtree.py
@@ -552,7 +552,7 @@ class LoraxInstallTree(BaseLoraxClass):
             outfile = "/tmp/initramfs.img" # inside the chroot
             logger.debug("chrooting into installtree to create initramfs.img")
             subprocess.check_call(["chroot", self.root, "/sbin/dracut",
-                                   "--nomdadmconf", "--nolvmconf",
+                                   "--noprefix", "--nomdadmconf", "--nolvmconf",
                                    "--xz", "--modules", "base dmsquash-live",
                                    outfile, kernel.version])
             # move output file into installtree workdir
-- 
1.7.3.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