@@ -1024,13 +1024,13 @@
"wic" : {
"BUILDINFO" : true,
"extravars" : [
- "IMAGE_FSTYPES += ' hddimg'",
+ "IMAGE_FSTYPES += ' hddimg wicenv'",
"MACHINE_FEATURES:append = ' efi'"
],
"step1" : {
"MACHINE" : "qemux86",
"shortname" : "qemux86 wic",
- "BBTARGETS" : "core-image-sato:do_rootfs_wicenv core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
+ "BBTARGETS" : "core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
"extravars" : [
"DEPENDS:append:pn-core-image-sato = ' parted-native cross-localedef-native'"
],
@@ -1043,7 +1043,7 @@
"step2" : {
"MACHINE" : "genericx86",
"shortname" : "genericx86 wic",
- "BBTARGETS" : "core-image-sato:do_rootfs_wicenv core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
+ "BBTARGETS" : "core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
"extravars" : [
"DEPENDS:append:pn-core-image-sato = ' parted-native cross-localedef-native'"
],
@@ -1056,7 +1056,7 @@
"step3" : {
"MACHINE" : "qemux86-64",
"shortname" : "qemux86-64 wic",
- "BBTARGETS" : "core-image-sato:do_rootfs_wicenv core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
+ "BBTARGETS" : "core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
"extravars" : [
"DEPENDS:append:pn-core-image-sato = ' parted-native cross-localedef-native'"
],
@@ -1069,7 +1069,7 @@
"step4" : {
"MACHINE" : "genericx86-64",
"shortname" : "genericx86-64 wic",
- "BBTARGETS" : "core-image-sato:do_rootfs_wicenv core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
+ "BBTARGETS" : "core-image-sato wic-native:do_addto_recipe_sysroot wic-tools",
"extravars" : [
"DEPENDS:append:pn-core-image-sato = ' parted-native cross-localedef-native'"
],
After the recent addition of the wicenv image type in openembedded-core, we can use this instead of manually specifying do_rootfs_wicenv as a target when we want to create the wic .env file. This fixes the race condition which has previously caused failures of the wic builder - dependencies now are set correctly so that the .env file is always populated before do_image_complete syncs files over to ${DEPLOY_DIR_IMAGE}. Fixes: [YOCTO #16246] Signed-off-by: Paul Barker <paul@pbarker.dev> Cc: Trevor Woerner <twoerner@gmail.com> --- This should be applied alongside "image_types_wic: Introduce wicenv image type" in openembedded-core. https://lore.kernel.org/openembedded-core/20260421-wicenv-v1-1-75450eff8364@pbarker.dev/T/ Test run on autobuilder: https://autobuilder.yoctoproject.org/valkyrie/#/builders/15/builds/3600 --- config.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- base-commit: 0bba6f667fb614af7d172cf8990cdc429e6fd919 change-id: 20260421-wicenv-54a88aab5c46 Best regards, -- Paul Barker