qemuboot: Update hardcoded path to match new layout

Obviously this code is horrible and shouldn't hardcode it. Update it to match
the WORKDIR change to drop PE/PR for now.

(From OE-Core rev: 05095c116602d1a8c388cc02afffcc36230138f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2023-08-11 09:14:10 +01:00
parent d7ce7d6799
commit 71282bbc53

View File

@ -143,7 +143,7 @@ python do_write_qemuboot_conf() {
# contains all tools required by runqemu
if k == 'STAGING_BINDIR_NATIVE':
val = os.path.join(d.getVar('BASE_WORKDIR'), d.getVar('BUILD_SYS'),
'qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/')
'qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/')
else:
val = d.getVar(k)
if val is None: