diff options
author | Koen Kooi <koen@openembedded.org> | 2009-02-07 14:21:55 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-07 14:21:55 +0100 |
commit | 874d0b97a6b61cd6fd28ca689b9b9fc94e68d0b7 (patch) | |
tree | 5e7ea129c2697af6a6b256ea966d86aa0ff9dabf /contrib/angstrom | |
parent | 45bc01cc5069651f637f945345c638dab87dad71 (diff) |
angstrom feed sorter: update package browser before stripping source lines
Diffstat (limited to 'contrib/angstrom')
-rwxr-xr-x | contrib/angstrom/sort.sh | 3 | ||||
-rw-r--r-- | contrib/angstrom/upload-packages.sh | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh index 94b8cb6d1a..d624000d17 100755 --- a/contrib/angstrom/sort.sh +++ b/contrib/angstrom/sort.sh @@ -144,6 +144,8 @@ for i in ../* ; do echo " DONE" cd ${BPWD} +( cd ~/website/repo-updater ; php update.php ; rm ../repo/feeds.db* ; cp feeds.db* ../repo ) + echo -n "Stripping source lines from Package files" for i in `find . -name Packages` ; do grep -v ^Source: $i|gzip -c9>$i.gz ;gunzip -c $i.gz>$i ; touch $i.sig ; done echo " DONE" @@ -162,4 +164,3 @@ if [ "$1" != "--skip-sorted-list" ]; then for i in $(find ../ -name "*.ipk"| grep -v unsorted) ; do basename $i ; done > files-sorted fi -( cd ~/website/repo-updater ; php update.php ; rm ../repo/feeds.db* ; cp feeds.db* ../repo ) diff --git a/contrib/angstrom/upload-packages.sh b/contrib/angstrom/upload-packages.sh index 4d3362b6d2..1ae7086cab 100644 --- a/contrib/angstrom/upload-packages.sh +++ b/contrib/angstrom/upload-packages.sh @@ -31,6 +31,9 @@ echo "Checking for duplicates" cat files-remote files-local | sort | uniq -u >files-uniq cat files-uniq files-local | sort | uniq -d > files-trans +# Remove SGX files +rm -f upload-queue/*3.00.* + # Copy over non-duplicate files echo "Starting rsync..." rsync -vz --copy-links --progress --files-from=files-trans upload-queue/ $REMOTEM:$REMOTED/unsorted/ |