From c42422ecfb7fa7abfa6ef21cdf2b3bff147d6804 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Oct 2024 10:46:39 +0100 Subject: sys-kernel/linux-{image,sources}-redcore-lts : version bump --- .../sys-kernel/linux-image-redcore-lts-5.15.167 | 13 -- .../sys-kernel/linux-image-redcore-lts-5.15.169 | 13 ++ .../sys-kernel/linux-image-redcore-lts-6.1.112 | 13 -- .../sys-kernel/linux-image-redcore-lts-6.1.114 | 13 ++ .../sys-kernel/linux-image-redcore-lts-6.6.56 | 13 -- .../sys-kernel/linux-image-redcore-lts-6.6.58 | 13 ++ .../sys-kernel/linux-sources-redcore-lts-5.15.167 | 12 -- .../sys-kernel/linux-sources-redcore-lts-5.15.169 | 12 ++ .../sys-kernel/linux-sources-redcore-lts-6.1.112 | 12 -- .../sys-kernel/linux-sources-redcore-lts-6.1.114 | 12 ++ .../sys-kernel/linux-sources-redcore-lts-6.6.56 | 12 -- .../sys-kernel/linux-sources-redcore-lts-6.6.58 | 12 ++ metadata/pkg_desc_index | 4 +- sys-kernel/linux-image-redcore-lts/Manifest | 6 +- .../files/5.15-amd64.config | 7 +- .../files/5.15-do_not_bug_the_next_18-years.patch | 12 -- .../linux-image-redcore-lts/files/6.1-amd64.config | 8 +- .../files/6.1-do_not_bug_the_next_18-years.patch | 12 -- .../linux-image-redcore-lts/files/6.6-amd64.config | 3 +- .../linux-image-redcore-lts-5.15.167.ebuild | 156 --------------------- .../linux-image-redcore-lts-5.15.169.ebuild | 155 ++++++++++++++++++++ .../linux-image-redcore-lts-6.1.112.ebuild | 150 -------------------- .../linux-image-redcore-lts-6.1.114.ebuild | 149 ++++++++++++++++++++ .../linux-image-redcore-lts-6.6.56.ebuild | 148 ------------------- .../linux-image-redcore-lts-6.6.58.ebuild | 148 +++++++++++++++++++ sys-kernel/linux-sources-redcore-lts/Manifest | 6 +- .../files/5.15-amd64.config | 7 +- .../files/5.15-do_not_bug_the_next_18-years.patch | 12 -- .../files/6.1-amd64.config | 8 +- .../files/6.1-do_not_bug_the_next_18-years.patch | 12 -- .../files/6.6-amd64.config | 3 +- .../linux-sources-redcore-lts-5.15.167.ebuild | 80 ----------- .../linux-sources-redcore-lts-5.15.169.ebuild | 79 +++++++++++ .../linux-sources-redcore-lts-6.1.112.ebuild | 74 ---------- .../linux-sources-redcore-lts-6.1.114.ebuild | 73 ++++++++++ .../linux-sources-redcore-lts-6.6.56.ebuild | 72 ---------- .../linux-sources-redcore-lts-6.6.58.ebuild | 72 ++++++++++ 37 files changed, 783 insertions(+), 823 deletions(-) delete mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.167 create mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.169 delete mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.112 create mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.114 delete mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.56 create mode 100644 metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.58 delete mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.167 create mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.169 delete mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.112 create mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.114 delete mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.56 create mode 100644 metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.58 delete mode 100644 sys-kernel/linux-image-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch delete mode 100644 sys-kernel/linux-image-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch delete mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.167.ebuild create mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.169.ebuild delete mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.112.ebuild create mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.114.ebuild delete mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.56.ebuild create mode 100644 sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.58.ebuild delete mode 100644 sys-kernel/linux-sources-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch delete mode 100644 sys-kernel/linux-sources-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch delete mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.167.ebuild create mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.169.ebuild delete mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.112.ebuild create mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.114.ebuild delete mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.6.56.ebuild create mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.6.58.ebuild diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.167 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.167 deleted file mode 100644 index 44d53640..00000000 --- a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.167 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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:5.15 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 -DESCRIPTION=Redcore Linux LTS Kernel Image -EAPI=8 -HOMEPAGE=https://redcorelinux.org -IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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:5.15 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 -RESTRICT=binchecks strip mirror -SLOT=5.15 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.167.tar.xz -_md5_=63dd13a61372ad9723e281a52992cc26 diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.169 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.169 new file mode 100644 index 00000000..ee087a5c --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-5.15.169 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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:5.15 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 +DESCRIPTION=Redcore Linux LTS Kernel Image +EAPI=8 +HOMEPAGE=https://redcorelinux.org +IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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:5.15 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 +RESTRICT=binchecks strip mirror +SLOT=5.15 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.169.tar.xz +_md5_=ff62beafe883a7b43a32ee2fd6dc095b diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.112 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.112 deleted file mode 100644 index 17f450e7..00000000 --- a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.112 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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=8 -HOMEPAGE=https://redcorelinux.org -IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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.112.tar.xz -_md5_=ed637850d94a87fc80ce6a5a8c30d468 diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.114 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.114 new file mode 100644 index 00000000..bcf6c0d3 --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.1.114 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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=8 +HOMEPAGE=https://redcorelinux.org +IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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.114.tar.xz +_md5_=28ec190c8e41b4d7e17aa81635e92e0f diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.56 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.56 deleted file mode 100644 index 9588511a..00000000 --- a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.56 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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.6 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 -DESCRIPTION=Redcore Linux LTS Kernel Image -EAPI=8 -HOMEPAGE=https://redcorelinux.org -IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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.6 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 -RESTRICT=binchecks strip mirror -SLOT=6.6 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.56.tar.xz -_md5_=54ff5c9f3d2bba6c0db27796e6888d5d diff --git a/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.58 b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.58 new file mode 100644 index 00000000..dcd040c0 --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-image-redcore-lts-6.6.58 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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.6 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 +DESCRIPTION=Redcore Linux LTS Kernel Image +EAPI=8 +HOMEPAGE=https://redcorelinux.org +IUSE=+cryptsetup +dmraid +dracut +dkms +mdadm +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc 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.6 ) mdadm? ( sys-fs/mdadm ) >=sys-kernel/linux-firmware-20180314 +RESTRICT=binchecks strip mirror +SLOT=6.6 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.58.tar.xz +_md5_=54ff5c9f3d2bba6c0db27796e6888d5d diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.167 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.167 deleted file mode 100644 index 10254ccd..00000000 --- a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.167 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc -DESCRIPTION=Redcore Linux LTS Kernel Sources -EAPI=8 -HOMEPAGE=https://redcorelinux.org -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc -RESTRICT=strip mirror -SLOT=5.15 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.167.tar.xz -_md5_=e1e2077e7c5ae762c58d9fbe4e805984 diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.169 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.169 new file mode 100644 index 00000000..e685b81d --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-5.15.169 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc +DESCRIPTION=Redcore Linux LTS Kernel Sources +EAPI=8 +HOMEPAGE=https://redcorelinux.org +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc +RESTRICT=strip mirror +SLOT=5.15 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.169.tar.xz +_md5_=dc7e9d5f8e7cdb7264cd1bc082e3d569 diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.112 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.112 deleted file mode 100644 index 61534d4f..00000000 --- a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.112 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc -DESCRIPTION=Redcore Linux LTS Kernel Sources -EAPI=8 -HOMEPAGE=https://redcorelinux.org -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc -RESTRICT=strip mirror -SLOT=6.1 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.112.tar.xz -_md5_=c1b32885d3419f3abf045e73731005a8 diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.114 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.114 new file mode 100644 index 00000000..86fac6eb --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.1.114 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc +DESCRIPTION=Redcore Linux LTS Kernel Sources +EAPI=8 +HOMEPAGE=https://redcorelinux.org +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc +RESTRICT=strip mirror +SLOT=6.1 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.114.tar.xz +_md5_=98330249dbb672d30f0f31a7b7e999fa diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.56 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.56 deleted file mode 100644 index 98337125..00000000 --- a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.56 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postrm prepare setup -DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc -DESCRIPTION=Redcore Linux LTS Kernel Sources -EAPI=8 -HOMEPAGE=https://redcorelinux.org -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc -RESTRICT=strip mirror -SLOT=6.6 -SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.56.tar.xz -_md5_=02dcd6030111cdbb24a08e03e9825ef7 diff --git a/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.58 b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.58 new file mode 100644 index 00000000..8f98784e --- /dev/null +++ b/metadata/md5-cache/sys-kernel/linux-sources-redcore-lts-6.6.58 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install postrm prepare setup +DEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc +DESCRIPTION=Redcore Linux LTS Kernel Sources +EAPI=8 +HOMEPAGE=https://redcorelinux.org +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=app-arch/lz4 app-arch/xz-utils dev-build/autoconf dev-build/make sys-devel/bc +RESTRICT=strip mirror +SLOT=6.6 +SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.58.tar.xz +_md5_=02dcd6030111cdbb24a08e03e9825ef7 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index a2f141bd..311084f6 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -68,9 +68,9 @@ sys-kernel/bcmwl-dkms 6.30.223.271-r12: Broadcom's IEEE 802.11a/b/g/n hybrid Lin sys-kernel/dkms 2.3-r4: Dynamic Kernel Module Support sys-kernel/dracut 059-r15: Generic initramfs generation tool sys-kernel/linux-image-redcore 6.10.14: Redcore Linux Kernel Image -sys-kernel/linux-image-redcore-lts 5.15.167 6.1.112 6.6.56: Redcore Linux LTS Kernel Image +sys-kernel/linux-image-redcore-lts 5.15.169 6.1.114 6.6.58: Redcore Linux LTS Kernel Image sys-kernel/linux-sources-redcore 6.10.14: Redcore Linux Kernel Sources -sys-kernel/linux-sources-redcore-lts 5.15.167 6.1.112 6.6.56: Redcore Linux LTS Kernel Sources +sys-kernel/linux-sources-redcore-lts 5.15.169 6.1.114 6.6.58: Redcore Linux LTS Kernel Sources sys-kernel/nvidia-drivers-dkms 390.157-r8 470.256.02 550.120: NVIDIA driver sources for linux sys-kernel/tp_smapi-dkms 0.44-r2: IBM ThinkPad SMAPI BIOS driver sources sys-kernel/vhba-dkms 20240202-r2: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources diff --git a/sys-kernel/linux-image-redcore-lts/Manifest b/sys-kernel/linux-image-redcore-lts/Manifest index 1be9b6af..e559e896 100644 --- a/sys-kernel/linux-image-redcore-lts/Manifest +++ b/sys-kernel/linux-image-redcore-lts/Manifest @@ -1,3 +1,3 @@ -DIST linux-5.15.167.tar.xz 126681812 BLAKE2B 24acaf9a064f4b2af4a272f49ad63ac565fa55408d595f4c15ebcccd8a44a2ab964e5bfbb9b9b10f765d741da541c9e3911aa7dee3164c091b203cd06c5ad08b SHA512 3ce1848fef40dcee6de3808574ab236c72799aed5aa5a295d169b45ed529e254b43df81c9d9b15902723d7316c3d1af366aeee815ee9be985cd2d380e360cf0b -DIST linux-6.1.112.tar.xz 135183972 BLAKE2B 79da8b2cd91aa4f96ba3c6e296fd06b72ad92790df44ef73a063c4e02dfcbae181970008631adb8ee4cea13c20bfd191cf50a9062ab81a10790a588871b94b15 SHA512 3fb3fea3efe0be30d58c8638e14f13ef7ec7ef61c8bdff2007ca4777a72bca9a41d5e2f92bd054dc932ace4a2fd23e9a02baf7e47ff0f774d034a78554ae08db -DIST linux-6.6.56.tar.xz 140374716 BLAKE2B c33477493337b759023dcff084360edcb3b0b53cc9543bd64537a9fdc736cc4d6c17d0b357e7a60141021bd9d1f46caaa997d8be8e75261fad657f4d9f058e12 SHA512 57af6cc0796db0f0cf727b93155d34cf9a702abdfdbcde2e9d421eca7e225ec519a9f8a5e859879a24dd530c047666468cb70445c5389f17e3a6996888ce89d7 +DIST linux-5.15.169.tar.xz 126706236 BLAKE2B 3d6abd967b995593f1617db755bebfbf5f5a79985951798b205d380ca53382d6af16de71f3d852d8154db60e2da6a6f87fc8bc6b0e60410538ca98bd5e3b4378 SHA512 9f02d7ee0737cf72ed34331db8c073578380290ec46913a9126b1c5c5f75c445ea9e17432707d5efdf8a5f4238ce7028876e8b6899d2af5a2e2919ef66e03470 +DIST linux-6.1.114.tar.xz 135213612 BLAKE2B 879ffaaafb2fafe57d99a614d1f8065f4b8e6fd60c43723d815a66e226caff6bc5d80bca7c9cd1bb7bec1a170cfd3789c4b9dd779eaef1530eb61971c9925e12 SHA512 6aa571b2489b075824698901393fd80b48a5cd44142e28d7fc71c329756adf8ac9a9013b86354a57d82dd155ba401b993837f1cf6d80d367297b741602542061 +DIST linux-6.6.58.tar.xz 140387240 BLAKE2B f621a4f786ac1f043b70419f6b623075c771eff6765a51130d1ae710b58202988286332be90f3a1849a75f9bc44463a23a1f69b38906d469abaf2075730e646c SHA512 695203f9f4486a928ab50bbfb761feeebd59b82f0e090fb126a8584dd676bcc5a6c6a5feb8c5d576891d7ae3ae31cca3a35c2655f06e8410818c24a1edfe0136 diff --git a/sys-kernel/linux-image-redcore-lts/files/5.15-amd64.config b/sys-kernel/linux-image-redcore-lts/files/5.15-amd64.config index b1aace74..26feff8d 100644 --- a/sys-kernel/linux-image-redcore-lts/files/5.15-amd64.config +++ b/sys-kernel/linux-image-redcore-lts/files/5.15-amd64.config @@ -1,8 +1,8 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.162-redcore-lts Kernel Configuration +# Linux/x86 5.15.169-redcore-lts Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210 p14) 13.2.1 20240210" +CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210-r5 p14) 13.2.1 20240210" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=130201 CONFIG_CLANG_VERSION=0 @@ -9979,6 +9979,9 @@ CONFIG_TRUSTED_KEYS=m CONFIG_ENCRYPTED_KEYS=m CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY_DMESG_RESTRICT=y +CONFIG_PROC_MEM_ALWAYS_FORCE=y +# CONFIG_PROC_MEM_FORCE_PTRACE is not set +# CONFIG_PROC_MEM_NO_FORCE is not set CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y diff --git a/sys-kernel/linux-image-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch b/sys-kernel/linux-image-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch deleted file mode 100644 index 75763d62..00000000 --- a/sys-kernel/linux-image-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur linux-5.5.6/fs/namespace.c linux-5.5.6-p/fs/namespace.c ---- linux-5.5.6/fs/namespace.c 2020-02-24 08:38:51.000000000 +0100 -+++ linux-5.5.6-p/fs/namespace.c 2020-02-27 11:09:12.337903446 +0100 -@@ -2478,7 +2478,7 @@ - - time64_to_tm(sb->s_time_max, 0, &tm); - -- pr_warn("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", -+ pr_debug("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", - sb->s_type->name, - is_mounted(mnt) ? "remounted" : "mounted", - mntpath, diff --git a/sys-kernel/linux-image-redcore-lts/files/6.1-amd64.config b/sys-kernel/linux-image-redcore-lts/files/6.1-amd64.config index 7c4aab49..10bea3ac 100644 --- a/sys-kernel/linux-image-redcore-lts/files/6.1-amd64.config +++ b/sys-kernel/linux-image-redcore-lts/files/6.1-amd64.config @@ -1,8 +1,8 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.104-redcore-lts Kernel Configuration +# Linux/x86 6.1.114-redcore-lts Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210 p14) 13.2.1 20240210" +CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210-r5 p14) 13.2.1 20240210" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=130201 CONFIG_CLANG_VERSION=0 @@ -9111,7 +9111,6 @@ CONFIG_INTEL_IOMMU_SVM=y # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_INTEL_IOMMU_FLOPPY_WA=y # CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set -CONFIG_INTEL_IOMMU_PERF_EVENTS=y CONFIG_IRQ_REMAP=y CONFIG_HYPERV_IOMMU=y CONFIG_VIRTIO_IOMMU=m @@ -10448,6 +10447,9 @@ CONFIG_ENCRYPTED_KEYS=m # CONFIG_USER_DECRYPTED_DATA is not set CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY_DMESG_RESTRICT=y +CONFIG_PROC_MEM_ALWAYS_FORCE=y +# CONFIG_PROC_MEM_FORCE_PTRACE is not set +# CONFIG_PROC_MEM_NO_FORCE is not set CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y diff --git a/sys-kernel/linux-image-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch b/sys-kernel/linux-image-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch deleted file mode 100644 index 75763d62..00000000 --- a/sys-kernel/linux-image-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur linux-5.5.6/fs/namespace.c linux-5.5.6-p/fs/namespace.c ---- linux-5.5.6/fs/namespace.c 2020-02-24 08:38:51.000000000 +0100 -+++ linux-5.5.6-p/fs/namespace.c 2020-02-27 11:09:12.337903446 +0100 -@@ -2478,7 +2478,7 @@ - - time64_to_tm(sb->s_time_max, 0, &tm); - -- pr_warn("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", -+ pr_debug("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", - sb->s_type->name, - is_mounted(mnt) ? "remounted" : "mounted", - mntpath, diff --git a/sys-kernel/linux-image-redcore-lts/files/6.6-amd64.config b/sys-kernel/linux-image-redcore-lts/files/6.6-amd64.config index 9397cb3b..d6fbf0ac 100644 --- a/sys-kernel/linux-image-redcore-lts/files/6.6-amd64.config +++ b/sys-kernel/linux-image-redcore-lts/files/6.6-amd64.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.6.56-redcore-lts Kernel Configuration +# Linux/x86 6.6.58-redcore-lts Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210-r5 p14) 13.2.1 20240210" CONFIG_CC_IS_GCC=y @@ -7835,6 +7835,7 @@ CONFIG_HID_ZYDACRON=m CONFIG_HID_SENSOR_HUB=m CONFIG_HID_SENSOR_CUSTOM_SENSOR=m CONFIG_HID_ALPS=m +CONFIG_HID_MCP2200=m CONFIG_HID_MCP2221=m # end of Special HID drivers diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.167.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.167.ebuild deleted file mode 100644 index edb13202..00000000 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.167.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" -KV_MAJOR="5.15" - -DESCRIPTION="Redcore Linux LTS Kernel Image" -HOMEPAGE="https://redcorelinux.org" -SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v5.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 - dev-build/autoconf - dev-build/make - sys-devel/bc - 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}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch - "${FILESDIR}"/"${KV_MAJOR}"-0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - "${FILESDIR}"/"${KV_MAJOR}"-0003-iommu_intel_do_deep_dma-unmapping_to_avoid_kernel-flooding.patch - "${FILESDIR}"/"${KV_MAJOR}"-0004-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch - "${FILESDIR}"/"${KV_MAJOR}"-0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch - "${FILESDIR}"/"${KV_MAJOR}"-0006-lg-laptop_Recognize_more_models.patch - "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch - "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch - "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch - "${FILESDIR}"/"${KV_MAJOR}"-do_not_bug_the_next_18-years.patch - "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch - "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-fix-5e003982b07ae.patch - "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-use-debug-for-debug-infos.patch - "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.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-5.15.169.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.169.ebuild new file mode 100644 index 00000000..731d0be7 --- /dev/null +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-5.15.169.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" +KV_MAJOR="5.15" + +DESCRIPTION="Redcore Linux LTS Kernel Image" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v5.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 + dev-build/autoconf + dev-build/make + sys-devel/bc + 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}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch + "${FILESDIR}"/"${KV_MAJOR}"-0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch + "${FILESDIR}"/"${KV_MAJOR}"-0003-iommu_intel_do_deep_dma-unmapping_to_avoid_kernel-flooding.patch + "${FILESDIR}"/"${KV_MAJOR}"-0004-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch + "${FILESDIR}"/"${KV_MAJOR}"-0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch + "${FILESDIR}"/"${KV_MAJOR}"-0006-lg-laptop_Recognize_more_models.patch + "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch + "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch + "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch + "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch + "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-fix-5e003982b07ae.patch + "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-use-debug-for-debug-infos.patch + "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.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.112.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.112.ebuild deleted file mode 100644 index 2a744e4e..00000000 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.112.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 - dev-build/autoconf - dev-build/make - sys-devel/bc - 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.114.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.114.ebuild new file mode 100644 index 00000000..e13c20c2 --- /dev/null +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.1.114.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + dev-build/autoconf + dev-build/make + sys-devel/bc + 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}"-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.6.56.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.56.ebuild deleted file mode 100644 index 2d7aa20d..00000000 --- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.56.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" -KV_MAJOR="6.6" - -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 - dev-build/autoconf - dev-build/make - sys-devel/bc - 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}"-acpi-use-kern_warning_even_when_error.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.6.58.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.58.ebuild new file mode 100644 index 00000000..2d7aa20d --- /dev/null +++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-6.6.58.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" +KV_MAJOR="6.6" + +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 + dev-build/autoconf + dev-build/make + sys-devel/bc + 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}"-acpi-use-kern_warning_even_when_error.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 1be9b6af..e559e896 100644 --- a/sys-kernel/linux-sources-redcore-lts/Manifest +++ b/sys-kernel/linux-sources-redcore-lts/Manifest @@ -1,3 +1,3 @@ -DIST linux-5.15.167.tar.xz 126681812 BLAKE2B 24acaf9a064f4b2af4a272f49ad63ac565fa55408d595f4c15ebcccd8a44a2ab964e5bfbb9b9b10f765d741da541c9e3911aa7dee3164c091b203cd06c5ad08b SHA512 3ce1848fef40dcee6de3808574ab236c72799aed5aa5a295d169b45ed529e254b43df81c9d9b15902723d7316c3d1af366aeee815ee9be985cd2d380e360cf0b -DIST linux-6.1.112.tar.xz 135183972 BLAKE2B 79da8b2cd91aa4f96ba3c6e296fd06b72ad92790df44ef73a063c4e02dfcbae181970008631adb8ee4cea13c20bfd191cf50a9062ab81a10790a588871b94b15 SHA512 3fb3fea3efe0be30d58c8638e14f13ef7ec7ef61c8bdff2007ca4777a72bca9a41d5e2f92bd054dc932ace4a2fd23e9a02baf7e47ff0f774d034a78554ae08db -DIST linux-6.6.56.tar.xz 140374716 BLAKE2B c33477493337b759023dcff084360edcb3b0b53cc9543bd64537a9fdc736cc4d6c17d0b357e7a60141021bd9d1f46caaa997d8be8e75261fad657f4d9f058e12 SHA512 57af6cc0796db0f0cf727b93155d34cf9a702abdfdbcde2e9d421eca7e225ec519a9f8a5e859879a24dd530c047666468cb70445c5389f17e3a6996888ce89d7 +DIST linux-5.15.169.tar.xz 126706236 BLAKE2B 3d6abd967b995593f1617db755bebfbf5f5a79985951798b205d380ca53382d6af16de71f3d852d8154db60e2da6a6f87fc8bc6b0e60410538ca98bd5e3b4378 SHA512 9f02d7ee0737cf72ed34331db8c073578380290ec46913a9126b1c5c5f75c445ea9e17432707d5efdf8a5f4238ce7028876e8b6899d2af5a2e2919ef66e03470 +DIST linux-6.1.114.tar.xz 135213612 BLAKE2B 879ffaaafb2fafe57d99a614d1f8065f4b8e6fd60c43723d815a66e226caff6bc5d80bca7c9cd1bb7bec1a170cfd3789c4b9dd779eaef1530eb61971c9925e12 SHA512 6aa571b2489b075824698901393fd80b48a5cd44142e28d7fc71c329756adf8ac9a9013b86354a57d82dd155ba401b993837f1cf6d80d367297b741602542061 +DIST linux-6.6.58.tar.xz 140387240 BLAKE2B f621a4f786ac1f043b70419f6b623075c771eff6765a51130d1ae710b58202988286332be90f3a1849a75f9bc44463a23a1f69b38906d469abaf2075730e646c SHA512 695203f9f4486a928ab50bbfb761feeebd59b82f0e090fb126a8584dd676bcc5a6c6a5feb8c5d576891d7ae3ae31cca3a35c2655f06e8410818c24a1edfe0136 diff --git a/sys-kernel/linux-sources-redcore-lts/files/5.15-amd64.config b/sys-kernel/linux-sources-redcore-lts/files/5.15-amd64.config index b1aace74..26feff8d 100644 --- a/sys-kernel/linux-sources-redcore-lts/files/5.15-amd64.config +++ b/sys-kernel/linux-sources-redcore-lts/files/5.15-amd64.config @@ -1,8 +1,8 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.15.162-redcore-lts Kernel Configuration +# Linux/x86 5.15.169-redcore-lts Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210 p14) 13.2.1 20240210" +CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210-r5 p14) 13.2.1 20240210" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=130201 CONFIG_CLANG_VERSION=0 @@ -9979,6 +9979,9 @@ CONFIG_TRUSTED_KEYS=m CONFIG_ENCRYPTED_KEYS=m CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY_DMESG_RESTRICT=y +CONFIG_PROC_MEM_ALWAYS_FORCE=y +# CONFIG_PROC_MEM_FORCE_PTRACE is not set +# CONFIG_PROC_MEM_NO_FORCE is not set CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y diff --git a/sys-kernel/linux-sources-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch b/sys-kernel/linux-sources-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch deleted file mode 100644 index 75763d62..00000000 --- a/sys-kernel/linux-sources-redcore-lts/files/5.15-do_not_bug_the_next_18-years.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur linux-5.5.6/fs/namespace.c linux-5.5.6-p/fs/namespace.c ---- linux-5.5.6/fs/namespace.c 2020-02-24 08:38:51.000000000 +0100 -+++ linux-5.5.6-p/fs/namespace.c 2020-02-27 11:09:12.337903446 +0100 -@@ -2478,7 +2478,7 @@ - - time64_to_tm(sb->s_time_max, 0, &tm); - -- pr_warn("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", -+ pr_debug("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", - sb->s_type->name, - is_mounted(mnt) ? "remounted" : "mounted", - mntpath, diff --git a/sys-kernel/linux-sources-redcore-lts/files/6.1-amd64.config b/sys-kernel/linux-sources-redcore-lts/files/6.1-amd64.config index 7c4aab49..10bea3ac 100644 --- a/sys-kernel/linux-sources-redcore-lts/files/6.1-amd64.config +++ b/sys-kernel/linux-sources-redcore-lts/files/6.1-amd64.config @@ -1,8 +1,8 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.1.104-redcore-lts Kernel Configuration +# Linux/x86 6.1.114-redcore-lts Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210 p14) 13.2.1 20240210" +CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210-r5 p14) 13.2.1 20240210" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=130201 CONFIG_CLANG_VERSION=0 @@ -9111,7 +9111,6 @@ CONFIG_INTEL_IOMMU_SVM=y # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_INTEL_IOMMU_FLOPPY_WA=y # CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set -CONFIG_INTEL_IOMMU_PERF_EVENTS=y CONFIG_IRQ_REMAP=y CONFIG_HYPERV_IOMMU=y CONFIG_VIRTIO_IOMMU=m @@ -10448,6 +10447,9 @@ CONFIG_ENCRYPTED_KEYS=m # CONFIG_USER_DECRYPTED_DATA is not set CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY_DMESG_RESTRICT=y +CONFIG_PROC_MEM_ALWAYS_FORCE=y +# CONFIG_PROC_MEM_FORCE_PTRACE is not set +# CONFIG_PROC_MEM_NO_FORCE is not set CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y diff --git a/sys-kernel/linux-sources-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch b/sys-kernel/linux-sources-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch deleted file mode 100644 index 75763d62..00000000 --- a/sys-kernel/linux-sources-redcore-lts/files/6.1-do_not_bug_the_next_18-years.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur linux-5.5.6/fs/namespace.c linux-5.5.6-p/fs/namespace.c ---- linux-5.5.6/fs/namespace.c 2020-02-24 08:38:51.000000000 +0100 -+++ linux-5.5.6-p/fs/namespace.c 2020-02-27 11:09:12.337903446 +0100 -@@ -2478,7 +2478,7 @@ - - time64_to_tm(sb->s_time_max, 0, &tm); - -- pr_warn("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", -+ pr_debug("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", - sb->s_type->name, - is_mounted(mnt) ? "remounted" : "mounted", - mntpath, diff --git a/sys-kernel/linux-sources-redcore-lts/files/6.6-amd64.config b/sys-kernel/linux-sources-redcore-lts/files/6.6-amd64.config index 9397cb3b..d6fbf0ac 100644 --- a/sys-kernel/linux-sources-redcore-lts/files/6.6-amd64.config +++ b/sys-kernel/linux-sources-redcore-lts/files/6.6-amd64.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.6.56-redcore-lts Kernel Configuration +# Linux/x86 6.6.58-redcore-lts Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (Gentoo Hardened 13.2.1_p20240210-r5 p14) 13.2.1 20240210" CONFIG_CC_IS_GCC=y @@ -7835,6 +7835,7 @@ CONFIG_HID_ZYDACRON=m CONFIG_HID_SENSOR_HUB=m CONFIG_HID_SENSOR_CUSTOM_SENSOR=m CONFIG_HID_ALPS=m +CONFIG_HID_MCP2200=m CONFIG_HID_MCP2221=m # end of Special HID drivers diff --git a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.167.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.167.ebuild deleted file mode 100644 index dec3297b..00000000 --- a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.167.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" -KV_MAJOR="5.15" - -DESCRIPTION="Redcore Linux LTS Kernel Sources" -HOMEPAGE="https://redcorelinux.org" -SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v5.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 - dev-build/autoconf - dev-build/make - sys-devel/bc" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/"${KV_MAJOR}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch - "${FILESDIR}"/"${KV_MAJOR}"-0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - "${FILESDIR}"/"${KV_MAJOR}"-0003-iommu_intel_do_deep_dma-unmapping_to_avoid_kernel-flooding.patch - "${FILESDIR}"/"${KV_MAJOR}"-0004-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch - "${FILESDIR}"/"${KV_MAJOR}"-0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch - "${FILESDIR}"/"${KV_MAJOR}"-0006-lg-laptop_Recognize_more_models.patch - "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch - "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch - "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch - "${FILESDIR}"/"${KV_MAJOR}"-do_not_bug_the_next_18-years.patch - "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch - "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-fix-5e003982b07ae.patch - "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-use-debug-for-debug-infos.patch - "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch - "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.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-5.15.169.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.169.ebuild new file mode 100644 index 00000000..4d175b0f --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-5.15.169.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" +KV_MAJOR="5.15" + +DESCRIPTION="Redcore Linux LTS Kernel Sources" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v5.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 + dev-build/autoconf + dev-build/make + sys-devel/bc" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/"${KV_MAJOR}"-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch + "${FILESDIR}"/"${KV_MAJOR}"-0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch + "${FILESDIR}"/"${KV_MAJOR}"-0003-iommu_intel_do_deep_dma-unmapping_to_avoid_kernel-flooding.patch + "${FILESDIR}"/"${KV_MAJOR}"-0004-cpufreq_intel_pstate_ITMT_support_for_overclocked_system.patch + "${FILESDIR}"/"${KV_MAJOR}"-0005-Bluetooth_btintel_Fix_bdaddress_comparison_with_garbage_value.patch + "${FILESDIR}"/"${KV_MAJOR}"-0006-lg-laptop_Recognize_more_models.patch + "${FILESDIR}"/"${KV_MAJOR}"-acpi-use-kern_warning_even_when_error.patch + "${FILESDIR}"/"${KV_MAJOR}"-apic_vector-spam-in-debug-mode-only.patch + "${FILESDIR}"/"${KV_MAJOR}"-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-ath10k-be-quiet.patch + "${FILESDIR}"/"${KV_MAJOR}"-fix-bootconfig-makefile.patch + "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-fix-5e003982b07ae.patch + "${FILESDIR}"/"${KV_MAJOR}"-iwlwifi-use-debug-for-debug-infos.patch + "${FILESDIR}"/"${KV_MAJOR}"-radeon_dp_aux_transfer_native-no-ratelimited_debug.patch + "${FILESDIR}"/"${KV_MAJOR}"-revert-parts-of-a00ec3874e7d326ab2dffbed92faddf6a77a84e9-no-Intel-NO.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.112.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.112.ebuild deleted file mode 100644 index 30f3f5a4..00000000 --- a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.112.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 - dev-build/autoconf - dev-build/make - sys-devel/bc" -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.114.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.114.ebuild new file mode 100644 index 00000000..cf1c54d9 --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.1.114.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + dev-build/autoconf + dev-build/make + sys-devel/bc" +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}"-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.6.56.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.6.56.ebuild deleted file mode 100644 index 730cd283..00000000 --- a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.6.56.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" -KV_MAJOR="6.6" - -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 - dev-build/autoconf - dev-build/make - sys-devel/bc" -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}"-acpi-use-kern_warning_even_when_error.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.6.58.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.6.58.ebuild new file mode 100644 index 00000000..730cd283 --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-6.6.58.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" +KV_MAJOR="6.6" + +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 + dev-build/autoconf + dev-build/make + sys-devel/bc" +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}"-acpi-use-kern_warning_even_when_error.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