Johannes 'josch' Schauer
33b1ed5993
coverage.sh: test ubuntu focal
4 years ago
Johannes 'josch' Schauer
74725ac451
coverage.sh: test eatmydata and merged-usr hooks
4 years ago
Johannes 'josch' Schauer
7c532d5572
coverage.sh: produce report inside VM to prevent errors from version mismatches
4 years ago
Johannes 'josch' Schauer
e2ee5b1e84
make_mirror.sh: workaround python being uninstallable since August 03 2020, see Debian bug #968217
4 years ago
Johannes 'josch' Schauer
1dc0984821
Revert "remove libgcc1 for libc6 >= 2.30-2" -- situation in debootstrap is fixed
...
This reverts commit a91d7440cb
.
4 years ago
Johannes 'josch' Schauer
c462a080c3
make_mirror.sh: create debootstrap directory with mktemp
...
if debootstrap is run without qemu and make_mirror.sh is aborted the
partly debootstrapped directory is left over. To avoid debootstrapping
into the same directory (and failing at it) we generate a new temporary
directory every time with mktemp
4 years ago
Johannes 'josch' Schauer
895c388ede
add --format option and ext2 image output
4 years ago
Johannes 'josch' Schauer
a91d7440cb
remove libgcc1 for libc6 >= 2.30-2
...
The buildd variant of debootstrap will install libgcc-s1 *and* libgcc1
even though the former provides the latter. Remove the latter manually.
Since apt does not consider libgcc1 necessary, we have to download it
explicitly for debootstrap.
See Debian bug #953861
5 years ago
Johannes 'josch' Schauer
7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode
5 years ago
Johannes 'josch' Schauer
d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images
5 years ago
Johannes 'josch' Schauer
5bf8c3fcf9
add sync, umount and shutdown to guestfish calls
5 years ago
Johannes 'josch' Schauer
62159d124a
support deb822-style format apt sources
5 years ago
Johannes 'josch' Schauer
1f59856858
make_mirro.sh: install gpg into qemu machine
5 years ago
Johannes 'josch' Schauer
98c8c573de
coverage.sh: test taridshift
5 years ago
Johannes 'josch' Schauer
588df83d1b
make_mirror.sh: select kernel image depending on host architecture
5 years ago
Johannes 'josch' Schauer
961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes
5 years ago
Johannes 'josch' Schauer
dbdf3f34c6
add support for generating squashfs images using tar2sqfs
5 years ago
Johannes 'josch' Schauer
dc7663b3a8
coverage.sh: allow running tests on architectures other than amd64 with reduced functionality
5 years ago
Johannes 'josch' Schauer
ca9cb3145e
make_mirror.sh: set traps to automatically cleanup on failure
5 years ago
Johannes 'josch' Schauer
aaac3e677f
make_mirror.sh: feed file to guestfish via heredoc instead of tempfile
5 years ago
Johannes 'josch' Schauer
163da0a72d
coverage.sh: add safety measure to ensure certain tests are not run outside qemu
5 years ago
Johannes 'josch' Schauer
de85ad44b2
coverage.sh: reintroduce testing of debootstrap '-' variant
5 years ago
Johannes 'josch' Schauer
647e7e37f1
coverage.sh: test xattr support
...
When creating a tarball: --xattrs
When extracting a tarball: --xattrs --xattrs-include='*'
5 years ago
Johannes 'josch' Schauer
c20056d48f
run_qemu.sh: use virtio disk and network
5 years ago
Johannes 'josch' Schauer
e6d5d74d87
--keyring now overwrites the default apt keyring
...
- apt can only handle one directory and one file as keyring
- the signed-by option is used to specify the keyrings for suites that
are not known by apt
5 years ago
Johannes 'josch' Schauer
d4646fd8b0
coverage.sh: add test for i386 on amd64 without qemu
5 years ago
Johannes 'josch' Schauer
2db69b1cfa
make_mirror.sh: suggest which cache to delete
5 years ago
Johannes 'josch' Schauer
a0001f3681
make_mirror.sh: security.d.o dropped the MD5sum field for SHA256 in Packages.gz
5 years ago
Johannes 'josch' Schauer
a425b948dd
updates for release of Debian buster
5 years ago
Johannes 'josch' Schauer
19fdb4914d
coverage.sh: auto generate package list for aspcud instead of hardcoding it
6 years ago
Johannes 'josch' Schauer
bc3d5153df
make_mirror.sh: choose mode automatically when running mmdebstrap
6 years ago
Johannes 'josch' Schauer
70cf6b39df
make_mirror.sh: list remaining files if /var/cache/apt/archives/ is not empty
6 years ago
Johannes 'josch' Schauer
ea8315a5f1
coverage.sh: allow setting chroot distribution with DEFAULT_DIST
6 years ago
Johannes 'josch' Schauer
6c39fe8b5a
coverage.sh: add test for aspcud external apt solver
6 years ago
Johannes 'josch' Schauer
aa319c64b2
make_mirror.sh: instead of prefixing with the current time, print the timedelta since script start
6 years ago
Johannes 'josch' Schauer
ed1899476c
make_mirror.sh: annotate each line with timestamp
6 years ago
Johannes 'josch' Schauer
c747f6ba1f
make_mirror.sh: quote paths
6 years ago
Johannes 'josch' Schauer
1b18b11a86
make_mirror.sh: add --no-run-if-empty to xargs call
6 years ago
Johannes 'josch' Schauer
a0e2c70eba
make_mirror.sh: only rm oldcachedir if it exists
6 years ago
Johannes 'josch' Schauer
49d0642932
make_mirror.sh: only replace mini-httpd config in qcow image if HAVE_QEMU = yes
6 years ago
Johannes 'josch' Schauer
79b7604641
make_mirror.sh: increase disk size because buildd chroot got bigger
6 years ago
Johannes 'josch' Schauer
94c2932ac8
make_mirror.sh: execute test script with xtrace
6 years ago
Johannes 'josch' Schauer
10b3fd869a
make_mirror.sh: add missing mmdebstrap dependency: perl-doc
6 years ago
Johannes 'josch' Schauer
21270ef56d
make_mirror.sh: also mirror security.debian.org and stable-updates
6 years ago
Johannes 'josch' Schauer
e5564a0dad
make_mirror.sh: setup root password for possible debugging of qemu sessions
6 years ago
Johannes 'josch' Schauer
5ac613983c
make_mirror.sh: use $mirror when calling mmdebstrap instead of its default mirror
6 years ago
Johannes 'josch' Schauer
903b318ccc
make_mirror.sh: instead of rm -r, remove temporary files explicitly to avoid desaster
6 years ago
Johannes 'josch' Schauer
4ffa7bb69b
make_mirror.sh: create temporary directory inside the cache and use hardlinks to avoid unnecessary I/O
6 years ago
Johannes 'josch' Schauer
b113771a81
make_mirror.sh: never leave the cache in an inconsistent state by atomically switching symlinks
6 years ago
Johannes 'josch' Schauer
8d92412380
make_mirror.sh: put double quotes around string
6 years ago
Johannes 'josch' Schauer
b6e8c9dbb7
coverage.sh: skip comparison with debootstrap unstable because of #917386 and #917407
6 years ago
Johannes 'josch' Schauer
1aec25f043
make_mirror.sh: don't run debootstrap for untested scenario
6 years ago
Johannes 'josch' Schauer
131a39d633
make_mirror.sh: export SOURCE_DATE_EPOCH for debootstrap
6 years ago
Johannes 'josch' Schauer
ef576ab389
use LC_ALL=C.UTF-8 instead of LC_ALL=C
6 years ago
Johannes 'josch' Schauer
97d273aaf6
disable merged usr
6 years ago
Johannes 'josch' Schauer
b57b8de3a0
make_mirror.sh: add procps for /sbin/sysctl
6 years ago
Johannes 'josch' Schauer
2618a587a0
coverage.sh: allow running without qemu
...
On machines without kvm using qemu is not practical. Now, most tests can
be run without a container. Also add support for missing unshare, proot
and binfmt.
6 years ago
Johannes 'josch' Schauer
504e6765c8
make_mirror.sh: fix status line
6 years ago
Johannes 'josch' Schauer
0cc9e3b44a
make_mirror.sh,run_qemu.sh: use temporary directory for temporary files instead of the current working directory
6 years ago
Johannes 'josch' Schauer
8cbc9e9a00
make_mirror.sh: add two comments for guestfish debugging
6 years ago
Johannes 'josch' Schauer
96c01a67e4
make_mirror.sh: use redirection to write tarfile
...
During the Debian autopkgtest mmdebstrap is executed as root but we
don't want the tarfile being owned by root.
6 years ago
Johannes 'josch' Schauer
f4f6200f36
make_mirror.sh: only (u)mount cover_db.img if it exists
6 years ago
Johannes 'josch' Schauer
935f5b7a66
Instead of requiring root, use qemu
...
- unprivileged creation of rootfs using guestfish
- allows full control over network, installed packages
- merged test.sh into coverage.sh
6 years ago
Johannes 'josch' Schauer
cb44551009
make_mirror.sh: do not retrieve translations
6 years ago
Johannes 'josch' Schauer
7ca2e490d7
make_mirror.sh: also download a foreign architecture
6 years ago
Johannes 'josch' Schauer
7b4d052653
make_mirror.sh: remove unnecessary statement
6 years ago
Johannes 'josch' Schauer
a45eb846f7
make_mirror.sh: only download new archives to save bandwidth
6 years ago
Johannes 'josch' Schauer
4e663a12f0
test.sh: cache debootstrap results
6 years ago
Johannes 'josch' Schauer
96c6913281
make_mirror.sh: also include build-essential
6 years ago
Johannes 'josch' Schauer
be3f571810
make_mirror.sh: do not hardcode amd64
6 years ago
Johannes 'josch' Schauer
9ed4c65e35
initial commit
6 years ago