From c5ce3f860e25ea73f2d5e9435cf3db73f808e6bf Mon Sep 17 00:00:00 2001 From: blshkv Date: Wed, 13 Feb 2019 11:37:48 +0800 Subject: [PATCH] tyton: change kernel target to upgrade easier --- app-antivirus/tyton/tyton-1.2_p20190213.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-antivirus/tyton/tyton-1.2_p20190213.ebuild b/app-antivirus/tyton/tyton-1.2_p20190213.ebuild index 93b4bb009..9de6d8b89 100644 --- a/app-antivirus/tyton/tyton-1.2_p20190213.ebuild +++ b/app-antivirus/tyton/tyton-1.2_p20190213.ebuild @@ -21,7 +21,13 @@ S="${WORKDIR}/${PN}-${HASH_COMMIT}" MODULE_NAMES="tyton(misc:${S}:${S})" CONFIG_CHECK="NETFILTER_FAMILY_ARP" -BUILD_PARAMS="-j1" +#BUILD_PARAMS="-j1" + +src_prepare() { + #change target from a current to selected kernel + sed -i "s#/lib/modules/\$(shell uname -r)#/lib/modules/${KV_FULL}#" Makefile + default +} pkg_setup() { linux-mod_pkg_setup