From 7cd9486876dd6d316f871ac0ab75022cf2f401be Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Dec 2017 18:38:47 +0000 Subject: make sure perms are kept intact --- sys-kernel/linux-headers-lts/linux-headers-lts-4.14.8.ebuild | 6 ++---- sys-kernel/linux-image-lts/linux-image-lts-4.14.8.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys-kernel/linux-headers-lts/linux-headers-lts-4.14.8.ebuild b/sys-kernel/linux-headers-lts/linux-headers-lts-4.14.8.ebuild index 94aa558d..59ce3a81 100644 --- a/sys-kernel/linux-headers-lts/linux-headers-lts-4.14.8.ebuild +++ b/sys-kernel/linux-headers-lts/linux-headers-lts-4.14.8.ebuild @@ -17,7 +17,7 @@ LICENSE="GPL-2" SLOT="${PV}" IUSE="" -RESTRICT="binchecks strip mirror" +RESTRICT="strip mirror" DEPEND=" app-arch/xz-utils sys-devel/autoconf @@ -32,7 +32,6 @@ pkg_setup() { unset ARCH ; unset LDFLAGS #will interfere with Makefile if set } - src_prepare() { default epatch "${FILESDIR}"/config-disable-gcc-plugins.patch @@ -47,6 +46,5 @@ src_compile() { src_install() { dodir usr/src/linux-"${KV_FULL}" - insinto usr/src/linux-"${KV_FULL}" - doins -r "${S}"/* + cp -ax "${S}"/* "${D}"usr/src/linux-"${KV_FULL}" } diff --git a/sys-kernel/linux-image-lts/linux-image-lts-4.14.8.ebuild b/sys-kernel/linux-image-lts/linux-image-lts-4.14.8.ebuild index f7ac7881..d363abce 100644 --- a/sys-kernel/linux-image-lts/linux-image-lts-4.14.8.ebuild +++ b/sys-kernel/linux-image-lts/linux-image-lts-4.14.8.ebuild @@ -35,7 +35,6 @@ pkg_setup() { unset ARCH ; unset LDFLAGS #will interfere with Makefile if set } - src_prepare() { default epatch "${FILESDIR}"/config-disable-gcc-plugins.patch @@ -60,7 +59,8 @@ src_install() { insinto usr/src/linux-"${KV_FULL}" doins Module.symvers doins System.map - doins vmlinux + exeinto usr/src/linux-"${KV_FULL}" + doexe vmlinux emake INSTALL_MOD_PATH="${D}" modules_install -- cgit v1.2.3