Use --noprefix when calling dracut
Do not prefix initramfs files with /run/initramfs when creating the dracut initramfs.
This commit is contained in:
parent
7d4cc255b9
commit
888f33c9d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user