martinezjavier / grub2-emu

newboot stuff
0 stars 0 forks source link

remove most modules? #1

Open aruiz opened 4 years ago

aruiz commented 4 years ago

I have been thinking along the lines of starting from a dracut config like this:

dracutmodules+=" "
show_modules="yes"
reproducible="yes"
do_strip="yes"
compress="xz"
nofsck="yes"
add_drivers="=drivers/virtio =drivers/hid =drivers/input/keyboard =drivers/net/ethernet =drivers/nvme =drivers/scsi =drivers/thunderbolt =drivers/usb"
install_items+="/usr/bin/grub2-emu"
early_microcode="no"
kernel_cmdline="init=/usr/bin/grub2-emu"

Adding systemd bloats the size of the userland to the sky... maybe there is a way to trim it?

I guess the problem here then is the whole storage story, can we support lvm without systemd reliably?

aruiz commented 4 years ago

I think we need to work on mapping to kernel modules the following things: