diff options
author | Eric Bénard <eric@eukrea.com> | 2011-12-06 21:19:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-08 15:24:26 +0000 |
commit | 64ee1e6e71a9e5a743ea0e597b990bb6c3e69d85 (patch) | |
tree | 4727fe0e0a3898fffc857ca0ad9dec8fc2687a54 | |
parent | 272f410224c97f98585912a7d9d8f9abd40846f2 (diff) | |
download | poky-64ee1e6e71a9e5a743ea0e597b990bb6c3e69d85.tar.gz |
rootfs_ipk: implement FEED_DEPLOYDIR_BASE_URI support
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.
(From OE-Core rev: 63b619fd7a3d0ca55a965f0a5b99f6e9c8584ea4)
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 b4b95c5645..ec0195159e 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -205,7 +205,18 @@ ipk_insert_feed_uris () { | |||
205 | 205 | ||
206 | # insert new feed-sources | 206 | # insert new feed-sources |
207 | echo "src/gz $feed_name $feed_uri" >> ${IPKGCONF_TARGET} | 207 | echo "src/gz $feed_name $feed_uri" >> ${IPKGCONF_TARGET} |
208 | done | 208 | done |
209 | |||
210 | # Allow to use package deploy directory contents as quick devel-testing | ||
211 | # feed. This creates individual feed configs for each arch subdir of those | ||
212 | # specified as compatible for the current machine. | ||
213 | # NOTE: Development-helper feature, NOT a full-fledged feed. | ||
214 | if [ -n "${FEED_DEPLOYDIR_BASE_URI}" ]; then | ||
215 | for arch in ${PACKAGE_ARCHS} | ||
216 | do | ||
217 | echo "src/gz local-$arch ${FEED_DEPLOYDIR_BASE_URI}/$arch" >> ${IMAGE_ROOTFS}/etc/opkg/local-$arch-feed.conf | ||
218 | done | ||
219 | fi | ||
209 | } | 220 | } |
210 | 221 | ||
211 | python () { | 222 | python () { |