Now that the module compression is conditional to USE=modules-compress, we no longer need to allow it to fail gracefully. If user enabled the compression explicitly, they expect it to succeed. If they don't have the tools, they can always flip it off again.
Signed-off-by: Michał Górny <mgo...@gentoo.org> --- eclass/linux-mod-r1.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass index 67a4b64eb481..b6be4ba8a16d 100644 --- a/eclass/linux-mod-r1.eclass +++ b/eclass/linux-mod-r1.eclass @@ -860,9 +860,8 @@ _modules_process_compress() { die "USE=modules-compress enabled but no MODULE_COMPRESS* configured" fi - # could fail, assumes have commands that were needed for the kernel einfo "Compressing modules (matching the kernel configuration) ..." - edob "${compress[@]}" -- "${@}" + edob "${compress[@]}" -- "${@}" || die } # @FUNCTION: _modules_process_depmod.d -- 2.43.0