Default
{
- Packages::Compress "gzip";
- Sources::Compress "gzip";
+ Packages::Compress ". gzip bzip2";
+ Sources::Compress ". gzip bzip2";
DeLinkLimit 0;
FileMode 0664;
}
for dist in $DISTS; do
rm -f $dist/Release*
darchs=$(dak admin s-a list-arch $dist | tr '\n' ' ')
- apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd $dist security" -o APT::FTPArchive::Release::Architectures="${darchs}" release $dist > Release
+ codename=$(dak admin s show ${dist} | grep ^Codename | awk '{print $2}')
+ apt-ftparchive -qq -o APT::FTPArchive::Release::Codename="${codename}" -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd $dist security" -o APT::FTPArchive::Release::Architectures="${darchs}" release $dist > Release
gpg --secret-keyring ${base}/s3kr1t/dot-gnupg/secring.gpg --keyring ${base}/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 55BE302B --detach-sign -o Release.gpg Release
mv Release* $dist/.
done
# Yes, we could do this inside do_Approve too. But this way we see who exactly
# called it (ownership of the file)
dbchange=get_dbchange(os.path.basename(changes[0]), session)
- acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, dbchange.version)
+ # strip epoch from version
+ version=dbchange.version
+ version=version[(version.find(':')+1):]
+ acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, version)
if Options["No-Action"]:
print "Would create %s now and then go on to accept this package, but No-Action is set" % (acceptfilename)
sys.exit(0)