diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4424 -> 4422 bytes | |||
-rw-r--r-- | sys-kernel/installkernel-gentoo/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/installkernel-gentoo/installkernel-gentoo-7.ebuild | 39 |
3 files changed, 41 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 0d317488f18c..e88725ac8d96 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/installkernel-gentoo/Manifest b/sys-kernel/installkernel-gentoo/Manifest index 69b69c8ee327..d75279dd27b9 100644 --- a/sys-kernel/installkernel-gentoo/Manifest +++ b/sys-kernel/installkernel-gentoo/Manifest @@ -1,5 +1,7 @@ DIST installkernel-gentoo-5.tar.gz 2883 BLAKE2B a50c9b19e0e8bb12ee29dd5e98859d274355637e6bf0ce71863e4f93c346b14c117f952bf00c1d04d7e9dce068a3da8097a3464d28d6ea96666ebcd3c9ec286a SHA512 69fb04b2e445fb02515c05c6fd10f301e6c1c5dc479a399178205b7690e4fe066149353e9c4b16ece5112dc081c05493ebd85ecbe5c939e7c8f59fda1bf5e8f1 DIST installkernel-gentoo-6.tar.gz 2907 BLAKE2B 61c519779445fc62191cbb2ceff90def95c1958e76e9fa1024846977b74801c0122c3d0ec245ad1be4161c9fe4ed56bef77f24a2e136e66d2abb8b45a4497f7a SHA512 a5ca2830db5ee076c1bb2cb320636b4c81f21270c62429d34a72cf1a933ecb4ef9abcb6d7929378eb26f63bc3093ad02a763bb51209652a35bb04495f8f3589f +DIST installkernel-gentoo-7.tar.gz 2962 BLAKE2B 675a1e33470ef10a38cf880591cc78ce3bf92dad20feaea740cee7cdad657b9a9b30f53ff8078b610ed09e7ec306dc3b565856c92755e3aad2a5ef387df0522b SHA512 9944b20884a0fb252dced70d33963f24af221ffa41b99f14f5f3569c155c48a0e0762fc70ca103723cac35740f94fb2120712c7ba41a442e9f971251365a194e EBUILD installkernel-gentoo-5.ebuild 1097 BLAKE2B 6d07f4c28134a26789b5d2729c51d650d417992e88c76628c34c93831f423f64204bec6e652ac095de3b2470e33f80a1633890b70dc8829f73f7670b8c1d2d9f SHA512 3a52ded60fb65fb43bd3d316147e91934f0080ac20f3a358119f98795a52f8800e3de8c51d24906aead92dd03d8498b62b641410770acfedeb42d52e72bf0a4b EBUILD installkernel-gentoo-6.ebuild 1105 BLAKE2B edd1fa8e673060091c061fa7578f2724242ce57e085a9672e0fe6f4d4fbc59db7192b788fcbd03602a4a6c7ba2878047bb1f43af1074f771b4f79d75888d42dc SHA512 21933b8ca2df1d97e49d80f2b2e4cde8eaac505768a4397091a2dd4e372ddd75bd270fc4dad6205cdff53fbeae6629f43b646414b0a774cb6de33af199f7b2f2 +EBUILD installkernel-gentoo-7.ebuild 1100 BLAKE2B 3f6da46a2c6b8c57d998e6de85c3cfd564e06dc7bf21b5e0d8312d340bbbdfa29759ebd86e2ee68e6d15ad7a099cef31ba9e3cc892c512e889a915f44bbac955 SHA512 1a48eb20de0dfd3d2d288f501fa211cfda501e07ecdb93b8227762dcf0d9ada76ed2efb1b62e6466a9dc259b5957becdc778c065126e17b193110b3cf4a58ae8 MISC metadata.xml 450 BLAKE2B 67538f7d8059e68c7b1e84b29d7ea4a579af9238fe65f4fb8fe29b83760b38b6e586c2b7d2e12b5bab31ac5484def40b2814d084d62f7cdf867b32cd85526788 SHA512 16efb4e63b44889af229a18c4da550a7be0e6a8ab2d7538aca6976bb0eca7d9be120e0d394e0ccf90f20e79a1f0b790da695ac355db278bb7b8d6e6415be29f9 diff --git a/sys-kernel/installkernel-gentoo/installkernel-gentoo-7.ebuild b/sys-kernel/installkernel-gentoo/installkernel-gentoo-7.ebuild new file mode 100644 index 000000000000..125ab408b04e --- /dev/null +++ b/sys-kernel/installkernel-gentoo/installkernel-gentoo-7.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Gentoo fork of installkernel script from debianutils" +HOMEPAGE="https://github.com/projg2/installkernel-gentoo" +SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux" +IUSE="grub" + +RDEPEND=" + >=sys-apps/debianutils-4.9-r1 + !<sys-apps/debianutils-4.9-r1[installkernel(+)] + !sys-kernel/installkernel-systemd-boot" + +src_install() { + into / + dosbin installkernel + doman installkernel.8 + keepdir /etc/kernel/postinst.d + + if use grub; then + exeinto /etc/kernel/postinst.d + doexe hooks/91-grub-mkconfig.install + fi +} + +pkg_postinst() { + if has 1 ${REPLACING_VERSIONS}; then + ewarn "In v2, the initramfs filename has changed to initramfs*.img, to match" + ewarn "the default names used by dracut and genkernel-4. If your bootloader" + ewarn "config uses the verbatim filename, please update it." + fi +} |