[oe-commits] org.oe.dev image.bbclass: Add FEED_DEPLOYDIR_BASE_URI to use deploy dir a feed ("bogofeed").
pfalcon commit
openembedded-commits at lists.openembedded.org
Sat Dec 22 12:48:47 UTC 2007
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.
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 87caae2907d7ea9c2073fdb7643ff7b317a29621
ViewMTN: http://monotone.openembedded.org/revision/info/87caae2907d7ea9c2073fdb7643ff7b317a29621
Files:
1
classes/image.bbclass
conf/documentation.conf
Diffs:
#
# mt diff -rd8704c548ce3f4b681847003a642608d26644766 -r87caae2907d7ea9c2073fdb7643ff7b317a29621
#
#
#
# patch "classes/image.bbclass"
# from [57e9ee07875e7423b6e199df2c69e55bdcdb8a69]
# to [4d92381733b09bae07a07da35bd0024744924c3c]
#
# patch "conf/documentation.conf"
# from [bdfe2a042dd570980cb40a9e27a56cb7e06f2a57]
# to [d10c13b6402c7c828d664a5fda04d2ad3050a4cc]
#
============================================================
--- classes/image.bbclass 57e9ee07875e7423b6e199df2c69e55bdcdb8a69
+++ classes/image.bbclass 4d92381733b09bae07a07da35bd0024744924c3c
@@ -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() {
============================================================
--- conf/documentation.conf bdfe2a042dd570980cb40a9e27a56cb7e06f2a57
+++ conf/documentation.conf d10c13b6402c7c828d664a5fda04d2ad3050a4cc
@@ -103,6 +103,9 @@ SYSVINIT_ENABLED_GETTYS[doc] = "Specify
SYSVINIT_ENABLED_GETTYS[doc] = "Specify which VTs should be running a getty, the default is 1"
+FEED_URIS[doc] = "List of ipkg feed records to put into generated image."
+FEED_DEPLOYDIR_BASE_URI[doc] = "Allow to serve ipk deploy dir as an adhoc feed (bogofeed). Set to base URL of the dir as exported by HTTP. Set of adhoc feed configs will be generated in image."
+
# insane bbclass
QA_LOG[doc] = "Enable logging of QA errors to log.qa_package. Default is not to log."
More information about the Openembedded-commits
mailing list