summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-16 22:23:52 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-16 22:23:52 +0100
commitf92beebe2a93c7bdda44e25ef955b8a609f9250b (patch)
tree68103db4511e9d5f2ec656fd1ffb180337fbeaca /packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
parent96d3ab8825b2a733f3c38ee6f56f5ba9cd257fb2 (diff)
sys-kernel/linux-image-redcore-lts : allow merging to /boot, remove double slash, fix kernel modules removal in pkg_postinst
Diffstat (limited to 'packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0')
-rw-r--r--packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-010
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 b/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
index bc6ed3c..fd98180 100644
--- a/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
+++ b/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
@@ -51,6 +51,8 @@ DEFAULT_SRC_PREPARE_PATCHES=(
WORK="${WORKBASE}"/linux-"${PV}"
pkg_setup() {
+ exdirectory --allow /boot
+
export KBUILD_BUILD_USER="nexus"
export KBUILD_BUILD_HOST="nexus.redcorelinux.org"
@@ -113,10 +115,10 @@ src_install() {
edo emake \
"${src_install_params[@]}" \
- INSTALL_MOD_PATH="${IMAGE}"/usr/"$(exhost --target)" modules_install
+ INSTALL_MOD_PATH="${IMAGE}"usr/"$(exhost --target)" modules_install
- edo rm -f "${IMAGE}"/usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/build
- edo rm -f "${IMAGE}"/usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/source
+ edo rm -f "${IMAGE}"usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/build
+ edo rm -f "${IMAGE}"usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/source
export local KSYMS
for KSYMS in build source ; do
dosym ../../../../../usr/src/linux-"${KV_FULL}" usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/"${KSYMS}"
@@ -149,7 +151,7 @@ _dkms_modules_delete() {
}
_kernel_modules_delete() {
- edo rm -rf "${ROOT}"lib/modules/"${KV_FULL}"
+ edo rm -rf "${ROOT}"usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"
}
pkg_postinst() {