split-files: fix check for empty package
[skip changelog]
This commit is contained in:
parent
f37ad39430
commit
a3dfa110ec
@ -254,6 +254,6 @@ for file in files(buildroot):
|
|||||||
if [print(f'ERROR: no file names were written to {o.name}')
|
if [print(f'ERROR: no file names were written to {o.name}')
|
||||||
for name, o in outputs.items()
|
for name, o in outputs.items()
|
||||||
if (o.tell() == 0 and
|
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)
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user