diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-12-15 10:26:25 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-12-15 10:31:46 -0800 |
commit | a9e247f66fd62c67fb7be9b5888768bc72bb67e3 (patch) | |
tree | 83ed140e4e8fb575df526ca139d6303ef51e38c2 /sys-kernel/installkernel-gentoo | |
parent | sys-cluster/nomad: add 1.4.3 (diff) | |
download | gentoo-a9e247f66fd62c67fb7be9b5888768bc72bb67e3.tar.gz gentoo-a9e247f66fd62c67fb7be9b5888768bc72bb67e3.tar.bz2 gentoo-a9e247f66fd62c67fb7be9b5888768bc72bb67e3.zip |
sys-kernel/installkernel-gentoo: add 6
EAPI 7 -> 8
update SRC_URI
https://github.com/projg2/installkernel-gentoo/pull/8
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-kernel/installkernel-gentoo')
-rw-r--r-- | sys-kernel/installkernel-gentoo/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/installkernel-gentoo/installkernel-gentoo-6.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-kernel/installkernel-gentoo/Manifest b/sys-kernel/installkernel-gentoo/Manifest index 11c3c70a32b7..06e2809f57b7 100644 --- a/sys-kernel/installkernel-gentoo/Manifest +++ b/sys-kernel/installkernel-gentoo/Manifest @@ -1 +1,2 @@ DIST installkernel-gentoo-5.tar.gz 2883 BLAKE2B a50c9b19e0e8bb12ee29dd5e98859d274355637e6bf0ce71863e4f93c346b14c117f952bf00c1d04d7e9dce068a3da8097a3464d28d6ea96666ebcd3c9ec286a SHA512 69fb04b2e445fb02515c05c6fd10f301e6c1c5dc479a399178205b7690e4fe066149353e9c4b16ece5112dc081c05493ebd85ecbe5c939e7c8f59fda1bf5e8f1 +DIST installkernel-gentoo-6.tar.gz 2907 BLAKE2B 61c519779445fc62191cbb2ceff90def95c1958e76e9fa1024846977b74801c0122c3d0ec245ad1be4161c9fe4ed56bef77f24a2e136e66d2abb8b45a4497f7a SHA512 a5ca2830db5ee076c1bb2cb320636b4c81f21270c62429d34a72cf1a933ecb4ef9abcb6d7929378eb26f63bc3093ad02a763bb51209652a35bb04495f8f3589f 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 +} |