Commit graph

413 commits

Author SHA1 Message Date
982f8e982c
add --quiet and --debug switches and debug/verbose/info/warning/error functions 2019-01-20 10:39:01 +01:00
58a3069495
add mmdebstrap prefix to temporary directory name 2019-01-14 22:24:33 +01:00
765f5b91e9
call apt with Dpkg::Use-Pty=false to enable immediate termination upon SIGINT and prevent it from messing up the terminal with tcsetattr() 2019-01-14 22:23:02 +01:00
be1af15489
use common function for run_dpkg_progress and run_apt_progress 2019-01-13 22:04:25 +01:00
9453c7e2a9
coverage.sh: add test for --customize 2019-01-13 13:36:42 +01:00
7f58c4596a
handle INT, HUB, PIPE and TERM signals, wait for child processes and clean up mounts 2019-01-13 10:17:46 +01:00
1c7e0c86f0
coverage.sh: mmdebstrap now creates /var/lib/dpkg/available 2019-01-13 10:14:25 +01:00
80aea48fa7
coverage.sh: testing is now also affected by #917386 and #917407 2019-01-13 10:13:41 +01:00
0345d30ae6
run_*_progress: fix error message when exec() failed 2019-01-12 00:48:40 +01:00
a3f69f8874
add undocumented --customize option 2019-01-08 11:28:27 +01:00
d66a5a7d74
Several formatting improvements to POD 2019-01-08 11:27:56 +01:00
e0ea1e6d65
add FIXME option to also support Debian derivatives 2019-01-08 11:26:24 +01:00
fa836c01f7
refer to #898446 when warning about unprivileged_userns_clone 2019-01-08 11:23:39 +01:00
e0b107453d
add another example --aptopt to man page 2019-01-07 13:19:38 +01:00
25bec4d5e1
add --merged-usr and --no-merged-usr no-op options for debootstrap compatibility 2019-01-07 13:18:59 +01:00
418b42746e
create an empty /var/lib/dpkg/available as otherwise dpkg fails on package removal 2019-01-07 13:16:51 +01:00
1e0b4cb3b0
now that fakechroot and proot are fixed, add support for for variants beyond essential and apt 2019-01-01 14:28:56 +01:00
e5564a0dad
make_mirror.sh: setup root password for possible debugging of qemu sessions 2018-12-30 17:19:47 +01:00
5ac613983c
make_mirror.sh: use $mirror when calling mmdebstrap instead of its default mirror 2018-12-30 17:19:26 +01:00
29550acb88
add --interactive=never to rm call to avoid prompts for removal of write protected files in proot mode 2018-12-30 17:18:27 +01:00
903b318ccc
make_mirror.sh: instead of rm -r, remove temporary files explicitly to avoid desaster 2018-12-30 17:16:57 +01:00
4ffa7bb69b
make_mirror.sh: create temporary directory inside the cache and use hardlinks to avoid unnecessary I/O 2018-12-30 17:16:16 +01:00
643152ec16
run_qemu.sh: add comment with an example of how to connect to qemu serial unix socket 2018-12-30 17:14:15 +01:00
c670f51826
run_qemu.sh: if the run is aborted, then the last line is likely not an integer, thus compare strings instead of numbers 2018-12-30 17:13:46 +01:00
b3269c8809
run_null.sh: remove unused variable 2018-12-30 17:13:13 +01:00
b113771a81
make_mirror.sh: never leave the cache in an inconsistent state by atomically switching symlinks 2018-12-30 16:37:03 +01:00
8d92412380
make_mirror.sh: put double quotes around string 2018-12-28 07:28:55 +01:00
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