From: fsLeg Date: Sat, 12 Jul 2025 11:23:31 +0000 (+0300) Subject: amneziawg-kernel: fixed building for non-running kernels X-Git-Url: https://git.t-rg.ws/?a=commitdiff_plain;h=b87bb66d76b640773e2fd423337bdbae78738ef9;p=slackbuilds.git amneziawg-kernel: fixed building for non-running kernels --- diff --git a/amneziawg-kernel/amneziawg-kernel.SlackBuild b/amneziawg-kernel/amneziawg-kernel.SlackBuild index 828885f..0691c84 100644 --- a/amneziawg-kernel/amneziawg-kernel.SlackBuild +++ b/amneziawg-kernel/amneziawg-kernel.SlackBuild @@ -47,7 +47,7 @@ fi # the name of the created package would be, and then exit. This information # could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi @@ -88,6 +88,7 @@ ln -s $(readlink -f $KERNELSRCDIR) kernel CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +KERNELRELEASE=$KERNEL \ make install -Dm644 -t $PKG/lib/modules/$KERNEL/extra amneziawg.ko cd ..