[OE-core] [PATCH 00/49] Rootfs/image generation refactoring (cover letter only)

Laurentiu Palcu laurentiu.palcu at intel.com
Tue Feb 4 15:34:16 UTC 2014


On Tue, Feb 04, 2014 at 03:49:25PM +0100, David Nyström wrote:
> 
> Oops, bug on my behalf in above example, but it still fails the same
> way when using a correct IPK_FEED_URI.
> 
> IPK_FEED_URIS += " \
>            all##file:///media/sdb5/repo/build/tmp/deploy/ipk/all \
> 	   ${MACHINE}##file:///media/sdb5/repo/build/tmp/deploy/ipk/${MACHINE} \
> 
> ${TARGET_ARCH}##file:///media/sdb5/repo/build/tmp/deploy/ipk/${TARGET_ARCH}
> \
> 	   "
Ok, I succeeded to check this in master. Apparently, I understood this
wrong. In my tests I was deleting the tmp/ and sstate-cache/ and I was
not expecting the target packages to be re-built. It turns out that this
entire process takes place but when the rootfs is created, the provided
feeds are used... I learned something new today! :)

Regarding the refactored code, indeed, it does not work in this case. It
always tries to create the index files in the deploy/ipk directory
before continuing with the rootfs creation. I guess a condition should
be added in the new code to check for BUILD_IMAGES_FROM_FEEDS and skip
the index creation step... Shouldn't be hard to fix.

laurentiu



More information about the Openembedded-core mailing list