Hi,

I am building an image for development in the morty branch. It is quite large and therefore I only create iso images with the variable NOHDD = "1". At task do_image_wic the following is applied:

| Error: exec_cmd: cp /home/flk/yocto-pc/poky/build-pc/tmp/work/genericx86-poky-linux/neutrino-image/1.0-r0/neutrino-image-1.0/hddimg/EFI/BOOT/* /home/flk/yocto-pc/poky/build-pc/tmp/work/genericx86-poky-linux/neutrino-image/1.0-r0/deploy-neutrino-image-image-complete/neutrino-image-genericx86-20161018191251/build/hdd/boot/EFI/BOOT returned '1' instead of 0


It should be ok if this is "1" , respectively the command shouldn`t be called at all

I can avoid the error quick and dirty like this:


# workaround: NOHDD varibale isn`t respected in do_wic_image

IMAGE_PREPROCESS_COMMAND += "do_fix_image_gen;"

do_fix_image_gen() {

mkdir -p ${S}/hddimg/EFI/BOOT/

touch ${S}/hddimg/EFI/BOOT/bla

}


Regards,

Markus

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to