monolithic kernel not implemented yet

This commit is contained in:
illiliti 2020-02-11 22:32:25 +03:00
parent f780b7abbe
commit b99aae7474

View File

@ -231,6 +231,9 @@ install_drivers() {
install -Dm644 "$driver_dep" "${tmpdir}${driver_dep}" install -Dm644 "$driver_dep" "${tmpdir}${driver_dep}"
done done
done done
# TODO implement monolithic kernel support
[ -e "${tmpdir}/lib/modules" ] || msg panic "failed to install drivers"
} }
# install hostonly drivers # install hostonly drivers
@ -267,6 +270,9 @@ install_all_drivers() {
"${modker}/kernel/drivers/usb/host" \ "${modker}/kernel/drivers/usb/host" \
"${modker}/kernel/drivers/virtio" \ "${modker}/kernel/drivers/virtio" \
-type f | cpio -pd "$tmpdir" > /dev/null 2>&1 -type f | cpio -pd "$tmpdir" > /dev/null 2>&1
# TODO implement monolithic kernel support
[ -e "${tmpdir}/lib/modules" ] || msg panic "failed to install drivers"
} }
# generate "modules" files # generate "modules" files