summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-18 00:49:47 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-18 00:49:47 +0000
commit426b2206b4fcc8dddcc1b74103b39c537ee7ff39 (patch)
tree8ba6208601581baad9441609186109bce82c8525 /classes
parent11add071084e0210f80cd38f784bb9108e3d7d69 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/mhentges/OpenEmbedded/packages 2004/10/17 18:38:30+02:00 handhelds.org!CoreDump Add a 1.1.6.oe of opie-brightnessapplet to unbork builds with 3.5.1.conf 2004/10/17 15:40:39+02:00 handhelds.org!CoreDump opie-i18n fixes. Add support für section filters in EXCLUDE_FROM_FEED & update feeds for oeclass changes BKrev: 4173132bbUzC9ED19WB6rKtDa4MV4A
Diffstat (limited to 'classes')
-rw-r--r--classes/split_ipk_feeds.oeclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/classes/split_ipk_feeds.oeclass b/classes/split_ipk_feeds.oeclass
index 9306d8a225..dd761f8246 100644
--- a/classes/split_ipk_feeds.oeclass
+++ b/classes/split_ipk_feeds.oeclass
@@ -20,13 +20,15 @@ do_split_feed () {
echo "Working on pattern [$FEED_PATTERN] for feed [$FEED_NAME]"
# Don't we all love sed?
- cat "${DEPLOY_DIR_IPK}/Packages" |sed -n "/^Section/s/Section\:\ //p;/^Package/s/Package\:\ //p" |sed '$!N;s/\n/ /;s/\(.*\)\ \(.*\)/\2 \1/'| sort | egrep -i -- "$FEED_PATTERN" | sed -n "s/\(.*\)\ \(.*\)/\2/p" > feed-content.tmp
+ cat "${DEPLOY_DIR_IPK}/Packages" |sed -n "/^Section/s/Section\:\ //p;/^Package/s/Package\:\ //p" |sed '$!N;s/\n/ /;s/\(.*\)\ \(.*\)/\2 \1/'| sort | egrep -i -- "$FEED_PATTERN" > feed-content.tmp
if ! test -z "$EXCLUDE_FROM_FEED"
then
- cat feed-content.tmp | egrep -iv -- "$EXCLUDE_FROM_FEED" > feed-content.tmp2
- rm feed-content.tmp ; mv feed-content.tmp2 feed-content.tmp
+ cat feed-content.tmp | egrep -iv -- "$EXCLUDE_FROM_FEED" | sed -n "s/\(.*\)\ \(.*\)/\2/p" > feed-content.tmp2
+ else
+ cat feed-content.tmp | sed -n "s/\(.*\)\ \(.*\)/\2/p" > feed-content.tmp2
fi
+ rm feed-content.tmp ; mv feed-content.tmp2 feed-content.tmp
if ! test -d ${DEPLOY_DIR_IPK}/${FEED_NAME}
then