calamares/calamares-3.3.0-dracut_hostonly.patch

16 lines
757 B
Diff
Raw Permalink Normal View History

--- calamares-3.3.0/src/modules/dracut/main.py.orig 2023-12-14 09:47:11.824021030 +0100
+++ calamares-3.3.0/src/modules/dracut/main.py 2023-12-14 09:47:27.638063004 +0100
@@ -37,10 +37,10 @@
"""
try:
initramfs_name = libcalamares.job.configuration['initramfsName']
- target_env_process_output(['dracut', '-f', initramfs_name])
+ target_env_process_output(['dracut', '-f', '-H', initramfs_name])
except KeyError:
try:
- target_env_process_output(['dracut', '-f'])
+ target_env_process_output(['dracut', '-f', '-H'])
except subprocess.CalledProcessError as cpe:
libcalamares.utils.warning(f"Dracut failed with output: {cpe.output}")
return cpe.returncode