initial monolithic kernel support

This commit is contained in:
illiliti 2020-02-16 04:32:13 +03:00
parent c1d0a08ccc
commit 7bfb117bd9

View File

@ -177,6 +177,9 @@ install_luks() {
# install drivers and deps
install_driver() {
# check monolithic kernel(builtin drivers)
[ -d "${moddir}/${kernel}" ] || return 0
printf "%s\n" "$@" | while read -r driver; do
# strip path and extension
driver="${driver##*/}"
@ -186,9 +189,6 @@ install_driver() {
install -Dm644 "$driver_dep" "${wrkdir}${driver_dep}"
done
done
# TODO implement monolithic kernel support
[ -e "${wrkdir}/lib/modules" ] || msg panic "failed to install drivers"
}
# install hostonly drivers