Re: how to create a Release file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tomas Davidek wrote:
> I rather suspect that there is something wrong with the Release file
> itself, it seems some header is missing. My Release looks like:
> ----------
> Date: Fri, 21 Apr 2006 13:45:27 UTC
> MD5Sum:
> d41d8cd98f00b204e9800998ecf8427e 0 Release
> 488884a11d9ba1cc5fe28646ca9b9e3c 1269
> main/binary-amd64/Packages.gz
> ab29d796accdd96e9f700399d1f70ef9 925
> main/binary-amd64/Sources.gz
> a7a653a9884509b6f6612cab71047ab9 1269
> main/binary-i386/Packages.gz
> ----------
> while the Debian ones have a header in the beginning:
> ---------------
> Origin: Debian
> Label: Debian-Security
> Suite: testing
> Codename: etch
> Date: Mon, 17 Apr 2006 08:35:59 UTC
> Architectures: amd64 alpha arm hppa i386 ia64 m68k mips mipsel powerpc
> s390 sparc
> Components: updates/main updates/contrib updates/non-free
> Description: Debian testing Security Updates
> MD5Sum:
> 5c8b4d953e776a92ca7d6da9edcb7196 7914
> main/binary-alpha/Packages
> 927ab0a52245a0be815c50f5fdb58ca5 1867
> main/binary-alpha/Packages.gz
> ----------------
> Is that important ? If so, is there any script to generate the header or
> do I have to do it myself ?
apt-ftparchive(1) gives:
release
The release command generates a Release file from a directory
tree. It recursively searches the given directory for Packages,
Packages.gz, Packages.bz2, Sources, Sources.gz, Sources.bz2, Re‐
lease and md5sum.txt files. It then writes to stdout a Release
file containing an MD5 digest and SHA1 digest for each file.
Values for the additional metadata fields in the Release file
are taken from the corresponding variables under APT::FT‐
PArchive::Release, e.g. APT::FTPArchive::Release::Origin. The
supported fields are: Origin, Label, Suite, Version, Codename,
Date, Architectures, Components, Description.
See second paragraph. Perhaps a couple of "-o APT::FTPArchive::Xyz=Foo"
options could help?
dam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFESgJtHqjlqpcl9jsRAoAFAJ9Kg1/7Ifm7P06s3YCfDU3N7kOu3wCgjxqK
WSEhAnEGi5pt2/l94y/FbtM=
=abrM
-----END PGP SIGNATURE-----
Reply to: