Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-25 Thread Ioan-Adrian Ratiu
On Tue, 25 Sep 2018, Ioan-Adrian Ratiu wrote: > On Mon, 24 Sep 2018, richard.pur...@linuxfoundation.org wrote: >> On Mon, 2018-09-24 at 18:00 +0300, Ioan-Adrian Ratiu wrote: >>> > With master, a copy of the feed is constructed under WORKDIR which >>> > is >>> > then indexed since other image

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-25 Thread Ioan-Adrian Ratiu
On Mon, 24 Sep 2018, richard.pur...@linuxfoundation.org wrote: > On Mon, 2018-09-24 at 18:00 +0300, Ioan-Adrian Ratiu wrote: >> > With master, a copy of the feed is constructed under WORKDIR which >> > is >> > then indexed since other image generation or package writes could >> > occur >> > and

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-24 Thread richard . purdie
On Mon, 2018-09-24 at 18:00 +0300, Ioan-Adrian Ratiu wrote: > > With master, a copy of the feed is constructed under WORKDIR which > > is > > then indexed since other image generation or package writes could > > occur > > and the index isn't static. I'm guessing it doesn't do this for > > external

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-24 Thread Ioan-Adrian Ratiu
On Mon, 24 Sep 2018, Richard Purdie wrote: > On Mon, 2018-09-24 at 16:25 +0300, Ioan-Adrian Ratiu wrote: >> The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a >> complete set of ipk feeds from which to build the image is already >> present under $IPK_FEED_URIS at do_rootfs

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-24 Thread Richard Purdie
On Mon, 2018-09-24 at 16:25 +0300, Ioan-Adrian Ratiu wrote: > The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a > complete set of ipk feeds from which to build the image is already > present under $IPK_FEED_URIS at do_rootfs runtime. > > $IPK_FEED_URIS usually contains

[OE-core] [PATCH] rootfs: always update the opkg index

2018-09-24 Thread Ioan-Adrian Ratiu
The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a complete set of ipk feeds from which to build the image is already present under $IPK_FEED_URIS at do_rootfs runtime. $IPK_FEED_URIS usually contains "file://${DEPLOY_DIR_IPK}" which renders the above assumption bad because some