Merge "Fix building error with element dracut-regenerate"
This commit is contained in:
commit
2737d909bf
@ -73,6 +73,7 @@ def main():
|
|||||||
|
|
||||||
# list installed modules of dracut
|
# list installed modules of dracut
|
||||||
cmdline = ['dracut', '--list-modules']
|
cmdline = ['dracut', '--list-modules']
|
||||||
|
cmdline += [ramdisk_path, kernel_version]
|
||||||
logging.debug("Calling: %s" % cmdline)
|
logging.debug("Calling: %s" % cmdline)
|
||||||
subp = subprocess.Popen(cmdline, stdout=subprocess.PIPE)
|
subp = subprocess.Popen(cmdline, stdout=subprocess.PIPE)
|
||||||
out, err = subp.communicate()
|
out, err = subp.communicate()
|
||||||
|
Loading…
Reference in New Issue
Block a user