Prepend dracut to the temporary initramfs directory (#722999)
Temporary directory with just the kernel version interferes with the modules temporary directory.
This commit is contained in:
parent
01c026e237
commit
b0ff70a877
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user