- sudo to dak
- bash:
-suite=oldstable
-suitename=lenny
-pusuite=oldstable-proposed-updates
-oldrev=5.0.8
-newrev=5.0.9
+suite=stable
+suitename=squeeze
+pusuite=proposed-updates
+oldrev=6.0.5
+newrev=6.0.6
export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
. $SCRIPTVARS
. "${configdir}/common"
cat ${pusuite}.list | dak control-suite --add ${suite}
dak control-suite --remove ${pusuite} < ${pusuite}.list
-- sync with stable RM if there is any propup needed. do it, if so.
+- sync with stable RM if there is any propup needed. do it, if so:
+like, cat /srv/release.debian.org/www/squeeze/6.0/6.0.4/propup.unstable | dak control-suite --add unstable
+Note: unstable first, then testing
- ask rms if they have RMs to do.
- and then check if they have a d-i update. if so, bash:
# set dioldver to "empty" if there is no old to remove
-diver=20090123lenny9
-dioldver=20090123lenny8
+diver=20110106+squeeze4+b2
dak copy-installer -s ${pusuite} -d ${suite} ${diver}
+dioldver=20110106+squeeze4
cd $ftpdir/dists/${suite}/main
if [ "${dioldver}" != "empty" ]; then
for iarch in $(dak admin s-a list-arch ${suite}); do
- Let SRM see if all is ok
- then:
-dak generate-packages-sources -s ${suite} ; dak contents generate -f -s ${suite}
+dak generate-packages-sources -s ${suite} ; dak contents generate -f -s ${suite} -a ftp-master
+
+cd $ftpdir/dists/${suite}
+for carch in $(dak admin s-a list-arch ${suite}); do
+ echo doing ${carch}
+ cp $base/dak/templates/contents Contents-${carch}.new;
+ zcat {main,contrib,non-free}/Contents-${carch}.gz | ~joerg/mergecontents.pl | sort >> Contents-${carch}.new;
+ gzip -9v Contents-${carch}.new;
+ mv Contents-${carch}.new.gz Contents-${carch}.gz;
+done
+
+rm {main,contrib,non-free}/Contents-*
+
dak generate-releases -f -s ${suite}
- have the SRMs sign it and put the signature in.