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-lts | |
parent | 1094506894397af7d1add33baa98bc6623dff0b4 (diff) |
sys-kernel/linux-{image,sources}-redcore{,-lts} : revision bump, EAPI 8 fixes
Diffstat (limited to 'sys-kernel/linux-image-redcore-lts')
-rw-r--r-- | sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.162-r1.ebuild (renamed from sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.162.ebuild) | 14 | ||||
-rw-r--r-- | sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.97-r1.ebuild (renamed from sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.97.ebuild) | 14 | ||||
-rw-r--r-- | sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.37-r1.ebuild (renamed from sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.37.ebuild) | 14 |
3 files changed, 21 insertions, 21 deletions
diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.162.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.162-r1.ebuild index abe1aae7..0f0c27ef 100644 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.162.ebuild +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.162-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -EXTRAVERSION="redcore-lts" +EXTRAVERSION="redcore-lts-r1" KV_FULL="${PV}-${EXTRAVERSION}" KV_MAJOR="5.15" @@ -88,8 +88,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}" @@ -99,7 +99,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 @@ -109,14 +109,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() { @@ -130,7 +130,7 @@ _dkms_modules_manage() { } _kernel_modules_delete() { - rm -rf "${ROOT}"lib/modules/"${KV_FULL}" + rm -rf "${ROOT}"/lib/modules/"${KV_FULL}" } pkg_postinst() { diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.97.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.97-r1.ebuild index 08063b79..9b90498a 100644 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.97.ebuild +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.97-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -EXTRAVERSION="redcore-lts" +EXTRAVERSION="redcore-lts-r1" KV_FULL="${PV}-${EXTRAVERSION}" KV_MAJOR="6.1" @@ -82,8 +82,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}" @@ -93,7 +93,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 @@ -103,14 +103,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() { @@ -124,7 +124,7 @@ _dkms_modules_manage() { } _kernel_modules_delete() { - rm -rf "${ROOT}"lib/modules/"${KV_FULL}" + rm -rf "${ROOT}"/lib/modules/"${KV_FULL}" } pkg_postinst() { diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.37.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.37-r1.ebuild index 416daff8..d631ba81 100644 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.37.ebuild +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.37-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -EXTRAVERSION="redcore-lts" +EXTRAVERSION="redcore-lts-r1" KV_FULL="${PV}-${EXTRAVERSION}" KV_MAJOR="6.6" @@ -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() { |