summaryrefslogtreecommitdiff
path: root/sys-kernel/installkernel-gentoo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-15 21:34:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-15 21:34:37 +0000
commitda407288bb9fc771488c3fee13fc2f8561681e66 (patch)
treef424c3ecbe17ec2f2e75f726f6337bed848b2ccf /sys-kernel/installkernel-gentoo
parentdc0ab0fa29dee64ee586cc23ddd306c0ad9ae7dc (diff)
gentoo auto-resync : 15:12:2022 - 21:34:37
Diffstat (limited to 'sys-kernel/installkernel-gentoo')
-rw-r--r--sys-kernel/installkernel-gentoo/Manifest4
-rw-r--r--sys-kernel/installkernel-gentoo/installkernel-gentoo-6.ebuild39
-rw-r--r--sys-kernel/installkernel-gentoo/metadata.xml3
3 files changed, 45 insertions, 1 deletions
diff --git a/sys-kernel/installkernel-gentoo/Manifest b/sys-kernel/installkernel-gentoo/Manifest
index aced134cb71b..69b69c8ee327 100644
--- a/sys-kernel/installkernel-gentoo/Manifest
+++ b/sys-kernel/installkernel-gentoo/Manifest
@@ -1,3 +1,5 @@
DIST installkernel-gentoo-5.tar.gz 2883 BLAKE2B a50c9b19e0e8bb12ee29dd5e98859d274355637e6bf0ce71863e4f93c346b14c117f952bf00c1d04d7e9dce068a3da8097a3464d28d6ea96666ebcd3c9ec286a SHA512 69fb04b2e445fb02515c05c6fd10f301e6c1c5dc479a399178205b7690e4fe066149353e9c4b16ece5112dc081c05493ebd85ecbe5c939e7c8f59fda1bf5e8f1
+DIST installkernel-gentoo-6.tar.gz 2907 BLAKE2B 61c519779445fc62191cbb2ceff90def95c1958e76e9fa1024846977b74801c0122c3d0ec245ad1be4161c9fe4ed56bef77f24a2e136e66d2abb8b45a4497f7a SHA512 a5ca2830db5ee076c1bb2cb320636b4c81f21270c62429d34a72cf1a933ecb4ef9abcb6d7929378eb26f63bc3093ad02a763bb51209652a35bb04495f8f3589f
EBUILD installkernel-gentoo-5.ebuild 1097 BLAKE2B 6d07f4c28134a26789b5d2729c51d650d417992e88c76628c34c93831f423f64204bec6e652ac095de3b2470e33f80a1633890b70dc8829f73f7670b8c1d2d9f SHA512 3a52ded60fb65fb43bd3d316147e91934f0080ac20f3a358119f98795a52f8800e3de8c51d24906aead92dd03d8498b62b641410770acfedeb42d52e72bf0a4b
-MISC metadata.xml 358 BLAKE2B 25e707ddf52583e0680bcf806cf76edbca61c0bfe8525b2a8d1141beb1a51f4ae0e2fb179d1bc019fdba7874244eada7cb4dc719b9ee23c60cf0357d2a840bdc SHA512 96fb04e7e7261d5192359f68e81e3d4cab5d56e2bdeb937c9044c2585b0718895708fca6342d3a3ba95173306112cb08d179b78a6bcca7c048f22a0ddc4784c9
+EBUILD installkernel-gentoo-6.ebuild 1105 BLAKE2B edd1fa8e673060091c061fa7578f2724242ce57e085a9672e0fe6f4d4fbc59db7192b788fcbd03602a4a6c7ba2878047bb1f43af1074f771b4f79d75888d42dc SHA512 21933b8ca2df1d97e49d80f2b2e4cde8eaac505768a4397091a2dd4e372ddd75bd270fc4dad6205cdff53fbeae6629f43b646414b0a774cb6de33af199f7b2f2
+MISC metadata.xml 450 BLAKE2B 67538f7d8059e68c7b1e84b29d7ea4a579af9238fe65f4fb8fe29b83760b38b6e586c2b7d2e12b5bab31ac5484def40b2814d084d62f7cdf867b32cd85526788 SHA512 16efb4e63b44889af229a18c4da550a7be0e6a8ab2d7538aca6976bb0eca7d9be120e0d394e0ccf90f20e79a1f0b790da695ac355db278bb7b8d6e6415be29f9
diff --git a/sys-kernel/installkernel-gentoo/installkernel-gentoo-6.ebuild b/sys-kernel/installkernel-gentoo/installkernel-gentoo-6.ebuild
new file mode 100644
index 000000000000..b830629ca50e
--- /dev/null
+++ b/sys-kernel/installkernel-gentoo/installkernel-gentoo-6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2019-2022 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
+}
diff --git a/sys-kernel/installkernel-gentoo/metadata.xml b/sys-kernel/installkernel-gentoo/metadata.xml
index 4a04a3be22c9..adc429f52645 100644
--- a/sys-kernel/installkernel-gentoo/metadata.xml
+++ b/sys-kernel/installkernel-gentoo/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="grub">Re-generate grub.cfg on each kernel installation</flag>
</use>
+ <upstream>
+ <remote-id type="github">projg2/installkernel-gentoo</remote-id>
+ </upstream>
</pkgmetadata>