diff --git a/src/pylorax/creator.py b/src/pylorax/creator.py index ae18cb2a..559912ed 100644 --- a/src/pylorax/creator.py +++ b/src/pylorax/creator.py @@ -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) diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index 2e88a3f5..42c598d6 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -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):