About to execute /usr/lib/kernel/install.d/90-loaderentry.install add 6.5.11-gentoo-dist /efi/dedd82f833a632a43a4a7efb63a84bf0/6.5.11-gentoo-dist /usr/src/linux-6.5.11-gentoo-dist/arch/x86/boot/bzImage Successfully forked off '(direxec)' as PID 45395. Installing /efi/dedd82f833a632a43a4a7efb63a84bf0/6.5.11-gentoo-dist/initrd /usr/bin/install: error writing '/efi/dedd82f833a632a43a4a7efb63a84bf0/6.5.11-gentoo-dist/initrd': No space left on device Error: could not copy '/tmp/kernel-install.staging.rgiGBz/initrd' to '/efi/dedd82f833a632a43a4a7efb63a84bf0/6.5.11-gentoo-dist/initrd'. /usr/lib/kernel/install.d/90-loaderentry.install failed with exit status 1. /usr/lib/kernel/install.d/90-loaderentry.install failed with exit status 1. (sd-executor) failed with exit status 1. [ ok ] >>> sys-kernel/gentoo-kernel-bin-6.5.11 merged. Reproducible: Always
Created attachment 875148 [details] larger tail of emerge process
In dist-kernel-utils.eclass, installkernel "${version}" "${image}" "${map}" returns 0 when this occurs
(In reply to Kobboi from comment #2) > In dist-kernel-utils.eclass, installkernel "${version}" "${image}" "${map}" > returns 0 when this occurs What if you add || exit 1 to the kernel-install command in /sbin/installkernel?
Which systemd version is this?
I can reproduce the problem by adding exit 1 into any of the kernel-install plugins and running 'kernel-install add 6.6.1-gentoo-dist /usr/src/linux/arch/x86/boot/bzImage'. The exit status is always 0. This is not related to installkernel-systemd, or the dist kernel, but appears to be an issue with kernel-install instead.
Reported upstream: https://github.com/systemd/systemd/issues/30087
(In reply to Andrew Ammerlaan from comment #3) > (In reply to Kobboi from comment #2) > > In dist-kernel-utils.eclass, installkernel "${version}" "${image}" "${map}" > > returns 0 when this occurs > > What if you add || exit 1 to the kernel-install command in > /sbin/installkernel? Sorry, saw this too late. Thanks for your investigation and taking this upstream.
This is now fixed upstream, and should be in the next release.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8896792af466b7f25719c7492a75ea3fef3e65da commit 8896792af466b7f25719c7492a75ea3fef3e65da Author: Sam James <sam@gentoo.org> AuthorDate: 2023-11-30 04:04:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-30 04:04:39 +0000 sys-apps/systemd-utils: add 254.7 Closes: https://bugs.gentoo.org/917567 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/systemd-utils/Manifest | 1 + sys-apps/systemd-utils/systemd-utils-254.7.ebuild | 575 ++++++++++++++++++++++ 2 files changed, 576 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcfe3135995f684b2469d4a4ff12d8d968a1407c commit dcfe3135995f684b2469d4a4ff12d8d968a1407c Author: Sam James <sam@gentoo.org> AuthorDate: 2023-11-30 04:02:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-30 04:02:01 +0000 sys-apps/systemd: add 254.7 Closes: https://bugs.gentoo.org/917567 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/systemd/Manifest | 1 + sys-apps/systemd/systemd-254.7.ebuild | 525 ++++++++++++++++++++++++++++++++++ 2 files changed, 526 insertions(+)