From b6dfcdf1c0eeee140dabf0aedd2d5237429ddfe6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 13 Sep 2023 21:25:26 +0100 Subject: sys-kernel/linux-{image,sources}-redcore-lts : version bump --- .../sys-kernel/linux-image-redcore-lts-6.1.52 | 15 -- .../sys-kernel/linux-image-redcore-lts-6.1.53 | 15 ++ .../sys-kernel/linux-sources-redcore-lts-6.1.52 | 14 -- .../sys-kernel/linux-sources-redcore-lts-6.1.53 | 14 ++ metadata/pkg_desc_index | 4 +- sys-kernel/linux-image-redcore-lts/Manifest | 2 +- .../linux-image-redcore-lts-6.1.52.ebuild | 152 --------------------- .../linux-image-redcore-lts-6.1.53.ebuild | 152 +++++++++++++++++++++ sys-kernel/linux-sources-redcore-lts/Manifest | 2 +- .../linux-sources-redcore-lts-6.1.52.ebuild | 76 ----------- .../linux-sources-redcore-lts-6.1.53.ebuild | 76 +++++++++++ 11 files changed, 261 insertions(+), 261 deletions(-) delete mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.52 create mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.53 delete mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.52 create mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.53 delete mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.52.ebuild create mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.53.ebuild delete mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.52.ebuild create mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.53.ebuild diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.52 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.52 deleted file mode 100644 index 6aa2d003..00000000 --- a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.52 +++ /dev/null @@ -1,15 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make cryptsetup? ( sys-fs/cryptsetup ) dmraid? ( sys-fs/dmraid ) dracut? ( >=sys-kernel/dracut-0.44-r8 ) dkms? ( sys-kernel/dkms sys-kernel/linux-sources-redcore-lts:6.1 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 -DESCRIPTION=Redcore Linux LTS Kernel Image -EAPI=6 -HOMEPAGE=https://redcorelinux.org -INHERIT=eutils -IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make cryptsetup? ( sys-fs/cryptsetup ) dmraid? ( sys-fs/dmraid ) dracut? ( >=sys-kernel/dracut-0.44-r8 ) dkms? ( sys-kernel/dkms sys-kernel/linux-sources-redcore-lts:6.1 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 -RESTRICT=binchecks strip mirror -SLOT=6.1 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.52.tar.xz -_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 2b02655f061dfa25067b543539110259 eqawarn c9847c43b3253a276ae2eabddedab3d7 estack c61c368a76fdf3a82fdf8dbaebea3804 eutils d318efeb438bbec051fa5aaf28d0d42c ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib c19072c3cd7ac5cb21de013f7e9832e0 preserve-libs 21162ec96c87041004a75348d97342dd strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 862d337d98edb576796827be2c6b11ca vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c -_md5_=d8e93f430e34f7786706c8df9be9a1a8 diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.53 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.53 new file mode 100644 index 00000000..0078d0fe --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.53 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile install postinst postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make cryptsetup? ( sys-fs/cryptsetup ) dmraid? ( sys-fs/dmraid ) dracut? ( >=sys-kernel/dracut-0.44-r8 ) dkms? ( sys-kernel/dkms sys-kernel/linux-sources-redcore-lts:6.1 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 +DESCRIPTION=Redcore Linux LTS Kernel Image +EAPI=6 +HOMEPAGE=https://redcorelinux.org +INHERIT=eutils +IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make cryptsetup? ( sys-fs/cryptsetup ) dmraid? ( sys-fs/dmraid ) dracut? ( >=sys-kernel/dracut-0.44-r8 ) dkms? ( sys-kernel/dkms sys-kernel/linux-sources-redcore-lts:6.1 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 +RESTRICT=binchecks strip mirror +SLOT=6.1 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.53.tar.xz +_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 2b02655f061dfa25067b543539110259 eqawarn c9847c43b3253a276ae2eabddedab3d7 estack c61c368a76fdf3a82fdf8dbaebea3804 eutils d318efeb438bbec051fa5aaf28d0d42c ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib c19072c3cd7ac5cb21de013f7e9832e0 preserve-libs 21162ec96c87041004a75348d97342dd strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 862d337d98edb576796827be2c6b11ca vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c +_md5_=d8e93f430e34f7786706c8df9be9a1a8 diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.52 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.52 deleted file mode 100644 index 256befb3..00000000 --- a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.52 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile install postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make -DESCRIPTION=Redcore Linux LTS Kernel Sources -EAPI=6 -HOMEPAGE=https://redcorelinux.org -INHERIT=eutils -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make -RESTRICT=strip mirror -SLOT=6.1 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.52.tar.xz -_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 2b02655f061dfa25067b543539110259 eqawarn c9847c43b3253a276ae2eabddedab3d7 estack c61c368a76fdf3a82fdf8dbaebea3804 eutils d318efeb438bbec051fa5aaf28d0d42c ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib c19072c3cd7ac5cb21de013f7e9832e0 preserve-libs 21162ec96c87041004a75348d97342dd strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 862d337d98edb576796827be2c6b11ca vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c -_md5_=b1c818e7b3010d130b5e3b186f38bc60 diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.53 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.53 new file mode 100644 index 00000000..1dc549b4 --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.53 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile install postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make +DESCRIPTION=Redcore Linux LTS Kernel Sources +EAPI=6 +HOMEPAGE=https://redcorelinux.org +INHERIT=eutils +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils sys-devel/autoconf sys-devel/bc sys-devel/make +RESTRICT=strip mirror +SLOT=6.1 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.53.tar.xz +_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 2b02655f061dfa25067b543539110259 eqawarn c9847c43b3253a276ae2eabddedab3d7 estack c61c368a76fdf3a82fdf8dbaebea3804 eutils d318efeb438bbec051fa5aaf28d0d42c ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib c19072c3cd7ac5cb21de013f7e9832e0 preserve-libs 21162ec96c87041004a75348d97342dd strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 862d337d98edb576796827be2c6b11ca vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c +_md5_=b1c818e7b3010d130b5e3b186f38bc60 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 234c07c7..8abcf24e 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -58,9 +58,9 @@ sys-kernel/bcmwl-dkms 6.30.223.271-r5: Broadcom's IEEE 802.11a/b/g/n hybrid Linu sys-kernel/dkms 2.3-r3: Dynamic Kernel Module Support sys-kernel/dracut 056-r10: Generic initramfs generation tool sys-kernel/linux-image-redcore 6.4.15: Redcore Linux Kernel Image -sys-kernel/linux-image-redcore-lts 5.10.194 5.15.131 6.1.52: Redcore Linux LTS Kernel Image +sys-kernel/linux-image-redcore-lts 5.10.194 5.15.131 6.1.53: Redcore Linux LTS Kernel Image sys-kernel/linux-sources-redcore 6.4.15: Redcore Linux Kernel Sources -sys-kernel/linux-sources-redcore-lts 5.10.194 5.15.131 6.1.52: Redcore Linux LTS Kernel Sources +sys-kernel/linux-sources-redcore-lts 5.10.194 5.15.131 6.1.53: Redcore Linux LTS Kernel Sources sys-kernel/nvidia-drivers-dkms 390.157-r5 470.199.02-r2 525.125.06-r1 535.86.05: NVIDIA driver sources for linux sys-kernel/vhba-dkms 20211218-r4: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources sys-kernel/virtualbox-modules-dkms 7.0.10-r1: Kernel Modules source for Virtualbox diff --git a/sys-kernel/linux-image-redcore-lts/Manifest b/sys-kernel/linux-image-redcore-lts/Manifest index 691833bf..e25f6fb3 100644 --- a/sys-kernel/linux-image-redcore-lts/Manifest +++ b/sys-kernel/linux-image-redcore-lts/Manifest @@ -1,3 +1,3 @@ DIST linux-5.10.194.tar.xz 120606540 BLAKE2B 5b9d66b6da806b995dedc9fe96c53104574b4fe70a2681975abceb1a6bf23b9b7dd5a5ed9fc125877b362ea06ae593691b92a4a4369982647c2662221ddfd244 SHA512 cb3f9de70c61d98287d766bd03e4055bad86aaad39dccc628da12bf461831fa9a4daa817689fdfa5d326a7fdcf584fef3b9ccc6ef875349cfbbcfff53cb855bd DIST linux-5.15.131.tar.xz 126541144 BLAKE2B 39b694232a1773b9a755b2811e7aa01d6bf30cbc2132e9c7ed16e8f5ed5ff83c0724bca09dbd459b1393dfb49e1b09844f93885d37e577efc961e5657df80787 SHA512 db043eb583568f6eef2adc2b9f48012728b6a91ac8ac6d38a3eeed3c710043a222dbbca2c3f40eab93f6b27f5715c1139fa0aa23ac431809b15cfb925706bbd4 -DIST linux-6.1.52.tar.xz 134984832 BLAKE2B 1846d76626ed122323f0ad54b71cd94165beba4f6122af681ca4c44a8a31bf3a4e8522bc5e2c410c33236477b9f610a577d991e01245628183142a5d8ec8770d SHA512 41150440b32e89912573bd1d567eff483d901ce4fdf77adda022ae5523c90a5379d1835c1baf3b1ec53d46645e9e5dd803f694dfd4b703a5b460d11207ad198a +DIST linux-6.1.53.tar.xz 135006964 BLAKE2B c5c082fa08e331ae968e27f6a0aed41f7793ea38c3a32311e4f9b7dda3cf1ce74dfd7f3e4c783f0dd4269b543eddd53e086e523d324da5e7a996aa4d8e6701ea SHA512 270f8e9102740edda3510aa5e8da5943f9831a87d6e9f0f6aa590a5a2fab09b1a91b54413ce936dc3695bea8bfdd8df0721bd9c5fb834b9c7a95653401b2652a diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.52.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.52.ebuild deleted file mode 100644 index 9f32100f..00000000 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.52.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" -KV_MAJOR="6.1" - -DESCRIPTION="Redcore Linux LTS Kernel Image" -HOMEPAGE="https://redcorelinux.org" -SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${PV}.tar.xz" - -KEYWORDS="~amd64" -LICENSE="GPL-2" -SLOT="${KV_MAJOR}" -IUSE="+cryptsetup +dmraid +dracut +dkms +mdadm" - -RESTRICT="binchecks strip mirror" -DEPEND=" - app-arch/lz4 - app-arch/xz-utils - sys-devel/autoconf - sys-devel/bc - sys-devel/make - cryptsetup? ( sys-fs/cryptsetup ) - dmraid? ( sys-fs/dmraid ) - dracut? ( >=sys-kernel/dracut-0.44-r8 ) - dkms? ( sys-kernel/dkms sys-kernel/linux-sources-redcore-lts:${SLOT} ) - mdadm? ( sys-fs/mdadm ) - >=sys-kernel/linux-firmware-20180314" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch - "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch - "${FILESDIR}"/"${KV_MAJOR}"-do_not_bug_the_next_18-years.patch - "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch - "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch - "${FILESDIR}"/"${KV_MAJOR}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch - "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.patch - "${FILESDIR}"/"${KV_MAJOR}"-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch -) - -S="${WORKDIR}"/linux-"${PV}" - -pkg_setup() { - export KBUILD_BUILD_USER="nexus" - export KBUILD_BUILD_HOST="nexus.redcorelinux.org" - - export REAL_ARCH="$ARCH" - unset ARCH ; unset LDFLAGS #will interfere with Makefile if set -} - -src_prepare() { - default - emake mrproper - sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile - cp "${FILESDIR}"/"${KV_MAJOR}"-amd64.config .config - rm -rf $(find . -type f|grep -F \.orig) -} - -src_compile() { - emake prepare modules_prepare bzImage modules -} - -src_install() { - dodir boot - insinto boot - newins .config config-"${KV_FULL}" - newins System.map System.map-"${KV_FULL}" - newins arch/x86/boot/bzImage vmlinuz-"${KV_FULL}" - - dodir usr/src/linux-"${KV_FULL}" - insinto usr/src/linux-"${KV_FULL}" - doins Module.symvers - doins System.map - exeinto usr/src/linux-"${KV_FULL}" - doexe vmlinux - - emake INSTALL_MOD_PATH="${D}" modules_install - - 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}" - done -} - -_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 - else - elog "It looks like you're not using GRUB-2, you must update bootloader configuration by hand" - fi -} - -_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}" - 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}" -} - -_dkms_modules_manage() { - if [[ -x $(which dkms) ]] ; then - export local DKMSMOD - for DKMSMOD in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g' | uniq) ; do - dkms remove "${DKMSMOD}" -k "${KV_FULL}" - dkms add "${DKMSMOD}" > /dev/null 2>&1 - done - fi -} - -_kernel_modules_delete() { - rm -rf "${ROOT}"lib/modules/"${KV_FULL}" -} - -pkg_postinst() { - if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then - if use dracut; then - _dracut_initrd_create - fi - _grub2_update_grubcfg - fi -} - -pkg_postrm() { - if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then - if use dracut; then - _dracut_initrd_delete - fi - _grub2_update_grubcfg - fi - if use dkms; then - _dkms_modules_manage - fi - _kernel_modules_delete -} diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.53.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.53.ebuild new file mode 100644 index 00000000..9f32100f --- /dev/null +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.53.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" +KV_MAJOR="6.1" + +DESCRIPTION="Redcore Linux LTS Kernel Image" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${PV}.tar.xz" + +KEYWORDS="~amd64" +LICENSE="GPL-2" +SLOT="${KV_MAJOR}" +IUSE="+cryptsetup +dmraid +dracut +dkms +mdadm" + +RESTRICT="binchecks strip mirror" +DEPEND=" + app-arch/lz4 + app-arch/xz-utils + sys-devel/autoconf + sys-devel/bc + sys-devel/make + cryptsetup? ( sys-fs/cryptsetup ) + dmraid? ( sys-fs/dmraid ) + dracut? ( >=sys-kernel/dracut-0.44-r8 ) + dkms? ( sys-kernel/dkms sys-kernel/linux-sources-redcore-lts:${SLOT} ) + mdadm? ( sys-fs/mdadm ) + >=sys-kernel/linux-firmware-20180314" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch + "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch + "${FILESDIR}"/"${KV_MAJOR}"-do_not_bug_the_next_18-years.patch + "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch + "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch + "${FILESDIR}"/"${KV_MAJOR}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch + "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.patch + "${FILESDIR}"/"${KV_MAJOR}"-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch +) + +S="${WORKDIR}"/linux-"${PV}" + +pkg_setup() { + export KBUILD_BUILD_USER="nexus" + export KBUILD_BUILD_HOST="nexus.redcorelinux.org" + + export REAL_ARCH="$ARCH" + unset ARCH ; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + default + emake mrproper + sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile + cp "${FILESDIR}"/"${KV_MAJOR}"-amd64.config .config + rm -rf $(find . -type f|grep -F \.orig) +} + +src_compile() { + emake prepare modules_prepare bzImage modules +} + +src_install() { + dodir boot + insinto boot + newins .config config-"${KV_FULL}" + newins System.map System.map-"${KV_FULL}" + newins arch/x86/boot/bzImage vmlinuz-"${KV_FULL}" + + dodir usr/src/linux-"${KV_FULL}" + insinto usr/src/linux-"${KV_FULL}" + doins Module.symvers + doins System.map + exeinto usr/src/linux-"${KV_FULL}" + doexe vmlinux + + emake INSTALL_MOD_PATH="${D}" modules_install + + 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}" + done +} + +_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 + else + elog "It looks like you're not using GRUB-2, you must update bootloader configuration by hand" + fi +} + +_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}" + 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}" +} + +_dkms_modules_manage() { + if [[ -x $(which dkms) ]] ; then + export local DKMSMOD + for DKMSMOD in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g' | uniq) ; do + dkms remove "${DKMSMOD}" -k "${KV_FULL}" + dkms add "${DKMSMOD}" > /dev/null 2>&1 + done + fi +} + +_kernel_modules_delete() { + rm -rf "${ROOT}"lib/modules/"${KV_FULL}" +} + +pkg_postinst() { + if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then + if use dracut; then + _dracut_initrd_create + fi + _grub2_update_grubcfg + fi +} + +pkg_postrm() { + if [ $(stat -c %d:%i /) == $(stat -c %d:%i /proc/1/root/.) ]; then + if use dracut; then + _dracut_initrd_delete + fi + _grub2_update_grubcfg + fi + if use dkms; then + _dkms_modules_manage + fi + _kernel_modules_delete +} diff --git a/sys-kernel/linux-sources-redcore-lts/Manifest b/sys-kernel/linux-sources-redcore-lts/Manifest index 691833bf..e25f6fb3 100644 --- a/sys-kernel/linux-sources-redcore-lts/Manifest +++ b/sys-kernel/linux-sources-redcore-lts/Manifest @@ -1,3 +1,3 @@ DIST linux-5.10.194.tar.xz 120606540 BLAKE2B 5b9d66b6da806b995dedc9fe96c53104574b4fe70a2681975abceb1a6bf23b9b7dd5a5ed9fc125877b362ea06ae593691b92a4a4369982647c2662221ddfd244 SHA512 cb3f9de70c61d98287d766bd03e4055bad86aaad39dccc628da12bf461831fa9a4daa817689fdfa5d326a7fdcf584fef3b9ccc6ef875349cfbbcfff53cb855bd DIST linux-5.15.131.tar.xz 126541144 BLAKE2B 39b694232a1773b9a755b2811e7aa01d6bf30cbc2132e9c7ed16e8f5ed5ff83c0724bca09dbd459b1393dfb49e1b09844f93885d37e577efc961e5657df80787 SHA512 db043eb583568f6eef2adc2b9f48012728b6a91ac8ac6d38a3eeed3c710043a222dbbca2c3f40eab93f6b27f5715c1139fa0aa23ac431809b15cfb925706bbd4 -DIST linux-6.1.52.tar.xz 134984832 BLAKE2B 1846d76626ed122323f0ad54b71cd94165beba4f6122af681ca4c44a8a31bf3a4e8522bc5e2c410c33236477b9f610a577d991e01245628183142a5d8ec8770d SHA512 41150440b32e89912573bd1d567eff483d901ce4fdf77adda022ae5523c90a5379d1835c1baf3b1ec53d46645e9e5dd803f694dfd4b703a5b460d11207ad198a +DIST linux-6.1.53.tar.xz 135006964 BLAKE2B c5c082fa08e331ae968e27f6a0aed41f7793ea38c3a32311e4f9b7dda3cf1ce74dfd7f3e4c783f0dd4269b543eddd53e086e523d324da5e7a996aa4d8e6701ea SHA512 270f8e9102740edda3510aa5e8da5943f9831a87d6e9f0f6aa590a5a2fab09b1a91b54413ce936dc3695bea8bfdd8df0721bd9c5fb834b9c7a95653401b2652a diff --git a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.52.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.52.ebuild deleted file mode 100644 index d47dc927..00000000 --- a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.52.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" -KV_MAJOR="6.1" - -DESCRIPTION="Redcore Linux LTS Kernel Sources" -HOMEPAGE="https://redcorelinux.org" -SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${PV}.tar.xz" - -KEYWORDS="~amd64" -LICENSE="GPL-2" -SLOT="${KV_MAJOR}" -IUSE="" - -RESTRICT="strip mirror" -DEPEND=" - app-arch/lz4 - app-arch/xz-utils - sys-devel/autoconf - sys-devel/bc - sys-devel/make" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch - "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch - "${FILESDIR}"/"${KV_MAJOR}"-do_not_bug_the_next_18-years.patch - "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch - "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch - "${FILESDIR}"/"${KV_MAJOR}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch - "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.patch - "${FILESDIR}"/"${KV_MAJOR}"-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch -) - -S="${WORKDIR}"/linux-"${PV}" - -pkg_setup() { - export KBUILD_BUILD_USER="nexus" - export KBUILD_BUILD_HOST="nexus.redcorelinux.org" - - export REAL_ARCH="$ARCH" - unset ARCH ; unset LDFLAGS #will interfere with Makefile if set -} - -src_prepare() { - default - emake mrproper - sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile - cp "${FILESDIR}"/"${KV_MAJOR}"-amd64.config .config - rm -rf $(find . -type f|grep -F \.orig) -} - -src_compile() { - emake prepare modules_prepare -} - -src_install() { - dodir usr/src/linux-"${KV_FULL}" - cp -ax "${S}"/* "${D}"usr/src/linux-"${KV_FULL}" -} - -_kernel_sources_delete() { - rm -rf "${ROOT}"usr/src/linux-"${KV_FULL}" -} - -pkg_postrm() { - _kernel_sources_delete -} diff --git a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.53.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.53.ebuild new file mode 100644 index 00000000..d47dc927 --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.53.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" +KV_MAJOR="6.1" + +DESCRIPTION="Redcore Linux LTS Kernel Sources" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${PV}.tar.xz" + +KEYWORDS="~amd64" +LICENSE="GPL-2" +SLOT="${KV_MAJOR}" +IUSE="" + +RESTRICT="strip mirror" +DEPEND=" + app-arch/lz4 + app-arch/xz-utils + sys-devel/autoconf + sys-devel/bc + sys-devel/make" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch + "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch + "${FILESDIR}"/"${KV_MAJOR}"-do_not_bug_the_next_18-years.patch + "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch + "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch + "${FILESDIR}"/"${KV_MAJOR}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch + "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.patch + "${FILESDIR}"/"${KV_MAJOR}"-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch +) + +S="${WORKDIR}"/linux-"${PV}" + +pkg_setup() { + export KBUILD_BUILD_USER="nexus" + export KBUILD_BUILD_HOST="nexus.redcorelinux.org" + + export REAL_ARCH="$ARCH" + unset ARCH ; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + default + emake mrproper + sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile + cp "${FILESDIR}"/"${KV_MAJOR}"-amd64.config .config + rm -rf $(find . -type f|grep -F \.orig) +} + +src_compile() { + emake prepare modules_prepare +} + +src_install() { + dodir usr/src/linux-"${KV_FULL}" + cp -ax "${S}"/* "${D}"usr/src/linux-"${KV_FULL}" +} + +_kernel_sources_delete() { + rm -rf "${ROOT}"usr/src/linux-"${KV_FULL}" +} + +pkg_postrm() { + _kernel_sources_delete +} -- cgit v1.2.3