summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-23 18:38:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-23 18:38:47 +0000
commit7cd9486876dd6d316f871ac0ab75022cf2f401be (patch)
tree9ebffd802019a85a526a9c72d9760516d12caf0f
parent0f2841d09be03280ee76df6f7bf0773d6a384088 (diff)
make sure perms are kept intact
-rw-r--r--sys-kernel/linux-headers-lts/linux-headers-lts-4.14.8.ebuild6
-rw-r--r--sys-kernel/linux-image-lts/linux-image-lts-4.14.8.ebuild4
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