add dracut
This commit is contained in:
parent
ed1d8758e9
commit
ff32df7ac9
1
build.sh
1
build.sh
@ -17,6 +17,7 @@ cd -
|
|||||||
cd /usr/src/linux;
|
cd /usr/src/linux;
|
||||||
make KCFLAGS="-march=native" -j "$(nproc)" olddefconfig all
|
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
|
(mountpoint -q /boot || mount /boot) && make install modules_install && grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
emerge -avtq @{x11-,}module-rebuild
|
emerge -avtq @{x11-,}module-rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user