diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 13:13:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 13:13:59 +0100 |
commit | 0cb3e294a5215d5a57c241e51b72ebbcd766e2d0 (patch) | |
tree | e135f9bf54f8c194ab367ffee22f59ed8918f925 /sys-kernel/linux-image-redcore | |
parent | 1094506894397af7d1add33baa98bc6623dff0b4 (diff) |
sys-kernel/linux-{image,sources}-redcore{,-lts} : revision bump, EAPI 8 fixes
Diffstat (limited to 'sys-kernel/linux-image-redcore')
-rw-r--r-- | sys-kernel/linux-image-redcore/linux-image-redcore-6.8.12-r1.ebuild (renamed from sys-kernel/linux-image-redcore/linux-image-redcore-6.8.12.ebuild) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys-kernel/linux-image-redcore/linux-image-redcore-6.8.12.ebuild b/sys-kernel/linux-image-redcore/linux-image-redcore-6.8.12-r1.ebuild index effdf18e..5f194080 100644 --- a/sys-kernel/linux-image-redcore/linux-image-redcore-6.8.12.ebuild +++ b/sys-kernel/linux-image-redcore/linux-image-redcore-6.8.12-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -EXTRAVERSION="redcore" +EXTRAVERSION="redcore-r1" KV_FULL="${PV}-${EXTRAVERSION}" KV_MAJOR="6.8" @@ -80,8 +80,8 @@ src_install() { emake INSTALL_MOD_PATH="${D}" modules_install - rm -f "${D}"lib/modules/"${KV_FULL}"/build - rm -f "${D}"lib/modules/"${KV_FULL}"/source + rm -f "${D}"/lib/modules/"${KV_FULL}"/build + rm -f "${D}"/lib/modules/"${KV_FULL}"/source export local KSYMS for KSYMS in build source ; do dosym ../../../usr/src/linux-"${KV_FULL}" lib/modules/"${KV_FULL}"/"${KSYMS}" @@ -91,7 +91,7 @@ src_install() { _grub2_update_grubcfg() { if [[ -x $(which grub2-mkconfig) ]]; then elog "Updating GRUB-2 bootloader configuration, please wait" - grub2-mkconfig -o "${ROOT}"boot/grub/grub.cfg + grub2-mkconfig -o "${ROOT}"/boot/grub/grub.cfg else elog "It looks like you're not using GRUB-2, you must update bootloader configuration by hand" fi @@ -101,14 +101,14 @@ _dracut_initrd_create() { if [[ -x $(which dracut) ]]; then elog "Generating initrd for "${KV_FULL}", please wait" addpredict /etc/ld.so.cache~ - dracut -N -f --kver="${KV_FULL}" "${ROOT}"boot/initrd-"${KV_FULL}" + dracut -N -f --kver="${KV_FULL}" "${ROOT}"/boot/initrd-"${KV_FULL}" else elog "It looks like you're not using dracut, you must generate an initrd by hand" fi } _dracut_initrd_delete() { - rm -rf "${ROOT}"boot/initrd-"${KV_FULL}" + rm -rf "${ROOT}"/boot/initrd-"${KV_FULL}" } _dkms_modules_manage() { @@ -122,7 +122,7 @@ _dkms_modules_manage() { } _kernel_modules_delete() { - rm -rf "${ROOT}"lib/modules/"${KV_FULL}" + rm -rf "${ROOT}"/lib/modules/"${KV_FULL}" } pkg_postinst() { |