b6e8c9dbb7
coverage.sh: skip comparison with debootstrap unstable because of #917386 and #917407
2018-12-28 07:26:24 +01:00
1aec25f043
make_mirror.sh: don't run debootstrap for untested scenario
2018-12-28 07:19:24 +01:00
e6ce901be4
run several binfmt checks before using qemu-user mode
2018-12-28 07:19:24 +01:00
4a2bf62931
add --resolve-deps no-op option for sbuild-createchroot compatibility
2018-12-28 07:19:23 +01:00
3f29fa461a
don't die if output cannot be written to tarball and instead check error condition early
2018-12-28 07:19:23 +01:00
f4263ebd74
add --verbose option that prints apt and dpkg output instead of progress bars
2018-12-28 07:19:23 +01:00
61ad8a8e45
update --help output for --aptopt using single quotes to avoid escaping of double quotes
2018-12-28 07:19:23 +01:00
131a39d633
make_mirror.sh: export SOURCE_DATE_EPOCH for debootstrap
2018-12-28 07:19:23 +01:00
076d035f65
coverage.sh: check requirement for disk image and debootstrap tarballs before running
2018-12-28 07:19:05 +01:00
ef576ab389
use LC_ALL=C.UTF-8 instead of LC_ALL=C
2018-12-27 14:16:23 +01:00
fa3719eaeb
run_qemu.sh: use an exit trap for reporting the result and cleanup
...
This will prevent any leftover files in case of a sudden error or
ctrl+c.
2018-12-27 14:14:07 +01:00
97d273aaf6
disable merged usr
2018-12-07 00:17:10 +01:00
c8dbe5bd15
coverage.sh: account for differently ordered /etc/shells
2018-12-07 00:13:51 +01:00
f101057e1b
add qemu TODO item
2018-12-06 17:15:56 +01:00
94862ef03e
coverage.sh: make regex more precise and relax it for version numbers
2018-12-05 12:01:58 +01:00
b57b8de3a0
make_mirror.sh: add procps for /sbin/sysctl
2018-12-05 10:36:21 +01:00
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.
2018-12-05 10:33:03 +01:00
6634f4f49f
coverage.sh: fix status line
2018-12-05 08:27:57 +01:00
504e6765c8
make_mirror.sh: fix status line
2018-12-05 08:08:12 +01:00
b0979d1d6b
add verbose mode to test_unshare() so that it can report what went wrong
2018-12-05 08:06:26 +01:00
3ffc8ea35f
add FIXME comment about binfmt_misc support
2018-12-05 08:05:32 +01:00
f25dc399c2
run_qemu.sh: only add -enable-kvm if /dev/kvm exists
2018-12-04 09:05:00 +01:00
0cc9e3b44a
make_mirror.sh,run_qemu.sh: use temporary directory for temporary files instead of the current working directory
2018-11-23 17:44:59 +01:00
8cbc9e9a00
make_mirror.sh: add two comments for guestfish debugging
2018-11-23 17:44:06 +01:00
eaaa0b109d
run_qemu.sh: pass absolute path to qemu-img because otherwise the backing image will be searched relative to the overlay
2018-11-23 17:41:29 +01:00
ff3e66e37c
run_qemu.sh: run with set -eu
2018-11-23 17:40:17 +01:00
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.
2018-11-23 17:36:24 +01:00
f4f6200f36
make_mirror.sh: only (u)mount cover_db.img if it exists
2018-11-23 17:35:24 +01:00
4ef1eda200
append to $PATH instead of replacing its content
2018-11-23 17:30:32 +01:00
40e25ef653
coverage.sh: only run cover if coverage data exists
...
This is useful if ./coverage.sh is run with CMD=./mmdebstrap and thus
gathering coverage data is disabled.
2018-11-23 17:28:37 +01:00
13358fc039
coverage.sh: conditionally copy mmdebstrap to ./shared
...
- only copy if local copy is newer than the copy in ./shared
- this enables the autopkgtest to place its own version in ./shared
which will then not be overwritten
2018-11-23 17:27:40 +01:00
6b1a5a04ad
README.md: update section about tests
2018-11-23 17:26:50 +01:00
a5348c970d
release 0.3.0
2018-11-21 08:24:22 +01:00
972b207508
implement 'extract' variant
2018-11-21 00:21:47 +01:00
16d2a4a8d9
allow empty lost+found directory in target directory
2018-11-21 00:21:46 +01:00
1730a17286
add two code comments
2018-11-21 00:21:46 +01:00
2949691591
When packaging the tarball with proot, exclude /host-rootfs
2018-11-21 00:21:46 +01:00
1890e22b14
do not make the default mirror for the native arch only. The sane expectation is, that the default mirror is for any architecture.
2018-11-21 00:21:46 +01:00
cc7dddb1b3
re-installing packages with dpkg also requires --force-depends because dpkg doesn't consider Pre-Depends
2018-11-21 00:21:46 +01:00
a9765a3ad2
fix Apt::Architectures architecture list
2018-11-21 00:21:46 +01:00
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
2018-11-21 00:21:43 +01:00
bcb6b65b72
coverage.sh: add more tests
2018-11-02 17:24:46 +01:00
7948894159
dereference array foreignarchs before iterating
2018-11-02 17:24:28 +01:00
cb44551009
make_mirror.sh: do not retrieve translations
2018-11-02 17:23:53 +01:00
4c9d2bd3d7
add sanity check for fakechroot/proot renameat2 bug
2018-10-24 02:41:43 +02:00
3c411012be
coverage.sh: print script progress
2018-10-24 02:37:45 +02:00
88c0d40b8f
test.sh: now dpkg in testing also creates lock-frontend
2018-10-23 19:03:13 +02:00
f3d227ae5f
add coverage.sh
2018-10-23 18:04:34 +02:00
b8c63f8797
check the mode earlier so that we can re-exec under fakechroot earlier
2018-10-23 18:04:34 +02:00
70c1468453
in fakechroot mode, do not create symlinks to non-existing /proc
2018-10-23 18:04:34 +02:00