Skip to content

Commit 476ff35

Browse files
committed
dracut: Disable hostonly to install more modules into initramfs
As an Linux distribution, Endless OS tries to support as much machines as possible. So, install more modules into initramfs generated by dracut to support more storage/block devices during the boot time by disabling "hostonly". If anyone needs to generate a host specific initramfs, they can pass the "--hostonly" option to dracut. https://phabricator.endlessm.com/T34575
1 parent 8d496f0 commit 476ff35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dracut/endless.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ omit_drivers="nouveau"
1515
# Ship the bfq IO scheduler module in the initrd, as it's relied upon by
1616
# our udev rules that detect block devices
1717
add_drivers+=" bfq "
18+
19+
# The initramfs will be distributed by ostree, so it needs to be generic. If
20+
# anyone needs to generate a host specific initramfs, they can pass the
21+
# "--hostonly" option.
22+
hostonly=no

0 commit comments

Comments
 (0)