diff --git a/srcpkgs/linux6.7/template b/srcpkgs/linux6.7/template index 0e9800fdaed..b49cb06112d 100644 --- a/srcpkgs/linux6.7/template +++ b/srcpkgs/linux6.7/template @@ -27,7 +27,7 @@ noshlibprovides=yes preserve=yes hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel - openssl-devel perl uboot-mkimage cpio pahole python3 zstd" + pkg-config openssl-devel perl uboot-mkimage cpio pahole python3 zstd" _kernver="${version}_${revision}" triggers="kernel-hooks" @@ -211,6 +211,9 @@ do_install() { mkdir -p ${hdrdest}/arch/${arch} cp -a arch/${arch}/include ${hdrdest}/arch/${arch} + # needed for mv-debug + cp scripts/sign-file "${XBPS_WRAPPERDIR}" + # Remove helper binaries built for host, # if generated files from the scripts/ directory need to be included, # they need to be copied to ${hdrdest} before this step @@ -314,7 +317,7 @@ do_install() { ( cd ${DESTDIR} export DESTDIR - export SIGN_FILE="${wrksrc}/scripts/sign-file sha512 ${wrksrc}/certs/signing_key.pem ${wrksrc}/certs/signing_key.x509" + export SIGN_FILE="${XBPS_WRAPPERDIR}/sign-file sha512 ${wrksrc}/certs/signing_key.pem ${wrksrc}/certs/signing_key.x509" find ./ -name '*.ko' -print0 | \ xargs -0r -n1 -P ${XBPS_MAKEJOBS} ${FILESDIR}/mv-debug )