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-) ...@@ -56,9 +56,15 @@ FLAVOR=$(uname -r | cut -d - -f 3-)
TMPDIR=$(mktemp -dt $SCRIPT.XXXXXX) TMPDIR=$(mktemp -dt $SCRIPT.XXXXXX)
ROOT=$TMPDIR/root ROOT=$TMPDIR/root
apk add -qU -p $ROOT --initdb --no-scripts --arch $ARCH \ _apk() {
--keys-dir /etc/apk/keys --repositories-file /etc/apk/repositories \ apk add -q -p $ROOT --no-scripts --arch $ARCH --keys-dir /etc/apk/keys \
alpine-base dahdi-linux linux-$FLAVOR linux-firmware --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) KVER=$(ls $ROOT/lib/modules)
depmod -b $ROOT $KVER 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