summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-07 07:30:23 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-07 07:30:23 +0000
commit0bab620155bcd066457754ac86f025bc518724be (patch)
tree5e1bbfefde5e3ec4635da90f2f37c9ef91a5f47d /contrib
parent45d4d5dce5d60a4ab26adb34a64cc8018478cd5e (diff)
angstrom feed sorted: add mpc831{3,5}e-rdb, try harder to create directories
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/angstrom/sort.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh
index 044b64ef07..8ede764894 100755
--- a/contrib/angstrom/sort.sh
+++ b/contrib/angstrom/sort.sh
@@ -3,6 +3,11 @@
# Angstrom feed sorting script
# This must be run in unstable/ directory
+if [ $(basename $PWD) != "unsorted" ] ; then
+ echo "Not in feed dir! Exiting"
+ exit 1
+fi
+
rm Packages* >& /dev/null
# Find ipkg files in unsorted/ and remove stale ones
@@ -64,6 +69,8 @@ case "$arch" in
machines="dht-walnut" ;;
"ppc603e")
machines="efika" ;;
+ "ppce300c3")
+ machines="mpc8313e-rdb mpc8315e-rdb" ;;
"sparc")
machines="" ;;
esac
@@ -73,7 +80,7 @@ for i in `find . -name "*.ipk"| grep $arch` ; do mkdir -p ../$archdir/base/ ||
for machine in $machines ; do
for i in `find . -name "*_$machine.ipk"| grep $machine` ; do mkdir -p ../$archdir/machine/$machine || true ;mv $i ../$archdir/machine/$machine ; done
done
-(cd ../$archdir && do_index )
+( mkdir -p ../$archdir ; cd ../$archdir && do_index )
}
@@ -83,6 +90,7 @@ echo "Processing $(basename $PWD) packages...."
BPWD=`pwd`
+mkdir -p base
cd base
mkdir -p ../debug ../perl ../python ../gstreamer ../locales/en || true
@@ -101,6 +109,7 @@ for i in ../* ; do
echo " DONE"
fi
done
+mkdir -p ${BPWD}/machine
cd ${BPWD}/machine
for i in ./* ; do
@@ -113,6 +122,7 @@ for i in ./* ; do
fi
done
+mkdir -p ${BPWD}/locales/en/
cd ${BPWD}/locales/en/
echo -n "building index for locales:"
for i in ../* ; do
@@ -132,7 +142,7 @@ echo " DONE"
echo "Processing 'all' feed"
for i in `find . -name "*.ipk"| grep _all` ; do mkdir -p ../all/ || true ;mv $i ../all/ ; done
- (cd ../all && ipkg-make-index -p Packages -m . >& /dev/null ; touch Packages.sig )
+ (mkdir -p ../all ; cd ../all && ipkg-make-index -p Packages -m . >& /dev/null ; touch Packages.sig )
for arch in arm-oabi armv4t armv5teb armv5te armv6 armv7a armv7 avr32 bfin geode i486 i586 i686 iwmmxt ppc405 ppc603e sparc ; do
do_sort
@@ -143,4 +153,4 @@ 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 ; php update.php)
+#(cd ~/website/repo ; php update.php)