sys-kernel/libre-kernel: 5.15.163; drop old versions.

This commit is contained in:
projectmoon 2024-08-06 11:24:45 +02:00
parent 0b8ee1d8d0
commit 5b19c41052
3 changed files with 4 additions and 156 deletions

View File

@ -1,14 +1,10 @@
DIST genpatches-5.15-168.base.tar.xz 6757748 BLAKE2B 32b6ebb14ed20864b51fef7cf5e81bee96e4b634829d10b0f29172c41129caf856442cb7c116a4982c6ec92324661daca1a0644febac00d2d39ddd43fe1902b9 SHA512 62b37104e6ac0c9eb09de4fd1657e945be70e90d4682537e762f63ca8ef34da713619d518bf6a0fb35aac4b1541a44d91ee18d806211c7e4cc4124449de49bfc
DIST genpatches-5.15-168.extras.tar.xz 3972 BLAKE2B 6cde986105f72e9282c78f59c8bb82bd3ac7c5c03adb3b3c1c657204624df2a28048ac0fe095759d5906bcd6677831d9962894b76390c2861482440120e72fe5 SHA512 6e067603b8e0e318703a59347d38d7aeb44a3097c39df07881c0f5250207b05442053a8ddf32069ead729ab4c36ccc1177ee8d82417ae2dbe16014b221d0d1ad
DIST genpatches-5.15-170.base.tar.xz 6810444 BLAKE2B 979cea1e399d312eac94ef4e4fa417132fce1d2522713e78234dff05db3fbcb13ead3fc679d2d0f42f801d8f796cbea47cfc2a64d212ea1b6bb3b312f775aa86 SHA512 0d75430202e4f9e59ec923fa9cc9a11276b10ec1dfff5fba30746d9e8c60bc82d2ff027463ac4b17ac048285438a7a6657679f6a5aeb2caf10391016163ff446
DIST genpatches-5.15-170.extras.tar.xz 4048 BLAKE2B dd052053b2f791b558938755ecd1946d55aa52374acaa98b666aa2017d678d3552d161b36e50bfce63b9a71f0e252cf298c8416e3c6ce8318854886e9c1caf67 SHA512 b2befc9604dd5fecdcdf7d58ca219fc780548b439780b64c3e3eabe5b3a53fb33af30af8a0807b6d5d327381d9541f94645dd0f8475bfdebbe0ca41fa9de7846
DIST genpatches-5.15-171.base.tar.xz 6912380 BLAKE2B 3d5572ca2854c0dcaa6000ffc7ccc6921115f95ada5e8902c5681c5e0367f525bc658afd504dfabf25111ad1a9a6f6de1bf90e699fec38be68997f1e780f4715 SHA512 176edf85ec8e212036ce90b83a1a00bae1ea84770d8cf60c4f313498a219644a29774da6be34247ad55e6def08b4fe2f1c4a880c528c1d98e63a65acb0ba5a2c DIST genpatches-5.15-171.base.tar.xz 6912380 BLAKE2B 3d5572ca2854c0dcaa6000ffc7ccc6921115f95ada5e8902c5681c5e0367f525bc658afd504dfabf25111ad1a9a6f6de1bf90e699fec38be68997f1e780f4715 SHA512 176edf85ec8e212036ce90b83a1a00bae1ea84770d8cf60c4f313498a219644a29774da6be34247ad55e6def08b4fe2f1c4a880c528c1d98e63a65acb0ba5a2c
DIST genpatches-5.15-171.extras.tar.xz 4048 BLAKE2B 823bf5a1a62a3a4f97ae296bf78581a3b8ba79134e8ec7098385e23783c317509f8320afb9ff0c25ebfd5b3fb32aa883afa970ac86c550c2d70613d8af7da5e3 SHA512 f2eacb2ebda97e86c20f24a6ab591b6c41fa831947610febce3589d32fb326d9439b63273c2ffe82630157b7559141598e5bb5edbe939e1bed45bca802085f1a DIST genpatches-5.15-171.extras.tar.xz 4048 BLAKE2B 823bf5a1a62a3a4f97ae296bf78581a3b8ba79134e8ec7098385e23783c317509f8320afb9ff0c25ebfd5b3fb32aa883afa970ac86c550c2d70613d8af7da5e3 SHA512 f2eacb2ebda97e86c20f24a6ab591b6c41fa831947610febce3589d32fb326d9439b63273c2ffe82630157b7559141598e5bb5edbe939e1bed45bca802085f1a
DIST genpatches-5.15-173.base.tar.xz 7038704 BLAKE2B 4cf6ffc38ba49bdcac210b165c9ce951283ec083f928ab14f19a16fd46e195730d169f50b45f8ff05e5d8ed2cf9164f4940659ea23a0ee9add30dc2e6ee83f84 SHA512 d875a5a2eb58ca5e0659b2cc2a360c5e837e73cb479508c0c8350456e58019025c96278727ab9877a103138d2e41653efee51ea3dff0bcadbd7da0e076a244ef
DIST genpatches-5.15-173.extras.tar.xz 4052 BLAKE2B e7d4effd4092467275f3f076676daa06caa2f647da1173a6132ebc30da1be78a085ddede5aa170c3d666f1808c4824f441dc5a1e873868fd72347a0c84149fff SHA512 7d272e7448a6688efc98a5e71eb8f83a978d82e9b177ae0b9b12c479078e23fb8dd66021f1ad488d9bfc056c89e7ee8642425dbd15607eaece249b565edc7fef
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6 DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f
DIST linux-libre-5.15.158-gnu.tar.xz 119885468 BLAKE2B 9451fa14f007a85bc148af5eeb25db70cfdc37e4b0acaf68a3b2f680a663d28a2fa36508d80c7f1316b09e61fd72fc56e06c4ccb614db393093e66e8e180d49f SHA512 17c53c39c17dd838c020f734d6f216902e77502e0dfd02dca25cdde9a3e4f73628acd7a002f3ac086fdea91b6e482b3f6683e45f660ffcdbf83ec955c9ab7296
DIST linux-libre-5.15.158-gnu.tar.xz.sign 195 BLAKE2B 6cdc41e4f93f6107717f0b77136868ed2e90cda44798b6d0824161afab31d0a8dd8ff17b22f7818239ea0e20acf0aff964f082a0a8f85a5b696cdf2d6be72aa2 SHA512 67ee755026e300ee464913c1f75fa257d28112a359068f8ff84154395d75eb5a32d35c661eda7ae03ed175cc8a7d7e66496e661d93dbe9fd8ed610ef07607771
DIST linux-libre-5.15.160-gnu.tar.xz 119889400 BLAKE2B c8a6252f0c7d4676d5d9e0f5b3f623ae4e1f3c6f9971954e5c1b41c2abf80e4b09c7683ac3d02e09ebc560148eec9141c8851899620c3884b625515e92c9d52f SHA512 76be59a4e5e3795e08b8c45caa0b782b1c834b1434603b5755849f7ac4c07030e3628343b8e9c36df6433b197001a114244821203255d44b4bd3508a66a4e34e
DIST linux-libre-5.15.160-gnu.tar.xz.sign 195 BLAKE2B e504fb4ccc649f7489e301d09f6a911539cce31f07321da3a7521936a864c52407fcd2e77900b0f1fdd2d3258cc4f2449020959569f0adb0c0ea2a4371c91c38 SHA512 e184dd6b81ea3b0a4d1eacca2cb513db08a2a7318d9f8df9076da2cf845229ba439424ab6fce21ed70207ca77cd6b1e1e25ff00533bbebe51614aaa4431f3d69
DIST linux-libre-5.15.161-gnu.tar.xz 119901612 BLAKE2B 8b93b9cf15b5b7ea1fee46371fc97f2ef7ca7b27bc40edc1604ac8f17b90548d6d80b28acebbd481c069a58a28787df74cbbe158f7dea489a35f069bddb4abf5 SHA512 ac9c178967cbd0220aa34f72f33b1a5f6dfd500adaec96656fc93d37f843023224c3cff5393261d2d38ac27dfdf5b2c4d0f0f2b124b9064c1450c32127ed38dd DIST linux-libre-5.15.161-gnu.tar.xz 119901612 BLAKE2B 8b93b9cf15b5b7ea1fee46371fc97f2ef7ca7b27bc40edc1604ac8f17b90548d6d80b28acebbd481c069a58a28787df74cbbe158f7dea489a35f069bddb4abf5 SHA512 ac9c178967cbd0220aa34f72f33b1a5f6dfd500adaec96656fc93d37f843023224c3cff5393261d2d38ac27dfdf5b2c4d0f0f2b124b9064c1450c32127ed38dd
DIST linux-libre-5.15.161-gnu.tar.xz.sign 195 BLAKE2B cbf5ef7846bacf4becec3501cf9569b17206217779893a63d1a6f1cabf0037b65f90fa99b1391eb44a35bc3779311cff0c98d32e5a5788d53d51b038e9a2ad78 SHA512 9bbb8c44bb17125c761b54797f2f6cc49cb9d69a719fd0afae390d901b14942e35ab7a6d756203b8fab2a2d4655e1033ea9c734cbc78a43c0b11212435f092ff DIST linux-libre-5.15.161-gnu.tar.xz.sign 195 BLAKE2B cbf5ef7846bacf4becec3501cf9569b17206217779893a63d1a6f1cabf0037b65f90fa99b1391eb44a35bc3779311cff0c98d32e5a5788d53d51b038e9a2ad78 SHA512 9bbb8c44bb17125c761b54797f2f6cc49cb9d69a719fd0afae390d901b14942e35ab7a6d756203b8fab2a2d4655e1033ea9c734cbc78a43c0b11212435f092ff
DIST linux-libre-5.15.163-gnu.tar.xz 119906028 BLAKE2B 45359962b3728ca0b891f530d49ea15a9588f6aca303f460c561ecf35c0e5ff09ad7b6f71f98ec71123e7e06823f7676bbaf0492e24e02e6fe479d5f061862b5 SHA512 545d20adefeb2ea22677694f3ed9a252d8f834a1f72a4316d9038207ca6588b80952e0e42b9383c07a313f975bdb5fe478049d7c3b416737e2a7026aeade5cb9
DIST linux-libre-5.15.163-gnu.tar.xz.sign 195 BLAKE2B d87805ff395ee77384fe4ec0af4c2f68e6915096f9f69b1b7a045262b45ed94c9d22294c82b9c6181e8f73256c45758d90edb8a924ef12fee5c2a8a0e0437e48 SHA512 8d87310e5ffaee5bc5aee287b8ce2002e301b5c0b30352ed7b065ecd60d68230d904f48b893cb15e5f926fbab4438b115f90c57151fbf574eb8a8bce4c0120b9

View File

@ -1,148 +0,0 @@
# Copyright 2020-2024 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build verify-sig
BASE_VER="$(ver_cut 1).$(ver_cut 2).$(ver_cut 3)"
RESTRICT="mirror"
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 10 ))
CONFIG_VER=5.15.19
CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
GENTOO_CONFIG_VER=g13
DESCRIPTION="GNU Linux-libre kernel built from upstream sources"
HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
SRC_URI+="
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.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/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
verify-sig? (
https://git.agnos.is/projectmoon/projectmoon-overlay-files/media/branch/main/sys-kernel/libre-kernel/linux-libre-${BASE_VER}-gnu.tar.xz.sign
https://linux-libre.fsfla.org/pub/linux-libre/releases/${BASE_VER}-gnu/linux-libre-${BASE_VER}-gnu.tar.xz.sign
)
amd64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
"
# Workdir is named linux-PV.
MY_P=linux-${PV}
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="amd64"
IUSE="debug +gentoo"
BDEPEND="
debug? ( dev-util/pahole )
verify-sig? ( sec-keys/openpgp-keys-linux-libre )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linux-libre.asc
pkg_pretend() {
if has_version -d sys-kernel/linux-firmware[redistributable]; then
ewarn "sys-kernel/linux-firmware was found installed on your system,"
ewarn "but it is configured to install non-Free firmware files."
ewarn "The non-Free firmware files may be required for some hardware"
ewarn "work. The Linux-libre kernel cannot load non-Free firmware."
ewarn "To install only the Free firmware, set the -redistributable"
ewarn "USE flag on sys-kernel/linux-firmware."
if use initramfs; then
elog
elog "If you decide to change or remove linux-firmware later, you"
elog "can rebuild the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
else
if ! has_version -d sys-kernel/linux-firmware; then
ewarn "sys-kernel/linux-firmware[-redistributable] not found installed"
ewarn "on your system. This package provides various firmware files that"
ewarn "may be needed for your hardware to work. If in doubt, it is recommended"
ewarn "to pause or abort the build process and install it before"
ewarn "resuming."
if use initramfs; then
elog
elog "If you decide to install linux-firmware later, you can rebuild"
elog "the initramfs via issuing a command equivalent to:"
elog
elog " emerge --config ${CATEGORY}/${PN}:${SLOT}"
fi
fi
fi
}
src_unpack() {
if use verify-sig; then
FILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz
SIGFILE="${DISTDIR}"/linux-libre-${PV}-gnu.tar.xz.sign
verify-sig_verify_detached $FILE $SIGFILE
fi
default
}
src_prepare() {
local PATCHES
if use gentoo; then
# Fiters out the kernel incremental version upgrade patches,
# leaving only the Gentoo bug fix/functionality changes. The
# regex removes any patches starting with 10XX to 14XX.
MY_PATCHES=$(find "${WORKDIR}"/*.patch -printf "%f\n" | grep -v -E -e '^1[01234][[:digit:]][[:digit:]]_.+.patch')
PATCHES=$(echo "$MY_PATCHES" | sed 's|^|'"${WORKDIR}/"'|g')
else
# If no patches are to be applied, apply only the config changes
# for a Gentoo installation, as this does not change any actual
# Kernel functionality.
PATCHES="${WORKDIR}/4567_distro-Gentoo-Kconfig.patch"
fi
default
local biendian=false
# prepare the default config
case ${ARCH} in
amd64)
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
sed -i 's/EXTRAVERSION = -gnu/EXTRAVERSION = /' "${S}"/Makefile || \
die 'could not remove EXTRAVERSION'
local myversion="-gnu-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
)
# this covers ppc64 and aarch64_be only for now
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
merge_configs+=( "${dist_conf_path}/big-endian.config" )
fi
kernel-build_merge_configs "${merge_configs[@]}"
}