split-files: fix check for empty package

[skip changelog]
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-12-02 10:56:51 +01:00
parent f37ad39430
commit a3dfa110ec

View File

@ -254,6 +254,6 @@ for file in files(buildroot):
if [print(f'ERROR: no file names were written to {o.name}')
for name, o in outputs.items()
if (o.tell() == 0 and
not (no_bootloader and name in ('ukify', 'boot-unsigned')))
not (no_bootloader and name in ('ukify', 'boot')))
]:
sys.exit(1)