aboutsummaryrefslogtreecommitdiff
path: root/dist/debian/mkrep
blob: ad82bccc6ad72cd1bdc38c78d51a5a4b8c688afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/Users/ethan/plan9port/bin/rc

cd /scratch/rsc/plan9
cvs up -dAP
cd dist; ./mkfilelist >filelist
cp filelist /Users/ethan/plan9port/dist
cd /Users/ethan/plan9port/dist/debian

rm -rf dists pool
mkdir -p dists pool
./mkpkg all
mkdir other
cp other/*.deb pool
d=dists/testing/main/binary-i386
mkdir -p $d
apt-ftparchive packages pool |tee $d/Packages |gzip >$d/Packages.gz
cp Release.testing $d/Release
{
	cat Release.top
	apt-ftparchive release dists/testing 
} >dists/testing/Release
echo rsync -r dists pool swtch.com:www/swtch.com/debian