]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Use cat/gzip instead of keep-latest
authorMarc Brockschmidt <he@grieg.debian.org>
Thu, 8 Apr 2010 23:43:31 +0000 (23:43 +0000)
committerMarc Brockschmidt <he@grieg.debian.org>
Thu, 8 Apr 2010 23:43:31 +0000 (23:43 +0000)
For the secondary package file, it was wrong to use keep-latest, as
Modestas Vainius pointed out. With this change, files are just
copied/unpacked, allowing edos-debcheck to correctly determine if the
build-deps can be satisfied.

This change affects the triggers for all non-standard (*-volatile,
*-bpo, *-edu and experimental) suites, which should all use the
aptitude dep resolver (able to handle such complex dep situations) on
the buildds.

triggers/trigger_wb_update_arch_loop_with_secondary

index c0d60eca4b6e4fc539a92afbf83902dff13f9427..058e2e1d3e478b08b384f283d5e908fbd1d5955b 100755 (executable)
@@ -13,7 +13,17 @@ WB_SUITE="$6"
 WHITELIST_FILE="$7"
 
 new-keep-latest ${ARCH} $(eval echo $(echo ${PACKAGES} | sed -e 's/%ARCH%/${ARCH}/g')) > Packages.${SUITE}.${ARCH}
-new-keep-latest ${ARCH} Packages.${SUITE}.${ARCH} $(eval echo $(echo ${PACKAGES_BASE} | sed -e 's/%ARCH%/${ARCH}/g')) > Packages.${SUITE}.${ARCH}-all
+rm Packages.${SUITE}.${ARCH}-all
+for FILE in Packages.${SUITE}.${ARCH} $(eval echo $(echo ${PACKAGES_BASE} | sed -e 's/%ARCH%/${ARCH}/g')); do
+       case $FILE in
+               *.gz)
+                       gzip -dc < $FILE >> Packages.${SUITE}.${ARCH}-all
+                       ;;
+               *)   
+                       cat < $FILE >> Packages.${SUITE}.${ARCH}-all
+                       ;;
+       esac
+done
 do_quinn ${SUITE} ${ARCH} "${WHITELIST_FILE}"
 do_wb_merge_all ${SUITE} ${ARCH} ${WB_SUITE} secondary