5 t_archive_method=reprepro
11 local etcapt=$tmp/etc-apt
14 t-git-config dgit-distro.test-dummy.archive-query aptget:
15 t-git-config dgit-distro.test-dummy.mirror file://$mir/
18 cat >$etcapt/conf <<END
21 export APT_CONFIG=$etcapt/conf
22 gpg --export Hannibal >han.pgp
23 fakeroot apt-key add <han.pgp
24 mkdir $etcapt/apt.conf.d
27 t-archive-none-reprepro () { # hook called by t-archive-none
31 t-archive-query-reprepro () { # hook called by t-archive-query
36 t-run-reprepro includedsc $suite $tmp/mirror/pool/$dscf
43 mkdir -p $mir/pool/main
45 exec 3>$rrc/distributions
47 local arch; arch=`dpkg --print-architecture`
49 for suitespec in $suitespecs; do
50 local suite=${suitespec%%:*}
51 local sname=${suitespec#*:}
54 if [ $sname != $suite ]; then
55 rm -f $mir/dists/$sname
56 ln -s $suite $mir/dists/$sname
63 Architectures: source binary-$arch