sys-kernel/xanmod-kernel: add 6.1.45
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
180d3c4208
commit
3cae297b9e
@ -2,6 +2,8 @@ DIST genpatches-6.1-48.base.tar.xz 2983620 BLAKE2B fd09d2c761c3652502d590ad189db
|
|||||||
DIST genpatches-6.1-48.extras.tar.xz 3808 BLAKE2B 5f31be220d97582f049f58f796f0d509c1d2c82ca41efbcb178a9f78db64e0de0d0297096a6109c4989777cddc0957fc8efa7caf333737157a4b6352aaff64bd SHA512 d37be3695cd96f3226265c4f689aef9e98f0528d34b554e53e98fe9497e1b8a26ebe2661d8a04e9c84a615e1bb4966263358d759d228c950af3ce70bf6340e0c
|
DIST genpatches-6.1-48.extras.tar.xz 3808 BLAKE2B 5f31be220d97582f049f58f796f0d509c1d2c82ca41efbcb178a9f78db64e0de0d0297096a6109c4989777cddc0957fc8efa7caf333737157a4b6352aaff64bd SHA512 d37be3695cd96f3226265c4f689aef9e98f0528d34b554e53e98fe9497e1b8a26ebe2661d8a04e9c84a615e1bb4966263358d759d228c950af3ce70bf6340e0c
|
||||||
DIST genpatches-6.1-49.base.tar.xz 3063788 BLAKE2B d97aa1abfdba4aaf84d392e5ebc26822a1651fe0249b3bd84f4f5f2c413955d9d216bc1e9e2e2ef388e7aad4153ba11863cdb7854cd2cf1dea478da3ee8c065a SHA512 7acb3101165cf8f4beee7b80880510a5ce4afe0148641c7edad91cd6365239b52b55a51c550408ed0291aa3ad74512022ccb6ef85c6ae8765a0ff2d49ac84bc1
|
DIST genpatches-6.1-49.base.tar.xz 3063788 BLAKE2B d97aa1abfdba4aaf84d392e5ebc26822a1651fe0249b3bd84f4f5f2c413955d9d216bc1e9e2e2ef388e7aad4153ba11863cdb7854cd2cf1dea478da3ee8c065a SHA512 7acb3101165cf8f4beee7b80880510a5ce4afe0148641c7edad91cd6365239b52b55a51c550408ed0291aa3ad74512022ccb6ef85c6ae8765a0ff2d49ac84bc1
|
||||||
DIST genpatches-6.1-49.extras.tar.xz 3808 BLAKE2B a200e4d646d8b99db4a5fde73ae51727c475b18b9f080b3d55e27d4b6f247cc8950f772e0676cfb11d301d3a9042e929d4957f96de0073bc99ef65c53668bea1 SHA512 4fc28b57b4a99ddec743d3804a78a5027d9922641135f1995016f2c5806282f0bb33e9f78cc7378ab8388b582193df457a6c397b0986e197fd5e5cc4bba85c7b
|
DIST genpatches-6.1-49.extras.tar.xz 3808 BLAKE2B a200e4d646d8b99db4a5fde73ae51727c475b18b9f080b3d55e27d4b6f247cc8950f772e0676cfb11d301d3a9042e929d4957f96de0073bc99ef65c53668bea1 SHA512 4fc28b57b4a99ddec743d3804a78a5027d9922641135f1995016f2c5806282f0bb33e9f78cc7378ab8388b582193df457a6c397b0986e197fd5e5cc4bba85c7b
|
||||||
|
DIST genpatches-6.1-51.base.tar.xz 3127240 BLAKE2B 047b00560651226a3514417f10e55603ab2f33429993fb3b567b9424640a413419523f42bcd6175880a6ef87555422a4e8ff94f477cc7c17c52b4bcd0673bcc6 SHA512 a1b252d6e64b8dd907abaa6e827f7da78039181fdb620fb6aae10676a5ebe1d2c9759235d9f71e59f1af5cc553af40d3fd911b236eb2919dbc5b8999f7b86fe1
|
||||||
|
DIST genpatches-6.1-51.extras.tar.xz 3808 BLAKE2B 2f188b3f2062d491118bf96735420e63c7ae85467a6789cd00316b133d254677656229f7f4b8d364bf37713a0b8f42f77acb580db0b4eed9c183008074b3eee4 SHA512 984b4c9a7e030e2687ac574dbb743bb40b0b031ca8ac55e1e632018e174a70567e3d94bee85ccac66212458e7772be6d39f119181a7252f9bca662646cb492ff
|
||||||
DIST genpatches-6.4-10.base.tar.xz 568848 BLAKE2B d9f28beda8bd4f69e1e5d586e274df43a8661bf51733a25f320469c1e3e42d9602b0911d4e98a40942ff182f076501ce6721e534cb92aefc3d453fc43ee499bb SHA512 218c38f99a07c2be1fb25737b0a9604a9a50fe3f72c507404d92da1e8dd7823142edc2b81110e510aef7e645edefbff2265aeb3ce7f376131801c3adb292b8d0
|
DIST genpatches-6.4-10.base.tar.xz 568848 BLAKE2B d9f28beda8bd4f69e1e5d586e274df43a8661bf51733a25f320469c1e3e42d9602b0911d4e98a40942ff182f076501ce6721e534cb92aefc3d453fc43ee499bb SHA512 218c38f99a07c2be1fb25737b0a9604a9a50fe3f72c507404d92da1e8dd7823142edc2b81110e510aef7e645edefbff2265aeb3ce7f376131801c3adb292b8d0
|
||||||
DIST genpatches-6.4-10.extras.tar.xz 3696 BLAKE2B fa0b8d593543f3624b1cff626e2cb2dc93ff0e88fd54ec71a7e467c716481420da7f361c1dd353e36111425a74f6632f1c491e618dec47fa4bc15c6a6d9e26bc SHA512 9dbfcd1d65daca0b56360290f0a6369fa007f32dde0f1a62657d1697fb50b84668e8a14c62efcfc3d12ba6a4a911731825df260421506639d2ba9b8764962e87
|
DIST genpatches-6.4-10.extras.tar.xz 3696 BLAKE2B fa0b8d593543f3624b1cff626e2cb2dc93ff0e88fd54ec71a7e467c716481420da7f361c1dd353e36111425a74f6632f1c491e618dec47fa4bc15c6a6d9e26bc SHA512 9dbfcd1d65daca0b56360290f0a6369fa007f32dde0f1a62657d1697fb50b84668e8a14c62efcfc3d12ba6a4a911731825df260421506639d2ba9b8764962e87
|
||||||
DIST genpatches-6.4-9.base.tar.xz 483840 BLAKE2B 8f2796524871d00030c870fcb167f36bce2a990a248533b7bf481506f03937fc69ee34cc5e2b8e3fc994c8fb40c54f23ce14c922f99b46c63e9da7e449a6cbcc SHA512 ea23db4aac99667ce2393d7f639043c6169f0f452aa882060d009ead9ffe9b763acd2a88495114b1a691dfa178f0a82fc0df8f89546e2bc292ca643f918691c0
|
DIST genpatches-6.4-9.base.tar.xz 483840 BLAKE2B 8f2796524871d00030c870fcb167f36bce2a990a248533b7bf481506f03937fc69ee34cc5e2b8e3fc994c8fb40c54f23ce14c922f99b46c63e9da7e449a6cbcc SHA512 ea23db4aac99667ce2393d7f639043c6169f0f452aa882060d009ead9ffe9b763acd2a88495114b1a691dfa178f0a82fc0df8f89546e2bc292ca643f918691c0
|
||||||
@ -11,5 +13,6 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b
|
|||||||
DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
|
DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
|
||||||
DIST patch-6.1.42-xanmod1.xz 2341408 BLAKE2B 4d3e2f13bd3677f0987f041da4ababbee1e05a4c9ddde96c898f8bd057a953608eeb2701ea8c614b7bbf569e57facb625db706cb1cab3ed3d0514cb34eb39aa3 SHA512 4f0b9b38462465d5dcb51676a01ce43d8541d76da2dfaa06de341478fcef0201b6073a033e800dde5220d97002c574e3da758fb7877a02ae825aab871a6aa8f7
|
DIST patch-6.1.42-xanmod1.xz 2341408 BLAKE2B 4d3e2f13bd3677f0987f041da4ababbee1e05a4c9ddde96c898f8bd057a953608eeb2701ea8c614b7bbf569e57facb625db706cb1cab3ed3d0514cb34eb39aa3 SHA512 4f0b9b38462465d5dcb51676a01ce43d8541d76da2dfaa06de341478fcef0201b6073a033e800dde5220d97002c574e3da758fb7877a02ae825aab871a6aa8f7
|
||||||
DIST patch-6.1.43-xanmod1.xz 2406084 BLAKE2B e6172f796a3063afba86478b53e1c6380909308a298622cb3f3672d79110022a08adfbf36893de4fc832021921e6eb0ad25027ac12c7a42313df4db5b7acae76 SHA512 c72b69f1fbc6a43c78c0da8f5dda58fd1766334975570167256e6ef6c829f42439678cf8ffaea78b9808d8e9552781e28e7ff410f3ff347698058b74dc359ef8
|
DIST patch-6.1.43-xanmod1.xz 2406084 BLAKE2B e6172f796a3063afba86478b53e1c6380909308a298622cb3f3672d79110022a08adfbf36893de4fc832021921e6eb0ad25027ac12c7a42313df4db5b7acae76 SHA512 c72b69f1fbc6a43c78c0da8f5dda58fd1766334975570167256e6ef6c829f42439678cf8ffaea78b9808d8e9552781e28e7ff410f3ff347698058b74dc359ef8
|
||||||
|
DIST patch-6.1.45-xanmod1.xz 2458000 BLAKE2B d0065d499fa942037a649d48e7ea035e075877e4891ad6572f0595df7d0fd69b6d2da960287770eeb612ec95a9881c57accc84bd5acf29c0a8a323ee02f15cd6 SHA512 893ea3004048e83a0001275ceee1905c39b2dee2673072ff8b3e3cc6717274dc2830173eac47f34632621cd92f1ac76c24d264ecfbd244477e8e10f291a2c98e
|
||||||
DIST patch-6.4.7-xanmod1.xz 619396 BLAKE2B c68b5e3ae41dbb55014d6203250c0b5226b544eb51150dad12c3940cbe199d330e6ff06c47927aa4836867b1cd3f77ffe3cb70bbafb358009f03e2119da3d73e SHA512 12b2d34258b25284687681026c3a7970aa0ff0a447582de01741489b725898bbf477c38e3f9752ae9ca9842f05398aff2835ece8b68ae14d5245268ec33bc082
|
DIST patch-6.4.7-xanmod1.xz 619396 BLAKE2B c68b5e3ae41dbb55014d6203250c0b5226b544eb51150dad12c3940cbe199d330e6ff06c47927aa4836867b1cd3f77ffe3cb70bbafb358009f03e2119da3d73e SHA512 12b2d34258b25284687681026c3a7970aa0ff0a447582de01741489b725898bbf477c38e3f9752ae9ca9842f05398aff2835ece8b68ae14d5245268ec33bc082
|
||||||
DIST patch-6.4.8-xanmod1.xz 700384 BLAKE2B b2d891bacfe66cf4bec05d0d88a7d64ac95d94b50b5381ce3ccd7b6cf2cd479a67168e1ddd79bf4ce42aee8b5ee6bbef3b1996d73c5d2b0c897275cb9e43c62a SHA512 383fb94ea7ae809743729d60971b14a96f1f4663dfa0224bb43f4bef7513df954cb06aa6860a933a2acb51a154614cbfb24fed8b21b7a8efc08341434ccadcf4
|
DIST patch-6.4.8-xanmod1.xz 700384 BLAKE2B b2d891bacfe66cf4bec05d0d88a7d64ac95d94b50b5381ce3ccd7b6cf2cd479a67168e1ddd79bf4ce42aee8b5ee6bbef3b1996d73c5d2b0c897275cb9e43c62a SHA512 383fb94ea7ae809743729d60971b14a96f1f4663dfa0224bb43f4bef7513df954cb06aa6860a933a2acb51a154614cbfb24fed8b21b7a8efc08341434ccadcf4
|
||||||
|
7
sys-kernel/xanmod-kernel/files/no-debug-extra.config
Normal file
7
sys-kernel/xanmod-kernel/files/no-debug-extra.config
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# CONFIG_DEBUG_INFO is not set
|
||||||
|
CONFIG_DEBUG_INFO_NONE=y
|
||||||
|
# CONFIG_DEBUG_INFO_DWARF5 is not set
|
||||||
|
# CONFIG_DEBUG_INFO_BTF is not set
|
||||||
|
# CONFIG_PAHOLE_HAS_SPLIT_BTF is not set
|
||||||
|
# CONFIG_DEBUG_INFO_BTF_MODULES is not set
|
||||||
|
# CONFIG_GDB_SCRIPTS is not set
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.45.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.45.ebuild
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# Copyright 2022-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit kernel-build
|
||||||
|
|
||||||
|
MY_P=linux-${PV%.*}
|
||||||
|
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 ))
|
||||||
|
GENTOO_CONFIG_VER=g7
|
||||||
|
|
||||||
|
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||||
|
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||||
|
SRC_URI="
|
||||||
|
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||||
|
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.xz
|
||||||
|
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
||||||
|
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
||||||
|
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||||
|
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
IUSE="debug"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
debug? ( dev-util/pahole )
|
||||||
|
"
|
||||||
|
PDEPEND="
|
||||||
|
>=virtual/dist-kernel-${PV}
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="
|
||||||
|
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||||
|
usr/src/linux-.*/vmlinux
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Remove linux-stable patches (see 0000_README)
|
||||||
|
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||||
|
|
||||||
|
local PATCHES=(
|
||||||
|
# meh, genpatches have no directory
|
||||||
|
"${WORKDIR}"/patch-${PV}-xanmod1
|
||||||
|
"${WORKDIR}"/*.patch
|
||||||
|
)
|
||||||
|
default
|
||||||
|
|
||||||
|
# prepare the default config
|
||||||
|
case ${ARCH} in
|
||||||
|
amd64)
|
||||||
|
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
die "Unsupported arch ${ARCH}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
rm "${S}/localversion" || die
|
||||||
|
local myversion="-xanmod1-dist"
|
||||||
|
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||||
|
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||||
|
|
||||||
|
local merge_configs=(
|
||||||
|
"${T}"/version.config
|
||||||
|
"${dist_conf_path}"/base.config
|
||||||
|
)
|
||||||
|
use debug || merge_configs+=(
|
||||||
|
"${dist_conf_path}"/no-debug.config
|
||||||
|
"${FILESDIR}"/no-debug-extra.config
|
||||||
|
)
|
||||||
|
|
||||||
|
kernel-build_merge_configs "${merge_configs[@]}"
|
||||||
|
}
|
22
virtual/dist-kernel/dist-kernel-6.1.45.ebuild
Normal file
22
virtual/dist-kernel/dist-kernel-6.1.45.ebuild
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
||||||
|
HOMEPAGE=""
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE=""
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
|| (
|
||||||
|
~sys-kernel/gentoo-kernel-${PV}
|
||||||
|
~sys-kernel/gentoo-kernel-bin-${PV}
|
||||||
|
~sys-kernel/vanilla-kernel-${PV}
|
||||||
|
~sys-kernel/xanmod-kernel-${PV}
|
||||||
|
~sys-kernel/xanmod-kernel-bin-${PV}
|
||||||
|
~sys-kernel/xanmod-rt-kernel-${PV}
|
||||||
|
)"
|
Loading…
Reference in New Issue
Block a user