Commit graph

711 commits

Author SHA1 Message Date
e1a41fac94
print errno when unlink fails 2019-02-28 12:20:42 +01:00
920877fa2a
disable apt sandboxing if the chroot directory is not accessible by the _apt user 2019-02-28 11:54:03 +01:00
632b19eca3
coverage.sh: re-enable fakechroot testing as #915559 got fixed 2019-02-28 07:51:54 +01:00
d0f0283120
do not cleanup apt and dpkg lock files to not set bad precedence 2019-02-28 00:20:00 +01:00
0e49b70a0f
coverage.sh: /run/mount/utab is created inside qemu but not on gitlab CI -- weird... 2019-02-28 00:18:06 +01:00
c747f6ba1f
make_mirror.sh: quote paths 2019-02-24 11:06:57 +01:00
1b18b11a86
make_mirror.sh: add --no-run-if-empty to xargs call 2019-02-24 11:06:14 +01:00
a0e2c70eba
make_mirror.sh: only rm oldcachedir if it exists 2019-02-24 11:05:18 +01:00
c0ac77b01d
coverage.sh: stable default mirror: don't forget to remove chroot and only run test with qemu 2019-02-24 11:00:24 +01:00
49d0642932
make_mirror.sh: only replace mini-httpd config in qcow image if HAVE_QEMU = yes 2019-02-24 10:49:01 +01:00
1b9348d97d
run_null.sh: run test with xtrace just as it's done in run_qemu.sh 2019-02-24 10:45:26 +01:00
e3219a5c8f
release 0.4.0 2019-02-23 13:25:56 +01:00
48e34852a2
clean /var/lib/apt/lists/auxfiles so that apt older than 1.6 has no problem with the chroot 2019-02-23 13:22:44 +01:00
67343d0309
coverage.sh: adjust total number of tests 2019-02-23 08:58:08 +01:00
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