5 t_archive_method=reprepro
7 t-git-config dgit-distro.test-dummy.archive-query aptget:
8 t-git-config dgit-distro.test-dummy.mirror file://$tmp/mirror/
11 cat >$tmp/etc-apt/conf <<END
12 Dir::Etc "$tmp/etc-apt";
14 export APT_CONFIG=$tmp/etc-apt/conf
15 gpg --export Hannibal >han.pgp
16 fakeroot apt-key add <han.pgp
17 mkdir $tmp/etc-apt/apt.conf.d
20 t-archive-none-reprepro () {
24 t-archive-query-reprepro () {
29 t-run-reprepro includedsc $suite $tmp/mirror/pool/$dscf
33 local rrc=$tmp/mirror/conf
35 mkdir -p $tmp/mirror/pool/main
37 exec 3>$rrc/distributions
39 local arch=`dpkg --print-architecture`
41 for suitespec in $suitespecs; do
42 local suite=${suitespec%%:*}
43 local sname=${suitespec#*:}
45 mkdir -p $tmp/mirror/dists
46 if [ $sname != $suite ]; then
47 rm -f $tmp/mirror/dists/$sname
48 ln -s $suite $tmp/mirror/dists/$sname
55 Architectures: source binary-$arch
64 --outdir $tmp/mirror \
65 --basedir $tmp/mirror \