rootfs_ipk: implement FEED_DEPLOYDIR_BASE_URI support
PATCH 1/1 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.
Signed-off-by Eric Bénard <[email protected]>
--- meta/classes/rootfs_ipk.bbclass | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)
meta/classes/rootfs_ipk.bbclass +12 -1
@@ -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 () {
Signature · 1 line
1.7.6.4
Saul Wold
AppliedQuoted 24 lines · Eric Bénard
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<[email protected]>--- meta/classes/rootfs_ipk.bbclass | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-)meta/classes/rootfs_ipk.bbclass +5
-1@@ -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.
meta/classes/rootfs_ipk.bbclass ipk_insert_feed_uris () { · line 222
Quoted 10 lines
meta/classes/rootfs_ipk.bbclass +7
-0+ # 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!