p2v: make-disk: Add verbose option to dracut in post-install script.

The verbose output goes to /tmp/builder.log so it wouldn't normally be
seen by the end user, but it's useful for debugging.
This commit is contained in:
Richard W.M. Jones
2017-07-19 14:47:15 +01:00
parent 5c86c64c79
commit a2aabffd81

View File

@@ -178,7 +178,7 @@ EOF
#!/bin/bash
# Rebuild the initramfs.
latest_version="$(cd /lib/modules; ls -1vr | head -1)"
dracut -f --kver $latest_version
dracut -v -f --kver $latest_version
EOF
# Double quotes because we want $tmpdir to be expanded:
extra_args="