Recently my rather generic x86 builds started failing with: Error: Couldn't find HDDDIR, exiting WARNING: exit code 1 from a shell command. ERROR: Function failed: do_image_wic (log file is located at /home/paul/poky/build/tmp/work/genericx86_64-overc-linux/cube-essential/0.1-r0/temp/log.do_image_wic.6557) These builds aren't requiring wic/EFI, just tarball, but after: 1fe840a4a0fbb (Ed Bartosh 2016-09-20 12:15:59 +0300 23) IMAGE_FSTYPES += "wic" in meta-yocto-bsp/conf/machine/include/genericx86-common.inc we now get it unconditionally. Workaround: add IMAGE_FSTYPES_remove = "wic" to your local.conf
Can you provide more details about your build, please? what's you're MACHINE, which layers are used, etc.
set status to needinfo. Please, reassign it back to me after providing requested information.
Created attachment 3505 [details] local configuration file Local configuration file, indicating MACHINE and other settings.
Created attachment 3506 [details] bitbake layers related to the failure Layers in use at the time of the WIC fail ; all are public layers available to anyone.
reassigning as requested after adding configuration details.
Oh, and image target is: bitbake cube-graphical-builder
Paul, thank you for providing information about your build. I was able to reproduce the build and the issue. The reason for it is that wic images are now produced by default for genericx86 and genericx86-64 machines, but image configuration is changed in the layers used for your build. In particular hddimg is produced by genericx85* default configuration, but it's disabled in some of the layers you're using. hddimg is used to produce wic images and it fails as hddimg is not enabled. There are two ways to fix it. If you want to produce partitioned images ready to be flashed and booted on your hardware we can try to fix this by enabling hddimg and producing wic images for your builds. If you don't want that you can disable producing of wic images by removing them from IMAGE_FSTYPES variable in one of your layers. Which way would you prefer?
I personally have no use for WIC images and hence have no problem with folks revisiting the "everywhere by default" decision, but I also don't claim to represent a giant user base, and don't have the context of why the enabled by default decision was originally made.
Paul, you can find more info regarding enabling wic images for all reference BSPs in the bug 8719
Resolving as worksforme. So far the working solution is to disable building of wic images if you don't need them. Feel free to reopen this bug if you think it's not enough.