[OE-core] [PATCH 1/4] image.bbclass: Separate out image generation into a new task, do_image

Richard Purdie richard.purdie at linuxfoundation.org
Sun Jan 17 22:27:27 UTC 2016


On Sun, 2016-01-17 at 12:42 +1100, Jonathan Liu wrote:
> I have issues building a core-image-minimal Raspberry Pi 2 SD image
> after this series of patches using openembedded-core master 
> (b3b679d5be86f73d1a06c7230cb00872f0a407b5) and meta-raspberrypi
> master 
> (0d8e9271855ccb9bc21bdc0743f8e0f6ff0d2d5c).
> 
> > DEBUG: Executing python function set_image_size
> > DEBUG: Python function set_image_size finished
> > DEBUG: Executing shell function do_image_rpi-sdimg
> > 
> /home/build/git/pi2/build/tmp/work/raspberrypi2-custom-linux
> -gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_rpi-sdimg.8349: 
> line 108: do_image_rpi-sdimg: command not found
> > WARNING: 
> /home/build/git/pi2/build/tmp/work/raspberrypi2-custom-linux
> -gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_rpi-sdimg.8349:1
> exit 127 from
> >   do_image_rpi-sdimg
> > ERROR: Function failed: do_image_rpi-sdimg (log file is located at 
> /home/build/git/pi2/build/tmp/work/raspberrypi2-custom-linux
> -gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_rpi-sdimg.8349)
> 
> openembedded-core 38237b7ac53c416f85c4a70a61acafc3404c8b5f - ok
> openembedded-core b3b679d5be86f73d1a06c7230cb00872f0a407b5 - fails
> 
> Any ideas?

Try the patch I just sent to the OE-Core list, "Handle image types
containing '-' correctly". Looks like image types containing the "-"
character would cause problems but I think there is a workaround.

Cheers,

Richard





More information about the Openembedded-core mailing list