[sys-kernel/dracut] sync
This commit is contained in:
parent
e463189d82
commit
a58474841e
@ -1 +1 @@
|
|||||||
DIST dracut-060_pre20231030.tar.gz 498954 BLAKE2B ce47f06e1304f732cbad66046c70cbcb03d33d69b9c3e87a4e2e2d30fa837b3b36949462cec9b06125e824ad82db45bd7516c22a1c84ec6884790b37e9c65ab1 SHA512 0cd2fefcd624758063c77836989260a3d5b0d533004c2395124c8200c31602f5d7d0b8c9491de37ce4afb2c5009b2cf944ddd3bb9e0e11120d84176cb1e7423c
|
DIST dracut-060_pre20240104.tar.gz 499965 BLAKE2B 935e0e5da348426d69c6dab6b91078f126cadd9ffc6a32378e79cd93b1dbadff35899efc3786fc12bf5a6741843d3637b0c98cc71fe4a96a8caf053ae887bac3 SHA512 f7818265f082e9c05ebb81a91b67fb9b1d3bf8b2433b7e6ea9be6bee43d28cd1ee48577648e1d9b3729c17608b028d294c13bf5d4db4cc5a18e3b007eb2cd67e
|
||||||
|
@ -51,7 +51,7 @@ RDEPEND="
|
|||||||
sys-libs/libselinux
|
sys-libs/libselinux
|
||||||
sys-libs/libsepol
|
sys-libs/libsepol
|
||||||
)
|
)
|
||||||
!dracut-cpio? ( app-arch/cpio )
|
!dracut-cpio? ( app-alternatives/cpio )
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
>=sys-apps/kmod-23
|
>=sys-apps/kmod-23
|
||||||
@ -72,6 +72,7 @@ QA_MULTILIB_PATHS="usr/lib/dracut/.*"
|
|||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
|
"${FILESDIR}"/gentoo-ldconfig-paths-r1.patch
|
||||||
"${FILESDIR}"/dracut-060-fix-resume-hostonly.patch
|
"${FILESDIR}"/dracut-060-fix-resume-hostonly.patch
|
||||||
|
"${FILESDIR}"/dracut-060-grub-layout.patch
|
||||||
"${FILESDIR}"/dracut-060-systemd-255.patch
|
"${FILESDIR}"/dracut-060-systemd-255.patch
|
||||||
"${FILESDIR}"/dracut-059-install-new-systemd-hibernate-resume.service.patch
|
"${FILESDIR}"/dracut-059-install-new-systemd-hibernate-resume.service.patch
|
||||||
)
|
)
|
@ -51,7 +51,7 @@ RDEPEND="
|
|||||||
sys-libs/libselinux
|
sys-libs/libselinux
|
||||||
sys-libs/libsepol
|
sys-libs/libsepol
|
||||||
)
|
)
|
||||||
!dracut-cpio? ( app-arch/cpio )
|
!dracut-cpio? ( app-alternatives/cpio )
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
>=sys-apps/kmod-23
|
>=sys-apps/kmod-23
|
||||||
|
22
sys-kernel/dracut/files/dracut-060-grub-layout.patch
Normal file
22
sys-kernel/dracut/files/dracut-060-grub-layout.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Ensures that the generated initrd is installed in the "new" way via the
|
||||||
|
staging area in the grub layout. This prevents accidentally creating
|
||||||
|
an UKI named initrd, and also ensures that BOOT_ROOT and
|
||||||
|
KERNEL_INSTALL_INITRD_GENERATOR are respected when the layout is set to grub.
|
||||||
|
|
||||||
|
Downstream only since the grub layout for using grub with systemd's
|
||||||
|
kernel-install is not supported by systemd upstream and therefore this
|
||||||
|
patch is unlikely to be accepted by dracut upstream.
|
||||||
|
|
||||||
|
diff --git a/install.d/50-dracut.install b/install.d/50-dracut.install
|
||||||
|
index 441414a..cfd4fe7 100755
|
||||||
|
--- a/install.d/50-dracut.install
|
||||||
|
+++ b/install.d/50-dracut.install
|
||||||
|
@@ -30,7 +30,7 @@ if [[ $KERNEL_INSTALL_LAYOUT == "uki" && -n $KERNEL_INSTALL_STAGING_AREA ]]; the
|
||||||
|
else
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
-elif [[ $KERNEL_INSTALL_LAYOUT == "bls" && -n $KERNEL_INSTALL_STAGING_AREA ]]; then
|
||||||
|
+elif [[ $KERNEL_INSTALL_LAYOUT == "bls" || $KERNEL_INSTALL_LAYOUT == "grub" && -n $KERNEL_INSTALL_STAGING_AREA ]]; then
|
||||||
|
BOOT_DIR_ABS="$KERNEL_INSTALL_STAGING_AREA"
|
||||||
|
if [[ -z $KERNEL_INSTALL_INITRD_GENERATOR || $KERNEL_INSTALL_INITRD_GENERATOR == "dracut" ]]; then
|
||||||
|
IMAGE="initrd"
|
Loading…
Reference in New Issue
Block a user