Commit 12a01f73 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

update-kernel: include dahdi and xtables-addons kernel modules

parent e8290993
......@@ -56,9 +56,15 @@ FLAVOR=$(uname -r | cut -d - -f 3-)
TMPDIR=$(mktemp -dt $SCRIPT.XXXXXX)
ROOT=$TMPDIR/root
apk add -qU -p $ROOT --initdb --no-scripts --arch $ARCH \
--keys-dir /etc/apk/keys --repositories-file /etc/apk/repositories \
alpine-base dahdi-linux linux-$FLAVOR linux-firmware
_apk() {
apk add -q -p $ROOT --no-scripts --arch $ARCH --keys-dir /etc/apk/keys \
--repositories-file /etc/apk/repositories $*
}
_apk -U --initdb alpine-base linux-$FLAVOR linux-firmware
_apk dahdi-linux dahdi-linux-$FLAVOR || :
_apk xtables-addons-$FLAVOR || :
KVER=$(ls $ROOT/lib/modules)
depmod -b $ROOT $KVER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment