[lorax] Prepend dracut to the temporary initramfs directory (#722999)

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

 



Temporary directory with just the kernel version interferes
with the modules temporary directory.
---
 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 a004e73..11a2390 100644
--- a/src/pylorax/installtree.py
+++ b/src/pylorax/installtree.py
@@ -556,7 +556,7 @@ class LoraxInstallTree(BaseLoraxClass):
                                    "--xz", "--modules", "base dmsquash-live",
                                    outfile, kernel.version])
             # move output file into installtree workdir
-            dstdir = joinpaths(self.workdir, kernel.version)
+            dstdir = joinpaths(self.workdir, "dracut-%s" % kernel.version)
             os.makedirs(dstdir)
             self.initramfs[kernel.version] = joinpaths(dstdir, "initramfs.img")
             shutil.move(joinpaths(self.root, outfile),
-- 
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