improve monolithic kernel handling

This commit is contained in:
illiliti 2020-02-28 19:00:58 +03:00
parent 66ebac3f6b
commit a5b5814abd

View File

@ -443,18 +443,27 @@ create_workdir
create_structure create_structure
create_symlinks create_symlinks
install_requirements install_requirements
install_devmgr
install_files
if [ -d "$moddir" ] && [ "$hostonly" = 1 ]; then [ "$lvm" = 1 ] && install_lvm
[ "$luks" = 1 ] && install_luks
# check if moddir exists
if [ -d "$moddir" ]; then
# check hostonly mode
if [ "$hostonly" = 1 ]; then
install_hostonly_drivers install_hostonly_drivers
elif [ -d "$moddir" ]; then else
install_all_drivers install_all_drivers
fi fi
generate_depmod generate_depmod
install_devmgr else
[ "$lvm" = 1 ] && install_lvm msg warn "looks like you have monolithic kernel"
[ "$luks" = 1 ] && install_luks fi
install_files
create_initramfs create_initramfs
msg info "done! check out $initramfs" msg info "done! check out $initramfs"