From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 8/9] image.bbclass: only insert feed uris if ONLINE_PACKAGE_MANAGEMENT
Date: Wed, 26 Jan 2011 19:13:31 +0100 [thread overview]
Message-ID: <1296065612-9637-9-git-send-email-rep.dot.nop@gmail.com> (raw)
In-Reply-To: <1296065612-9637-1-git-send-email-rep.dot.nop@gmail.com>
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>
---
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
next prev parent reply other threads:[~2011-01-26 18:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 18:13 [PATCH 0/9] assorted independent pathlets Bernhard Reutner-Fischer
2011-01-26 18:13 ` [PATCH 1/9] fakeroot: add 1.14.5, mv 1.12.4 to obsolete Bernhard Reutner-Fischer
2011-01-26 18:13 ` [PATCH 2/9] packaged-staging.bbclass: improve documentation Bernhard Reutner-Fischer
2011-01-27 11:19 ` Aeschbacher, Fabrice
2011-01-26 18:13 ` [PATCH 3/9] IMAGE_CMD_ext4.xz: rm uncompressed image Bernhard Reutner-Fischer
2011-01-26 19:21 ` Tom Rini
2011-01-26 20:08 ` Bernhard Reutner-Fischer
2011-01-27 14:56 ` Tom Rini
2011-01-26 18:13 ` [PATCH 4/9] micro: get preferred binutils from sane-toolchain Bernhard Reutner-Fischer
2011-01-26 18:13 ` [PATCH 5/9] ltp: bump version Bernhard Reutner-Fischer
2011-01-26 18:13 ` [PATCH 6/9] uclibc: handle some more {machine, distro}_features Bernhard Reutner-Fischer
2011-01-26 18:13 ` [PATCH 7/9] kernel.bbclass: simplify "if image" condition Bernhard Reutner-Fischer
2011-01-26 19:26 ` Tom Rini
2011-01-26 19:52 ` Tom Rini
2011-01-26 20:29 ` Bernhard Reutner-Fischer
2011-01-26 18:13 ` Bernhard Reutner-Fischer [this message]
2011-01-26 18:13 ` [PATCH 9/9] util-linux: honour largefile distro feature Bernhard Reutner-Fischer
2011-01-26 20:59 ` Khem Raj
2011-01-26 19:27 ` [PATCH 0/9] assorted independent pathlets Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1296065612-9637-9-git-send-email-rep.dot.nop@gmail.com \
--to=rep.dot.nop@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.