Pull request #63: fix(coreos-efibootguard.py): don't fail if board doesn't use dtb
Merge in ICO/coreos from feat/devtool-kernel to master * commit 'a9116ae295d67ef298f8eedc0cbdaab36a4a2234': fix(coreos-efibootguard.py): don't fail if board doesn't use dtb
This commit is contained in:
commit
05f53a8804
|
|
@ -218,12 +218,15 @@ def dtb_to_list(dtb, deploy_dir) -> list[str]:
|
||||||
Convert the string array from bitbake into a python list. Only the basename
|
Convert the string array from bitbake into a python list. Only the basename
|
||||||
of the dtb is taken and DEPLOY_DIR is appended
|
of the dtb is taken and DEPLOY_DIR is appended
|
||||||
"""
|
"""
|
||||||
return list(
|
if dtb:
|
||||||
map(
|
return list(
|
||||||
lambda s: os.path.join(deploy_dir, os.path.basename(s)),
|
map(
|
||||||
filter(lambda s: s.strip() != "", dtb.split(" ")),
|
lambda s: os.path.join(deploy_dir, os.path.basename(s)),
|
||||||
|
filter(lambda s: s.strip() != "", dtb.split(" ")),
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
else:
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
def efibootguard_generate_uki(args, config, basepath, workspace):
|
def efibootguard_generate_uki(args, config, basepath, workspace):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue