Commit graph

197 commits

Author SHA1 Message Date
732eb2a1d2
coverage.sh: disable fakechroot because of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915559 2019-02-23 08:56:54 +01:00
5a618ea2f5
coverage.sh: add TODO item 2019-02-23 08:56:03 +01:00
a91a825e67
add --version option 2019-02-23 08:55:31 +01:00
d73b8396ac
print the used temporary directory as info message 2019-02-23 08:50:02 +01:00
e06f2e9c57
the mmdebstrap command name has to be written in bold 2019-02-23 08:49:19 +01:00
26b1ff3fff
coverage.sh: fix print_header with defaultmode tests 2019-02-23 08:47:53 +01:00
93cf0544c6
coverage.sh: add 7 more tests 2019-02-23 08:46:32 +01:00
7126feff41
coverage.sh: increase cover_db.img size to 200M 2019-02-23 08:43:46 +01:00
1b8ad8400b
add --logfile option 2019-02-23 08:43:15 +01:00
79b7604641
make_mirror.sh: increase disk size because buildd chroot got bigger 2019-02-23 08:40:12 +01:00
94c2932ac8
make_mirror.sh: execute test script with xtrace 2019-02-23 08:39:35 +01:00
10b3fd869a
make_mirror.sh: add missing mmdebstrap dependency: perl-doc 2019-02-23 08:36:17 +01:00
1fe5da3d56
Better documentation of example showing mmdebstrap with sources.list on stdin 2019-02-20 18:18:31 +01:00
6e61c1a183
document the behaviour if --quiet, --silent, --verbose or --debug are passed at the same time 2019-02-20 18:17:00 +01:00
db415fe4f4
add short options for --quiet, --silent, --verbose and --debug 2019-02-20 18:02:55 +01:00
fffd74afc2
explicitly configure Getopt::Long 2019-02-20 18:00:52 +01:00
0ced3cc3de
coverage.sh: add tests for --verbose, --debug and --quiet 2019-02-20 17:40:26 +01:00
1f967ed163
coverage.sh: don't be brief when diffing against debootstrap results 2019-02-20 17:37:53 +01:00
0b058c7db1
add --setup-hook, --essential-hook and rename --customize to --customize-hook 2019-02-20 13:32:49 +01:00
d72a582a8b
coverage.sh: work around bug #917773 2019-02-20 00:31:06 +01:00
89718d367e
test no-op options and print info message when they are used 2019-02-15 12:42:46 +01:00
5115ca87c3
don't unset environment variables in @chrootcmd so that hooks still have access to them 2019-02-15 11:40:06 +01:00
3f15f66892
fix example for vmdb2 replacement 2019-02-15 11:36:40 +01:00
548130867b
do not run another apt-get pass with custom variant 2019-02-15 11:32:44 +01:00
2eed1262db
coverage.sh: create tarball as root with /tmp mounted nodev 2019-01-26 08:31:40 +01:00
316f909a1e
coverage.sh: test target directory with empty lost+found 2019-01-26 08:31:40 +01:00
9b3e2bce8d
coverage.sh: when adding foreign architecture, also install foreign package 2019-01-26 08:31:40 +01:00
e07b70c361
coverage.sh: perform default mirror test with stable so that we can also check if the security mirror gets added 2019-01-26 08:31:40 +01:00
21270ef56d
make_mirror.sh: also mirror security.debian.org and stable-updates 2019-01-26 08:31:36 +01:00
bde4c795ef
document that security mirrors are only implicitly added if no mirror was specified 2019-01-24 12:39:01 +01:00
b9e78796b2
prefer fakechroot to proot in auto mode because the latter produces wrong ownership 2019-01-24 12:37:44 +01:00
a3afe24fc0
Instead of using gzip compression support, run compressor ourselves
- otherwise ./dev tar cannot be concatenated with the rest
 - test compressor early
 - better document the TARGET option
2019-01-24 12:32:46 +01:00
84b0b5061b
start sanitizing the environment with chroot() and don't pass on TMPDIR 2019-01-20 10:46:19 +01:00
6f8bb8c977
since copy() is using syswrite(), we must flush the filehandle before calling it 2019-01-20 10:46:16 +01:00
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