riscv: Install dkms by default on the LicheeRV board

So that people without network access can download the package and
install it using a usb drive for example.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
This commit is contained in:
Alexandre Ghiti 2022-10-12 14:14:29 +02:00
parent 79e36dd7df
commit 6838060860

View File

@ -1108,6 +1108,12 @@ case "$ARCH${SUBARCH:++$SUBARCH}" in
BINARY_REMOVE_LINUX=false
;;
riscv*+*)
if [ "${SUBARCH:-}" = "licheerv" ]; then
# The wifi driver of the licheerv is an out-of-tree driver packaged
# in universe for now, so to ease its installation for those without
# network, install its dependencies.
add_package install dkms
fi
# We'll add wpasupplicant to the seeds when we work on RISC-V seeds.
add_package install wpasupplicant
;;