X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=docs%2FREADME.stable-point-release;h=c0215fecb13be18f3f917e9dc62aa360246f6c8d;hb=3fdc59341583e43920c31f820282314cc9fc8e93;hp=462c3454aae9e620db0aa6607afdf42287eb764c;hpb=37b01e116f6df89e05374a41a49a91986b9e4ed7;p=dak.git diff --git a/docs/README.stable-point-release b/docs/README.stable-point-release index 462c3454..c0215fec 100644 --- a/docs/README.stable-point-release +++ b/docs/README.stable-point-release @@ -3,11 +3,11 @@ Rough Guide to doing Stable Point Releases in Debian - 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" @@ -29,13 +29,15 @@ dak make-changelog -s ${pusuite} -b ${suite} | cat - ${ftpdir}/dists/${suite}/Ch 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 @@ -76,7 +78,19 @@ dak generate-filelist -s ${suite} - 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.