diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-27 22:35:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-27 22:35:23 +0100 |
commit | ebac931cc23ca55abe982e67b9a4f06f748d0bef (patch) | |
tree | 0fd9fe91d6043cbb0759eff5db6c440454dd4dcc /eclass/dist-kernel-utils.eclass | |
parent | 1a7ba844ad2c84ac4ba0d37f510285e778c7ffc4 (diff) |
gentoo auto-resync : 27:07:2023 - 22:35:23
Diffstat (limited to 'eclass/dist-kernel-utils.eclass')
-rw-r--r-- | eclass/dist-kernel-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index 666896028669..6903183b6efb 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -171,8 +171,8 @@ dist-kernel_reinstall_initramfs() { eerror "Initramfs will not be updated. Please reinstall your kernel." return fi - if [[ ! -f ${initramfs_path} ]]; then - einfo "No initramfs found at ${initramfs_path}" + if [[ ! -f ${initramfs_path} && ! -f ${initramfs_path%/*}/uki.efi ]]; then + einfo "No initramfs or uki found at ${image_path}" return fi |