URGENT! HELP needed for apt-ftparchive !
Thomas Lange
lange at informatik.uni-koeln.de
Tue Aug 28 16:57:53 CEST 2007
Help!
After spending several hours on creating new Release files for the FAI
repository (deb http://www.informatik.uni-koeln.de/fai/download etch koeln),
I give up. I don't get things working and I need some urgent help.
I'm not sure if using "apt-ftparchive generate " will make things easier.
So, please help me fixing how to generate the Packages.gz and Release
files. Here's my current script:
#! /bin/bash
dir="developers/koeln"
mdir=/scratch/www/fai/download
cd $mdir || exit 1
apt-ftparchive packages developers > $mdir/dists/$dir/binary-i386/Packages
apt-ftparchive packages developers > $mdir/dists/$dir/binary-amd64/Packages
apt-ftparchive sources developers > $mdir/dists/$dir/source/Sources
apt-ftparchive packages developers | gzip -9 > $mdir/dists/$dir/binary-i386/Packages.gz
apt-ftparchive packages developers | gzip -9 > $mdir/dists/$dir/binary-amd64/Packages.gz
apt-ftparchive sources developers | gzip -9 > $mdir/dists/$dir/source/Sources.gz
rm dists/Release dists/Release.gpg
apt-ftparchive -c ~/.aptconf-koeln release . > .Release
mv .Release dists/Release
cd dists || exit 9
gpg -abs -o Release.gpg Release
--
regards Thomas
More information about the linux-fai-devel
mailing list