summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/utilcmds.py
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2025-09-05 14:57:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-08 18:02:39 +0100
commitc1d4291a9dec885a820c377ebc373e9fe9c01189 (patch)
tree2fa86ced0f0e6d99b7c9e5c51cfe47b4adecd41e /scripts/lib/devtool/utilcmds.py
parent6396ab96d5ffa12e9065560c30fd7737bc827f7a (diff)
downloadpoky-c1d4291a9dec885a820c377ebc373e9fe9c01189.tar.gz
grub-efi.bbclass: fix racing issue on grub-efi image
In recipe grub-efi, the deploy task installed grub-efi image to deploy dir. In image-live.bbclass, the do_bootimg task called build_iso -> efi_iso_populate -> efi_populate. In image-live.bbclass, the do_bootimg task called build_hddimg -> efi_hddimg_populate -> efi_populate. In grub-efi.bbclass, efi_populate called efi_populate_common for grub-efi to installed grub-efi image from deploy dir to ISO/HDDDIR. Explicitly make do_bootimg depend on grub-efi:deploy otherwise a racing issue on grub-efi image in deploy dir ... |DEBUG: Executing shell function build_iso |NOTE: Trying to install tmp/deploy/images/qemux86-64/bzImage as tmp/work/qemux86_64-wrs-linux/ wrlinux-image-installer/1.0/sources/wrlinux-image-installer-1.0/iso/bzImage |install: cannot stat 'tmp/deploy/images/qemux86-64/grub-efi-bootx64.efi': No such file or directory |WARNING: tmp/work/qemux86_64-wrs-linux/wrlinux-image-installer/1.0/temp/run.build_iso.954273:419 exit 1 from 'install -m 0644 tmp/deploy/images/qemux86-64/$2-bootx64.efi ${DEST}/EFI/BOOT/bootx64.efi' ... (From OE-Core rev: bf0a53af7801a13b39734c3d720f127f212d08f1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions