sys-kernel/hardened-kernel: update ebuild

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
Alexander Miroshnichenko 2024-12-14 20:57:04 +03:00
parent badb2f51f5
commit add21432ab
Signed by: alex
GPG Key ID: E93720C6C73A77F4

View File

@ -88,6 +88,11 @@ src_prepare() {
# include linux-hardened patch with priority
cp ${DISTDIR}/linux-hardened-v${HARDENED_PATCH_VER}.patch ${WORKDIR}/1199_linux-hardened-${HARDENED_PATCH_VER}.patch
# copy pkg maintainer supplied patches
if [ -d "${FILESDIR}/${MY_P}" ]; then
cp "${FILESDIR}/${MY_P}"/*.patch ${WORKDIR}/
fi
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/*.patch