From a6611f9bc959724ec73dbaa6f1c608698c387a8c Mon Sep 17 00:00:00 2001 From: V3n3RiX <venerix@koprulu.sector> Date: Fri, 10 Nov 2023 16:37:59 +0000 Subject: gentoo auto-resync : 10:11:2023 - 16:37:59 --- eclass/Manifest.gz | Bin 38803 -> 38802 bytes eclass/dist-kernel-utils.eclass | 14 -------------- eclass/git-r3.eclass | 10 ++++++++++ eclass/kernel-install.eclass | 2 +- 4 files changed, 11 insertions(+), 15 deletions(-) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index 686a40a40b4d..66478b630d5d 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index 67ae2f7b510d..d455c88ebee1 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -125,20 +125,6 @@ dist-kernel_install_kernel() { # install the combined executable in place of kernel image=${initrd%/*}/uki.efi mv "${initrd}" "${image}" || die - # We moved the generated initrd, prevent dracut from running again - # https://github.com/dracutdevs/dracut/pull/2405 - shopt -s nullglob - local plugins=() - for file in "${EROOT}"/etc/kernel/install.d/*.install; do - plugins+=( "${file}" ) - done - for file in "${EROOT}"/usr/lib/kernel/install.d/*.install; do - if ! has "${file##*/}" 50-dracut.install 51-dracut-rescue.install "${plugins[@]##*/}"; then - plugins+=( "${file}" ) - fi - done - shopt -u nullglob - export KERNEL_INSTALL_PLUGINS="${KERNEL_INSTALL_PLUGINS} ${plugins[@]}" if [[ ${KERNEL_IUSE_SECUREBOOT} ]]; then # Ensure the uki is signed if dracut hasn't already done so. diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 83c5ab590c39..a08845364296 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -120,6 +120,14 @@ fi # usage. : "${EGIT_LFS_CLONE_TYPE:=shallow}" +# @ECLASS_VARIABLE: EVCS_STORE_DIRS +# @OUTPUT_VARIABLE +# @DESCRIPTION: +# Record of names of all the repositories directories being cloned in the git3_src. +# This is useful in the case of ebuild that fetch multiple repos and +# it would be used by eclean to clean them up. +EVCS_STORE_DIRS=() + # @ECLASS_VARIABLE: EGIT3_STORE_DIR # @USER_VARIABLE # @DEFAULT_UNSET @@ -360,6 +368,8 @@ _git-r3_set_gitdir() { GIT_DIR=${EGIT3_STORE_DIR}/${repo_name} + EVCS_STORE_DIRS+=( "${GIT_DIR}" ) + if [[ ! -d ${EGIT3_STORE_DIR} && ! ${EVCS_OFFLINE} ]]; then ( addwrite / diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 03638cd2c57b..ea6ba3569a17 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -52,7 +52,7 @@ IDEPEND=" sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd ) - initramfs? ( >=sys-kernel/dracut-049-r3 )" + initramfs? ( >=sys-kernel/dracut-059-r4 )" # needed by objtool that is installed along with the kernel and used # to build external modules # NB: linux-mod.eclass also adds this dep but it's cleaner to have -- cgit v1.2.3