summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-22 12:32:40 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-22 12:32:40 +0000
commit44ef8aee5df1b3f6d4595c660f2f772e9e0d484c (patch)
tree32038fb08db5027f2aaa962b1ee18d93adb4bcc0 /classes
parentc6150944b250086c0375b86ce819a8b9bf9d2820 (diff)
image.bbclass: Add FEED_DEPLOYDIR_BASE_URI to use deploy dir a feed ("bogofeed").
* If set to a base URL of ipk deploy dir as exported by HTTP/FTP, it will create set of feed configs to use deploy subdirs as feeds.
Diffstat (limited to 'classes')
-rw-r--r--classes/image.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index 312307c831..ca9c9458e1 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -125,6 +125,17 @@ insert_feed_uris () {
# insert new feed-sources
echo "src/gz $feed_name $feed_uri" >> ${IMAGE_ROOTFS}/etc/ipkg/${feed_name}-feed.conf
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/ipkg/local-$arch-feed.conf
+ done
+ fi
}
log_check() {