On 2014-02-04 15:08, David Nyström wrote:
On 2014-02-03 17:47, Laurentiu Palcu wrote:
On Mon, Feb 03, 2014 at 03:32:49PM +0100, David Nyström wrote:
On 2014-02-03 12:38, Laurentiu Palcu wrote:
Hi all,


Have you tested that BUILD_IMAGES_FROM_FEEDS functionality is not
broken by these commits ?
No, I did not test this. I tried to test it on master though and it
doesn't seem to work...

Whats in master worked for me not too long ago with IPK at least.

Anyway, if you have a working environment, can
you give it a test? Technically, the feeds are added to the main
opkg.conf file in OPKG_PREPROCESS_CMD. And this functionality is
supposed to work.

laurentiu

$ grep -r FEED conf/local.conf
BUILD_IMAGES_FROM_FEEDS="1"
IPK_FEED_URI="file:///media/sdb5/repo/build/tmp/deploy/"

$ bitbake -c rootfs core-image-minimal

DEBUG: Executing python function rootfs_process_ignore
DEBUG: Python function rootfs_process_ignore finished
DEBUG: Executing python function rootfs_runtime_mapping
DEBUG: Python function rootfs_runtime_mapping finished
DEBUG: Executing python function do_rootfs
NOTE: ###### Generate rootfs #######
ERROR: There are no packages in /media/sdb5/bld/tmp/deploy/ipk!
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs
/media/sdb5/bld/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.25006
(END)

$ grep -r "There are no packages in" ../poky-contrib/*
Binary file ../poky-contrib/meta/lib/oe/package_manager.pyc matches
../poky-contrib/meta/lib/oe/package_manager.py: bb.fatal("There are no
packages in %s" % self.deploy_dir)
../poky-contrib/meta/lib/oe/package_manager.py: bb.fatal("There are no
packages in %s!" % self.deploy_dir)
../poky-contrib/meta/lib/oe/package_manager.py: bb.fatal("There are no
packages in %s" % self.deploy_dir)
d

Br,
David


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} \
           "


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to