diff options
author | 2021-12-27 14:12:16 +0800 | |
---|---|---|
committer | 2021-12-27 14:12:16 +0800 | |
commit | 07223c13144d05b3854b29ea74c6c1660ad7cb19 (patch) | |
tree | f4967d50340ffc66186d97bde6b97c7332604aa4 | |
parent | www-client/firefox: initial experimental ebuild for riscv (diff) | |
download | riscv-07223c13144d05b3854b29ea74c6c1660ad7cb19.tar.gz riscv-07223c13144d05b3854b29ea74c6c1660ad7cb19.tar.bz2 riscv-07223c13144d05b3854b29ea74c6c1660ad7cb19.zip |
sys-kernel/sifive-sources: kernel source for sifive unmatched/unleashed
the kernel source based on sys-kernel/gentoo-sources with sifive patches
applied. original patches took from [1]
[1] https://github.com/sifive/meta-sifive
43d97cbe5c6b47702f2edcaa01cef7b371663db2
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r-- | sys-kernel/sifive-sources/Manifest | 5 | ||||
-rw-r--r-- | sys-kernel/sifive-sources/metadata.xml | 14 | ||||
-rw-r--r-- | sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild | 35 |
3 files changed, 54 insertions, 0 deletions
diff --git a/sys-kernel/sifive-sources/Manifest b/sys-kernel/sifive-sources/Manifest new file mode 100644 index 0000000..afa2d1f --- /dev/null +++ b/sys-kernel/sifive-sources/Manifest @@ -0,0 +1,5 @@ +DIST genpatches-5.15-13.base.tar.xz 604984 BLAKE2B c674c2eefbc18f2a8d182fa95606714b9a74420d7a3ebb32138b714743f11a7c7b278d77d33747bd1fa1a46e8f8e8364a9238ce3acee6134f889fae267ab0239 SHA512 0741c183cf8def586fc17fcb2a44d81dd5494ac9430a5ca07d239079f41a7a24bb686406e0ecfccdeb8a38e33e99831d2b355d0e8e65e8dd2e30db5f4b0bbe4d +DIST genpatches-5.15-13.experimental.tar.xz 69424 BLAKE2B db1fa9e3535b955eefc9824053b05f16baa8492715ed012df87373cdb73391e36530618968302082122c9e40678a393f83b89bc2dece09fedead0aacdac3f5e5 SHA512 5abb903dc816d5f17c119dec6edea03571fb8293bd5a5a51bc3f7cbeee11e025915eae9c7ca0a25518d8a9d7efbfddf98c38265e4e8200dc10938edaa2003567 +DIST genpatches-5.15-13.extras.tar.xz 3852 BLAKE2B 131550ddf5d1d67808b98040e88bb75d9020ee99b7907d0b79839a366c52e83c5bee6a322f12363ca0cfa9816d17b36002b5ace1620ef80b386ee8c09fd23866 SHA512 79fe958fcd5b3c4c7406374431e28a482b7512214c0ddbbf24d5f4a42e7feafb3f235f266b0023e666348c2c1888d1c678d726403b2f873d55991e5aaef4b74c +DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a +DIST sifive-patches-5.15.11-0.patch.xz 4384 BLAKE2B ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd SHA512 884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697 diff --git a/sys-kernel/sifive-sources/metadata.xml b/sys-kernel/sifive-sources/metadata.xml new file mode 100644 index 0000000..74ee2d6 --- /dev/null +++ b/sys-kernel/sifive-sources/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>kernel@gentoo.org</email> + <name>Gentoo Kernel Project</name> +</maintainer> +<use> + <flag name="experimental">Apply experimental patches; for more information, see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental".</flag> +</use> +<upstream> + <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> +</upstream> +</pkgmetadata> diff --git a/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild b/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild new file mode 100644 index 0000000..e0bd086 --- /dev/null +++ b/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="13" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" + +inherit kernel-2 +detect_version +detect_arch + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +IUSE="experimental" + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +SIFIVE_PATCH="sifive-patches-${PV}-0.patch.xz" +SIFIVE_URI="https://dev.gentoo.org/~dlan/distfiles/genpatches/${SIFIVE_PATCH}" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SIFIVE_URI}" + +UNIPATCH_LIST="${DISTDIR}/${SIFIVE_PATCH}" +UNIPATCH_STRICTORDER="yes" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} |