X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily-security;fp=cron.daily-security;h=32a459567c411906c92a6136ddb8a5dbbb7b94db;hb=dd866b48805fee669a51b57dd9434b4251cb81e3;hp=405b292411a7748fe70489307c39fae71e83d64c;hpb=80b0cf4b95f879ce7e6e41297bced5c4e955f697;p=dak.git diff --git a/cron.daily-security b/cron.daily-security index 405b2924..32a45956 100644 --- a/cron.daily-security +++ b/cron.daily-security @@ -32,8 +32,9 @@ rm -fr non-US for suite in $suites; do case $suite in - stable) override_suite=woody;; - testing) override_suite=sarge;; + oldstable) override_suite=woody;; + stable) override_suite=sarge;; + testing) override_suite=etch;; *) echo "Unknown suite type ($suite)"; exit 1;; esac for component in $components; do @@ -41,27 +42,40 @@ for suite in $suites; do case $override_type in deb) type="" ;; dsc) type=".src" ;; - udeb) type="skip" ;; + udeb) type=".debian-installer" ;; esac - if [ ! "$type" = "skip" ]; then - $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type - case $suite in - stable) - $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sarge.$component$type - $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type - ;; - testing) - $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type - ;; - *) echo "Unknown suite type ($suite)"; exit 1;; - esac + # XXX RUN AFUCKINGAWAY + if [ "$override_type" = "udeb" ]; then + if [ ! "$component" = "main" ]; then + continue; + fi + if [ "$suite" = "unstable" ]; then + $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type + fi + else + $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type fi + case $suite in + oldstable) + if [ ! "$override_type" = "udeb" ]; then + $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sarge.$component$type + fi + $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type + ;; + stable) + $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type + ;; + testing) + $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type + ;; + *) echo "Unknown suite type ($suite)"; exit 1;; + esac done done done # Generate .all3 overides for the buildd support -for dist in potato woody sarge; do +for dist in woody sarge etch; do rm -f override.$dist.all3 components="main contrib non-free"; if [ -f override.$dist.main.debian-installer ]; then