| Submitter | Eric BENARD |
|---|---|
| Date | Dec. 6, 2011, 8:19 p.m. |
| Message ID | <1323202770-19265-1-git-send-email-eric@eukrea.com> |
| Download | mbox | patch |
| Permalink | /patch/16321/ |
| State | Accepted |
| Commit | 63b619fd7a3d0ca55a965f0a5b99f6e9c8584ea4 |
| Headers | show |
Comments
On 12/06/2011 12:19 PM, Eric Bénard wrote: > this feature was present in OE-classic, is documented in OE-core > but its implementation is actually missing. > The present implementation is directly copied from OE-classic > and tested on an arm926 machine. > > Signed-off-by: Eric Bénard<eric@eukrea.com> > --- > meta/classes/rootfs_ipk.bbclass | 13 ++++++++++++- > 1 files changed, 12 insertions(+), 1 deletions(-) > > diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass > index b4b95c5..ec01951 100644 > --- a/meta/classes/rootfs_ipk.bbclass > +++ b/meta/classes/rootfs_ipk.bbclass > @@ -205,7 +205,18 @@ ipk_insert_feed_uris () { > > # insert new feed-sources > echo "src/gz $feed_name $feed_uri">> ${IPKGCONF_TARGET} > - done > + done > + > + # Allow to use package deploy directory contents as quick devel-testing > + # feed. This creates individual feed configs for each arch subdir of those > + # specified as compatible for the current machine. > + # NOTE: Development-helper feature, NOT a full-fledged feed. > + if [ -n "${FEED_DEPLOYDIR_BASE_URI}" ]; then > + for arch in ${PACKAGE_ARCHS} > + do > + echo "src/gz local-$arch ${FEED_DEPLOYDIR_BASE_URI}/$arch">> ${IMAGE_ROOTFS}/etc/opkg/local-$arch-feed.conf > + done > + fi > } > > python () { Merged into OE-Core Thanks Sau!
Patch
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index b4b95c5..ec01951 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -205,7 +205,18 @@ ipk_insert_feed_uris () { # insert new feed-sources echo "src/gz $feed_name $feed_uri" >> ${IPKGCONF_TARGET} - done + done + + # Allow to use package deploy directory contents as quick devel-testing + # feed. This creates individual feed configs for each arch subdir of those + # specified as compatible for the current machine. + # NOTE: Development-helper feature, NOT a full-fledged feed. + if [ -n "${FEED_DEPLOYDIR_BASE_URI}" ]; then + for arch in ${PACKAGE_ARCHS} + do + echo "src/gz local-$arch ${FEED_DEPLOYDIR_BASE_URI}/$arch" >> ${IMAGE_ROOTFS}/etc/opkg/local-$arch-feed.conf + done + fi } python () {
this feature was present in OE-classic, is documented in OE-core but its implementation is actually missing. The present implementation is directly copied from OE-classic and tested on an arm926 machine. Signed-off-by: Eric Bénard <eric@eukrea.com> --- meta/classes/rootfs_ipk.bbclass | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)