diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-01-27 02:13:31 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-12 08:18:09 -0700 |
commit | 4a48bf54842b2392d2feb3f5cd24065a400f1eda (patch) | |
tree | 8be3c27131ab2b8297c955ff0cbe8bac24ec5392 /classes/image.bbclass | |
parent | 707e73212dfbd007b4799da4e10ec296659d5769 (diff) | |
download | openembedded-4a48bf54842b2392d2feb3f5cd24065a400f1eda.tar.gz |
image.bbclass: only insert feed uris if ONLINE_PACKAGE_MANAGEMENT
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 <rep.dot.nop@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r-- | classes/image.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass index db13dd0aba..9765442206 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} |