bootstrap_options:
architecture: i386
extra_packages:
- apt
- e2fsprogs
- tzdata
variant: buildd
bootstrap_repositories:
- check_signature_with: external
components:
- main
keyring:
sha256sum: eedd870262a87eb8fc950090b69ce082c24a0c63d3c227636a6cdc864dd18d8f
url: https://deb.freexian.com/extended-lts/archive-key.asc
mirror: http://deb.freexian.com/extended-lts
suite: jessie
customization_script: |
#!/bin/sh
set -e
# jessie's apt does not understand deb822 .sources. Convert them.
perl <<'EOF'
use autodie;
my %d;
open(F, "<", "/etc/apt/sources.list.d/file.sources");
$d{$1}=$2 while(<F> =~ m/([^:]+): (.*)/);
close(F);
open(F, ">", "/etc/apt/sources.list.d/file.list");
foreach my $t (split(/\s+/, $d{Types})) {
foreach my $s (split(/\s+/, $d{Suites})) {
print F "$t $d{URIs} $s $d{Components}\n";
}
}
close(F);
EOF
tail -v -n+0 /etc/apt/sources.list.d/file.list
echo "==> EOF <=="