| 1 |
#!/bin/sh |
| 2 |
set -e |
| 3 |
|
| 4 |
TESTDIR="$(readlink -f "$(dirname "$0")")" |
| 5 |
. "$TESTDIR/framework" |
| 6 |
setupenvironment |
| 7 |
configarchitecture 'amd64' |
| 8 |
|
| 9 |
insertpackage 'stable' 'foo' 'all' '1' |
| 10 |
insertpackage 'stable' 'bar' 'all' '1' '' '' '' 'main/debian-installer/others' |
| 11 |
insertpackage 'stable-backports' 'foo' 'all' '1+sb' |
| 12 |
insertpackage 'stable-backports' 'bar' 'all' '1+sb' '' '' '' 'main/debian-installer/others' |
| 13 |
|
| 14 |
find aptarchive/dists -path '*/debian-installer/i18n/Translation-en*' -delete |
| 15 |
|
| 16 |
setupaptarchive --no-update |
| 17 |
sed -i -e '/^Codename: / a\ |
| 18 |
Components: main contrib' $(find ./aptarchive -name 'Release') |
| 19 |
signreleasefiles |
| 20 |
|
| 21 |
testsuccess aptget update |
| 22 |
|
| 23 |
sed -i -e 's# main\w*$# main main/debian-installer#' rootdir/etc/apt/sources.list.d/* |
| 24 |
|
| 25 |
testsuccess aptget update |