From ff32df7ac9f1260afd27130263391ffdf0bf1751 Mon Sep 17 00:00:00 2001 From: Nick Wiltshire Date: Wed, 11 Nov 2020 21:55:00 -0700 Subject: [PATCH] add dracut --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 811dc58..36ad9d7 100755 --- a/build.sh +++ b/build.sh @@ -17,6 +17,7 @@ cd - cd /usr/src/linux; make KCFLAGS="-march=native" -j "$(nproc)" olddefconfig all +dracut --host-only --no-kernel (mountpoint -q /boot || mount /boot) && make install modules_install && grub-mkconfig -o /boot/grub/grub.cfg emerge -avtq @{x11-,}module-rebuild