From b0ff70a877148ab2ede812f1371d6c339fb31772 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 19 Jul 2011 09:18:41 +0200 Subject: [PATCH] Prepend dracut to the temporary initramfs directory (#722999) Temporary directory with just the kernel version interferes with the modules temporary directory. --- src/pylorax/installtree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py index a004e73b..11a23909 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),