From add21432ab8e7f5e03a273d89c4b4348bf810f84 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Sat, 14 Dec 2024 20:57:04 +0300 Subject: [PATCH] sys-kernel/hardened-kernel: update ebuild Signed-off-by: Alexander Miroshnichenko --- sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild b/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild index 6c468cb..76c802f 100644 --- a/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild +++ b/sys-kernel/hardened-kernel/hardened-kernel-6.12.4.ebuild @@ -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