Merge "Fix building error with element dracut-regenerate"

This commit is contained in:
Zuul 2021-01-18 06:45:18 +00:00 committed by Gerrit Code Review
commit 2737d909bf

View File

@ -73,6 +73,7 @@ def main():
# list installed modules of dracut
cmdline = ['dracut', '--list-modules']
cmdline += [ramdisk_path, kernel_version]
logging.debug("Calling: %s" % cmdline)
subp = subprocess.Popen(cmdline, stdout=subprocess.PIPE)
out, err = subp.communicate()