"Alexander Kanavin" <[email protected]> writes:
> --- a/meta/classes/qemuboot.bbclass
> +++ b/meta/classes/qemuboot.bbclass
> @@ -109,7 +109,7 @@ def qemuboot_vars(d):
> build_vars = ['MACHINE', 'TUNE_ARCH', 'DEPLOY_DIR_IMAGE',
> 'KERNEL_IMAGETYPE', 'IMAGE_NAME', 'IMAGE_LINK_NAME',
> 'STAGING_DIR_NATIVE', 'STAGING_BINDIR_NATIVE',
> - 'STAGING_DIR_HOST', 'SERIAL_CONSOLES']
> + 'STAGING_DIR_HOST', 'SERIAL_CONSOLES', 'UNINATIVE_LOADER']
> return build_vars + [k for k in d.keys() if k.startswith('QB_')]
Build without uninative fails now with
| File: '.../meta/classes/qemuboot.bbclass', lineno: 141, function:
do_write_qemuboot_conf
| 0137: else:
| 0138: val = d.getVar(k)
| 0139: # we only want to write out relative paths so that we can
relocate images
| 0140: # and still run them
| *** 0141: if val.startswith(topdir):
| 0142: val = os.path.relpath(val, finalpath)
| 0143: cf.set('config_bsp', k, '%s' % val)
| 0144:
| 0145: # QB_DEFAULT_KERNEL's value of KERNEL_IMAGETYPE is the name of
a symlink
| Exception: AttributeError: 'NoneType' object has no attribute 'startswith'
Enrico
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161670):
https://lists.openembedded.org/g/openembedded-core/message/161670
Mute This Topic: https://lists.openembedded.org/mt/88916306/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-