[debian-edu-commits] r80159 - trunk/src/archive/archivestatus/bin
holger at alioth.debian.org
holger at alioth.debian.org
Mon May 20 12:48:09 UTC 2013
Author: holger
Date: 2013-05-20 12:48:09 +0000 (Mon, 20 May 2013)
New Revision: 80159
Modified:
trunk/src/archive/archivestatus/bin/needs_love
Log:
add armhf again
Modified: trunk/src/archive/archivestatus/bin/needs_love
===================================================================
--- trunk/src/archive/archivestatus/bin/needs_love 2013-05-20 12:40:43 UTC (rev 80158)
+++ trunk/src/archive/archivestatus/bin/needs_love 2013-05-20 12:48:09 UTC (rev 80159)
@@ -48,7 +48,10 @@
# 2013-05-17, version 0.8
# - s#ETCH#STABLE#g
# - add armel in wheezy
+# 2013-05-20, version 0.8.1
+# - add armhf in wheezy
+
#################
################# This code is horrible. READ AT YOUR OWN RISK!
#################
@@ -66,6 +69,7 @@
${SUITE}-test) HEADER="debian-edu/${SUITE}-test local" ;;
powerpc) HEADER="debian-edu/$4/powerpc local" ;;
armel) HEADER="debian-edu/$4/armel local" ;;
+ armhf) HEADER="debian-edu/$4/armel local" ;;
amd64) HEADER="debian-edu/$4/amd64 local" ;;
i386) HEADER="debian-edu/$4/i386 local" ;;
*) HEADER="${!i}";
@@ -97,7 +101,7 @@
let "NR += 1"
done
print_td ${SECURITY_STABLE_S[$NR]}
- elif [ "$5" = "powerpc" ] || [ "$5" = "armel" ] || [ "$5" = "amd64" ] || [ "$5" = "i386" ] ; then
+ elif [ "$5" = "powerpc" ] || [ "$5" = "armel" ] || || [ "$5" = "armhf" ] [ "$5" = "amd64" ] || [ "$5" = "i386" ] ; then
print_td "`dak ls -S -a $5 -s $4 $i |head -1|cut -d'|' -f2`"
elif [ -n "$5" ] ; then
print_td "`dak ls -s $5 $i |cut -d'|' -f2`"
@@ -267,15 +271,17 @@
STABLE_POWERPC=`dak ls -S -s $SUITE -a powerpc,all $i|grep powerpc|head -1 |cut -d'|' -f2|xargs`
STABLE_ARMEL=`dak ls -S -s $SUITE -a armel,all $i|grep armel|head -1 |cut -d'|' -f2|xargs`
+ STABLE_ARMHF=`dak ls -S -s $SUITE -a armhf,all $i|grep armel|head -1 |cut -d'|' -f2|xargs`
STABLE_AMD64=`dak ls -S -s $SUITE -a amd64,all $i|grep amd64|head -1 |cut -d'|' -f2|xargs`
STABLE_I386=`dak ls -S -s $SUITE -a i386,all $i|grep i386|head -1 |cut -d'|' -f2|xargs`
- STABLE_ARCHS=`dak ls -S -s $SUITE $i|egrep 'powerpc|armel|i386|amd64'|head -1 |cut -d'|' -f4` # if this is empty, the package is arch all (only)
+ STABLE_ARCHS=`dak ls -S -s $SUITE $i|egrep 'powerpc|armel|armhf|i386|amd64'|head -1 |cut -d'|' -f4` # if this is empty, the package is arch all (only)
STABLE_TEST_POWERPC=`dak ls -S -s $SUITE-test -a powerpc,all $i|grep powerpc|head -1 |cut -d'|' -f2|xargs`
STABLE_TEST_ARMEL=`dak ls -S -s $SUITE-test -a armel,all $i|grep armel|head -1 |cut -d'|' -f2|xargs`
+ STABLE_TEST_ARMHF=`dak ls -S -s $SUITE-test -a armhf,all $i|grep armel|head -1 |cut -d'|' -f2|xargs`
STABLE_TEST_AMD64=`dak ls -S -s $SUITE-test -a amd64,all $i|grep amd64|head -1 |cut -d'|' -f2|xargs`
STABLE_TEST_I386=`dak ls -S -s $SUITE-test -a i386,all $i|grep i386|head -1 |cut -d'|' -f2|xargs`
- STABLE_TEST_ARCHS=`dak ls -S -s $SUITE-test $i|egrep 'powerpc|armel|i386|amd64'|head -1 |cut -d'|' -f4`
+ STABLE_TEST_ARCHS=`dak ls -S -s $SUITE-test $i|egrep 'powerpc|armel|armhf|i386|amd64'|head -1 |cut -d'|' -f4`
if [ -n "$STABLE_ARCHS" ] ; then {
I_ARCHS=`zcat /org/ftp.skolelinux.org/ftp/dists/${SUITE}/local/source/Sources.gz | grep-dctrl -F Package --eq $i -s Architecture`
@@ -286,6 +292,9 @@
dpkg --compare-versions $STABLE_SOURCE eq $STABLE_ARMEL > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|armel'` ; then NEEDS_ARMEL_STABLE="$NEEDS_ARMEL_STABLE $i" ; fi
fi
if [ -n "$STABLE_SOURCE" ] ; then
+ dpkg --compare-versions $STABLE_SOURCE eq $STABLE_ARMHF > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|armhf'` ; then NEEDS_ARMEL_STABLE="$NEEDS_ARMEL_STABLE $i" ; fi
+ fi
+ if [ -n "$STABLE_SOURCE" ] ; then
dpkg --compare-versions $STABLE_SOURCE eq $STABLE_AMD64 > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|amd64'` ; then NEEDS_AMD64_STABLE="$NEEDS_AMD64_STABLE $i" ; fi
fi
if [ -n "$STABLE_SOURCE" ] ; then
@@ -301,6 +310,9 @@
dpkg --compare-versions $STABLE_TEST_SOURCE eq $STABLE_TEST_ARMEL > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|armel'` ; then NEEDS_ARMEL_STABLE_TEST="$NEEDS_ARMEL_STABLE_TEST $i" ; fi
fi
if [ -n "$STABLE_TEST_SOURCE" ] ; then
+ dpkg --compare-versions $STABLE_TEST_SOURCE eq $STABLE_TEST_ARMHF > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|armhf'` ; then NEEDS_ARMEL_STABLE_TEST="$NEEDS_ARMEL_STABLE_TEST $i" ; fi
+ fi
+ if [ -n "$STABLE_TEST_SOURCE" ] ; then
dpkg --compare-versions $STABLE_TEST_SOURCE eq $STABLE_TEST_AMD64 > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|amd64'` ; then NEEDS_AMD64_STABLE_TEST="$NEEDS_AMD64_STABLE_TEST $i" ; fi
fi
if [ -n "$STABLE_TEST_SOURCE" ] ; then
@@ -366,10 +378,12 @@
fi
if [ "$NEEDS_POWERPC_STABLE_TEST" ] || [ "$NEEDS_POWERPC_STABLE" ] || [ "$NEEDS_ARMEL_STABLE_TEST" ] || [ "$NEEDS_ARMEL_STABLE" ] || [ "$NEEDS_AMD64_STABLE_TEST" ] || [ "$NEEDS_AMD64_STABLE" ] || [ "$NEEDS_I386_STABLE_TEST" ] || [ "$NEEDS_I386_STABLE" ] ; then
echo "<h2>Architecture specific issues</h2>"
- # ignore armel issues on squeeze
+ # ignore armel and armhf issues on squeeze
if [ "$SUITE" != squeeze ] ; then
print_table "Packages which needs build on debian-edu/${SUITE}-test/armel" NEEDS_ARMEL_STABLE_TEST package ${SUITE}-test armel
print_table "Packages which needs build on debian-edu/${SUITE}/armel" NEEDS_ARMEL_STABLE package ${SUITE} armel
+ print_table "Packages which needs build on debian-edu/${SUITE}-test/armhf" NEEDS_ARMHF_STABLE_TEST package ${SUITE}-test armhf
+ print_table "Packages which needs build on debian-edu/${SUITE}/armhf" NEEDS_ARMHF_STABLE package ${SUITE} armhf
fi
# ignore powerpc issues on wheezy
if [ "$SUITE" != wheezy ] ; then
More information about the debian-edu-commits
mailing list