net-vpn/amneziawg-linux-kernel-module: update ebuild qa

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
Alexander Miroshnichenko 2025-10-11 22:33:46 +03:00
parent 4b50bbbe7e
commit 1eeb937874

View File

@ -64,7 +64,8 @@ src_prepare() {
die "Kernel sources not found, but required for building."
fi
sed -i "s@^KERNELRELEASE ?= .*@KERNELRELEASE ?= ${KV_FULL}@" src/Makefile || die "Fail to set desired kernel verion in the Makefile"
sed -i "s@^KERNELRELEASE ?= .*@KERNELRELEASE ?= ${KV_FULL}@" src/Makefile || die \
"Fail to set desired kernel verion in the Makefile"
ln -s ${KERNEL_SOURCES_DIR} src/kernel || die "Creation link to kernel sources directory fail"
emake -C "${S}/src" apply-patches || die "Fail to apply amnezia patches over wireguard"
fi