diff options
-rw-r--r-- | packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 | 10 |
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() { |