summaryrefslogtreecommitdiff
path: root/sys-kernel/installkernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
commitb6fa31c964a602f8461a77d5b83355e8750c12eb (patch)
tree323fa7af31640b3ea8bb57fa7a927713f3d64769 /sys-kernel/installkernel
parent868fd5dc8aab84930cfaa5252b8be06b35552765 (diff)
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'sys-kernel/installkernel')
-rw-r--r--sys-kernel/installkernel/Manifest4
-rw-r--r--sys-kernel/installkernel/installkernel-39-r2.ebuild (renamed from sys-kernel/installkernel/installkernel-39-r1.ebuild)6
-rw-r--r--sys-kernel/installkernel/metadata.xml3
3 files changed, 9 insertions, 4 deletions
diff --git a/sys-kernel/installkernel/Manifest b/sys-kernel/installkernel/Manifest
index 0d23a8d628a0..bde6c49b4897 100644
--- a/sys-kernel/installkernel/Manifest
+++ b/sys-kernel/installkernel/Manifest
@@ -1,3 +1,3 @@
DIST installkernel-39.tar.gz 21689 BLAKE2B 22c76e735fb9849ff2b2daf44d428568435495251960e0f518ab12167d57c31bba670738fd51c4d564f95adcfcbf60b5324d048a1f6bd7ebf9d1b5258f0371b3 SHA512 5a5d2035fa737ede3aa9e668ac18d1777f77f15a38fb685e3e488cc06ef5da99d55789e8e5770e056025f224ff5a5ec57e75fa08cf6f3ec3a0b9dabdfe6fefaa
-EBUILD installkernel-39-r1.ebuild 6475 BLAKE2B e1261d4613c563f621681ca99de1a3f4ffdf95f4fc42ed105241e4ec31d4b037e1ea151c64597be82ef03db94671583a3ca9458e456a169289f570ed22bc10af SHA512 1748b2a2f824ca6fe996e99eaa177b66b152375932d00c26d90f53a1b71e1bfc70ae98ebf47076fde1ce8f87dd3c1b3d9b9f35dc4d873c737b697073b121d4ba
-MISC metadata.xml 1288 BLAKE2B a80d5022072c362c1787723b7222638f01993675f5c3bbc87962d998497dcd1673664ef4802cb8b3bce7ad81825521be1747c00f6ef5f5e1c9e2d976b09c8d85 SHA512 d51a5b1c5977049a9a499c2f7edcd95ea5e2b47c4fb49fa76d3df9839b2ad7652bbfff41fae823da3b86a52f2b9cb120759a15e5e9967e7b1148ea3bc92ed793
+EBUILD installkernel-39-r2.ebuild 6609 BLAKE2B 3771de41d1b828f04606742669e2bc7b811526bb12edcf4757fb3111b469b72a538b3593045684c3cbefa7c4c9201630b7fe52cb0a0068c7018d282f587fcde8 SHA512 b53e9b3c7625cdce03490c57f38a7d62a78e253f732e57a2ec7249b2b40a0f268ba17dca33d36d385dae8aca4f07076fb449c4f60b28d3a157cd68686da336f5
+MISC metadata.xml 1379 BLAKE2B c141302cfe1dddf7d11d68cafdf97437f037caab171b1c1b071cc366b6a98acb5940c1ab73bcc49bf97fe9c852ad28c8923fbf00f0a51f2a02174a5d542f9edf SHA512 f5a20936b0b569fd2a8eadb76eeb8d7ec8c905b0e15ae285c351d82bef0c001e64d47a19774a6b958b845a20adc3df5e7cc583649dfcf9ef7c684132498e8bf8
diff --git a/sys-kernel/installkernel/installkernel-39-r1.ebuild b/sys-kernel/installkernel/installkernel-39-r2.ebuild
index 719dc80ce7be..2b11a30d57c5 100644
--- a/sys-kernel/installkernel/installkernel-39-r1.ebuild
+++ b/sys-kernel/installkernel/installkernel-39-r2.ebuild
@@ -17,12 +17,13 @@ S="${WORKDIR}/${PN}-gentoo-${PV}"
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 efistub grub refind systemd systemd-boot uki ukify"
+IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
REQUIRED_USE="
?? ( efistub grub systemd-boot )
refind? ( !systemd-boot !grub )
systemd-boot? ( systemd )
ukify? ( uki )
+ ?? ( dracut ugrd )
"
# Only select one flag that sets "layout=", except for uki since grub,
# systemd-boot, and efistub booting are all compatible with UKIs and
@@ -77,6 +78,7 @@ RDEPEND="
sys-apps/systemd-utils[boot(-),ukify(-)]
)
)
+ ugrd? ( sys-kernel/ugrd )
!=sys-apps/systemd-255.2-r1
!=sys-apps/systemd-255.2-r0
!~sys-apps/systemd-255.1
@@ -141,6 +143,8 @@ src_install() {
echo "uki_generator=none" >> "${T}/install.conf" || die
fi
fi
+ elif use ugrd; then
+ echo "initrd_generator=ugrd" >> "${T}/install.conf" || die
else
echo "initrd_generator=none" >> "${T}/install.conf" || die
fi
diff --git a/sys-kernel/installkernel/metadata.xml b/sys-kernel/installkernel/metadata.xml
index ba5cbd9d6764..70634cd58829 100644
--- a/sys-kernel/installkernel/metadata.xml
+++ b/sys-kernel/installkernel/metadata.xml
@@ -6,12 +6,13 @@
<name>Distribution Kernel Project</name>
</maintainer>
<use>
- <flag name="dracut">Generate an initrd or UKI on each kernel installation</flag>
+ <flag name="dracut">Generate an initramfs or UKI on each kernel installation</flag>
<flag name="efistub">EXPERIMENTAL: Update UEFI configuration on each kernel installation</flag>
<flag name="grub">Re-generate grub.cfg on each kernel installation, used grub.cfg is overridable with GRUB_CFG env var</flag>
<flag name="refind">Install a Gentoo icon for rEFInd alongside the (unified) kernel image, used icon is overridable with REFIND_ICON env var</flag>
<flag name="systemd">Use systemd's kernel-install to install kernels, overridable with SYSTEMD_KERNEL_INSTALL env var</flag>
<flag name="systemd-boot">Use systemd-boot's native layout by default</flag>
+ <flag name="ugrd">Generate an initramfs using UGRD 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>