Add log entry about dracut and /proc
This commit is contained in:
parent
68c26bf87b
commit
be2c9333fc
@ -282,9 +282,9 @@ def rebuild_initrds_for_live(opts, sys_root_dir, results_dir):
|
||||
# Construct an initrd from the kernel name
|
||||
outfile = os.path.basename(kernel.path.replace("vmlinuz-", "initrd-") + ".img")
|
||||
log.info("rebuilding %s", outfile)
|
||||
log.info("dracut warnings about /proc are safe to ignore")
|
||||
|
||||
kver = kernel.version
|
||||
|
||||
cmd = dracut + ["/results/"+outfile, kver]
|
||||
runcmd(cmd, root=sys_root_dir)
|
||||
|
||||
|
@ -319,6 +319,8 @@ class TreeBuilder(object):
|
||||
# Construct an initrd from the kernel name
|
||||
outfile = kernel.path.replace("vmlinuz-", "initrd-") + ".img"
|
||||
logger.info("rebuilding %s", outfile)
|
||||
logger.info("dracut warnings about /proc are safe to ignore")
|
||||
|
||||
if backup:
|
||||
initrd = joinpaths(self.vars.inroot, outfile)
|
||||
if os.path.exists(initrd):
|
||||
|
Loading…
Reference in New Issue
Block a user