Previously if ONLINE_PACKAGE_MANAGEMENT="none" but one had
FEED_DEPLOYDIR_BASE_URI set, it tried to create files in a non-existing
dir in the image (there is no /etc/opkg/ if no online package management
is requested).

Signed-off-by: Bernhard Reutner-Fischer <[email protected]>
---
 classes/image.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/classes/image.bbclass b/classes/image.bbclass
index db13dd0..9765442 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -172,7 +172,8 @@ fakeroot do_rootfs () {
 
        rootfs_${IMAGE_PKGTYPE}_do_rootfs
 
-       insert_feed_uris
+       [ "${ONLINE_PACKAGE_MANAGEMENT}" != "none" ] && \
+               insert_feed_uris
 
        ${IMAGE_PREPROCESS_COMMAND}
 
-- 
1.7.2.3


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to