diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-05 11:04:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-05 11:04:31 +0000 |
commit | 5944ce177026c93b7dab690db9d970567ddbf75f (patch) | |
tree | 98cde802bce7341b8039a2189a44a6e85f5a426b /sys-kernel | |
parent | d0835364e1877539c2b8ce70c1941ebfedd2a91b (diff) |
gentoo auto-resync : 05:12:2023 - 11:04:31
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4575 -> 4582 bytes | |||
-rw-r--r-- | sys-kernel/installkernel-gentoo/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/installkernel-gentoo/installkernel-gentoo-8.ebuild | 56 | ||||
-rw-r--r-- | sys-kernel/installkernel-gentoo/metadata.xml | 3 |
4 files changed, 62 insertions, 1 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 2f10ffe2acf6..8cc5abb79979 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 91d54cd5c417..8cf42c95293f 100644 --- a/sys-kernel/installkernel-gentoo/Manifest +++ b/sys-kernel/installkernel-gentoo/Manifest @@ -1,3 +1,5 @@ DIST installkernel-gentoo-7.tar.gz 2962 BLAKE2B 675a1e33470ef10a38cf880591cc78ce3bf92dad20feaea740cee7cdad657b9a9b30f53ff8078b610ed09e7ec306dc3b565856c92755e3aad2a5ef387df0522b SHA512 9944b20884a0fb252dced70d33963f24af221ffa41b99f14f5f3569c155c48a0e0762fc70ca103723cac35740f94fb2120712c7ba41a442e9f971251365a194e +DIST installkernel-gentoo-8.tar.gz 4067 BLAKE2B 0b414331be8d257d79d7f8b8e4bda7e162eb414712a598d5ab0c5ee2188ff4506ee2af6ea15e937ad4e396599515c19614547c92f79e9f0d593f6c48c39441ec SHA512 b15a8ebac59693dd7450379e4054967ab35d3423b0db3e43da3dbac83d47fca5c537d32e6182423cf989833823c1f52ea147cd02091fbca24ee2c39aeea895c7 EBUILD installkernel-gentoo-7.ebuild 1092 BLAKE2B b549038bc3464d9065a8ee677ba52ca98a2d30bc61acaf79220f0402731621ef2f00203b9fecf0103dfce32153db9f9cc7fcecfc5b22a5d028408ccc02891c0f SHA512 e3585dca416081f92a7fb082da1e3924d569d8ffe91cf27dec5d4411467fec1a77b22b2bea95ef516606ed3c1c40ae7a4f523bd08efea56ba97efae967522c20 -MISC metadata.xml 450 BLAKE2B 67538f7d8059e68c7b1e84b29d7ea4a579af9238fe65f4fb8fe29b83760b38b6e586c2b7d2e12b5bab31ac5484def40b2814d084d62f7cdf867b32cd85526788 SHA512 16efb4e63b44889af229a18c4da550a7be0e6a8ab2d7538aca6976bb0eca7d9be120e0d394e0ccf90f20e79a1f0b790da695ac355db278bb7b8d6e6415be29f9 +EBUILD installkernel-gentoo-8.ebuild 1417 BLAKE2B b263762fb0a7c14a6edaf6f263b822d4cc419aed9f4aaeffb0a27424d86d446e199a3f5e0ecbc0f34e82b3ac1cf78e833bee61e40ac20ba9176c4942c429da54 SHA512 9a8899bb76f0232664fa0f2fa2b1faa2eda3e5ccc97543dcfcc17f49ded511f3f107132d47a183ffb41bf3728639c29466134853bdf0e35685cdb46d1fd91e4a +MISC metadata.xml 758 BLAKE2B 23f9c298cc5ea0ab25b90062088fd60af4d18dc99466c8754664126f78e44642fe9c43dd53cbaeb61a23b080feb96f3255402cd40383f8786bf138b1664cad72 SHA512 b3908de852c6099bfc79f82102ed80e6fe26db97a98f2c461cef1ed6ebb67f51265c26a37e819402d18990c74b1a97327a88f8ad039de523522612b101f7b6da diff --git a/sys-kernel/installkernel-gentoo/installkernel-gentoo-8.ebuild b/sys-kernel/installkernel-gentoo/installkernel-gentoo-8.ebuild new file mode 100644 index 000000000000..92187583ad00 --- /dev/null +++ b/sys-kernel/installkernel-gentoo/installkernel-gentoo-8.ebuild @@ -0,0 +1,56 @@ +# 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="dracut grub uki ukify" + +RDEPEND=" + >=sys-apps/debianutils-4.9-r1 + !<sys-apps/debianutils-4.9-r1[installkernel(+)] + !sys-kernel/installkernel-systemd +" + +src_install() { + into / + dosbin installkernel + doman installkernel.8 + keepdir /etc/kernel/postinst.d + keepdir /etc/kernel/preinst.d + + if use dracut; then + exeinto /etc/kernel/preinst.d + doexe hooks/50-dracut.install + fi + + if use grub; then + exeinto /etc/kernel/postinst.d + doexe hooks/91-grub-mkconfig.install + fi + + if use uki; then + exeinto /etc/kernel/postinst.d + doexe hooks/90-uki-copy.install + fi + + if use ukify; then + exeinto /etc/kernel/preinst.d + doexe hooks/60-ukify.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 adc429f52645..b8c60006abec 100644 --- a/sys-kernel/installkernel-gentoo/metadata.xml +++ b/sys-kernel/installkernel-gentoo/metadata.xml @@ -6,7 +6,10 @@ <name>Distribution Kernel Project</name> </maintainer> <use> + <flag name="dracut">Generate an initrd or UKI on each kernel installation</flag> <flag name="grub">Re-generate grub.cfg on each kernel installation</flag> + <flag name="uki">Install UKIs to ESP/EFI/Linux for EFI stub booting and/or bootloaders with support for auto-discovering UKIs</flag> + <flag name="ukify">Build an UKI with systemd's ukify on each kernel installation</flag> </use> <upstream> <remote-id type="github">projg2/installkernel-gentoo</remote-id> |