You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
748 B

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