]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
dracut-ng: Configure to create universally bootable initramdisks
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Nov 2025 11:11:49 +0000 (11:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Nov 2025 11:15:11 +0000 (11:15 +0000)
We don't want to build an initramdisk only for the current host so that
IPFire devices will boot on various hardware.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/dracut/ipfire.conf

index a5e0ea62ef5b002cfe7f9061caf104e5e5bf9841..f81d4be1698cd6ade488324f89595e91caec8873 100644 (file)
@@ -1,3 +1,7 @@
+# Build a universally bootable initramdisk
+hostonly="no"
+hostonly_cmdline="no"
+
 # Load microcode for the CPU early
 early_microcode="yes"
 
@@ -5,4 +9,4 @@ early_microcode="yes"
 compress="zstd -10 -q -T1"
 
 # Disable default stripping of binaries
-do_strip="no"
\ No newline at end of file
+do_strip="no"