[yocto] Problems with image creation

Markus Volk f_l_k at t-online.de
Wed Oct 19 01:08:52 PDT 2016


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161019/afe9d69b/attachment.html>


More information about the yocto mailing list