diff options
author | dd <dd@wx.tnyzeq.icu> | 2024-09-25 21:00:11 +0200 |
---|---|---|
committer | dd <dd@wx.tnyzeq.icu> | 2024-09-25 21:00:11 +0200 |
commit | 1d7e6c42cb92dfbf57e9504f1648867b2264bc9c (patch) | |
tree | 52f784802a4f799f68e777435db09e23107354c3 /packages/linux-kernel/build-accel-ppp.sh | |
parent | 989ba3c04929db4754a6e042ba9614236607e78e (diff) | |
parent | eff99f5eda19d5ddf324eb01abcc68577d942e62 (diff) | |
download | vyos-build-1d7e6c42cb92dfbf57e9504f1648867b2264bc9c.tar.gz vyos-build-1d7e6c42cb92dfbf57e9504f1648867b2264bc9c.zip |
Merge branch 'vyos:current' into current
Diffstat (limited to 'packages/linux-kernel/build-accel-ppp.sh')
-rwxr-xr-x | packages/linux-kernel/build-accel-ppp.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-accel-ppp.sh b/packages/linux-kernel/build-accel-ppp.sh index 1685ff8d..a2f8df52 100755 --- a/packages/linux-kernel/build-accel-ppp.sh +++ b/packages/linux-kernel/build-accel-ppp.sh @@ -13,6 +13,10 @@ if [ ! -f ${KERNEL_VAR_FILE} ]; then exit 1 fi +cd ${ACCEL_SRC} +git reset --hard HEAD +git clean --force -d -x + PATCH_DIR=${CWD}/patches/accel-ppp if [ -d $PATCH_DIR ]; then cd ${ACCEL_SRC} @@ -36,6 +40,10 @@ cmake -DBUILD_IPOE_DRIVER=TRUE \ -DMODULES_KDIR=${KERNEL_VERSION}${KERNEL_SUFFIX} \ -DCPACK_TYPE=Debian12 .. make + +# Sign generated Kernel modules +${CWD}/sign-modules.sh . + cpack -G DEB # rename resulting Debian package according git description |