Commit 18152a21 authored by Allan McRae's avatar Allan McRae
Browse files

libmakepkg: Do not "strip" files when the format is not recognised

We use a multi step process during stripping to ensure permissions do
not get changed.  However, if the initial objcopy fails, the subsequent cat
results in a blank file.  Abandon early if objcopy fails.

Fixes FS#74486

Signed-off-by: Allan McRae's avatarAllan McRae <>
parent f5f9e0f4
Pipeline #18600 passed with stage
in 2 minutes and 28 seconds