Commit graph

911 commits

Author SHA1 Message Date
65e40c8c34
redirect stderr of dpkg --version to /dev/null to prevent error output if dpkg is too old (thanks Trent W. Buck!) 2020-09-02 22:58:20 +02:00
e4a3d2b2c5
coverage.sh: two tests need qemu isolation 2020-08-28 14:37:50 +02:00
caa80ccd95
coverage.sh: send adios to hook-listener 2020-08-28 14:37:05 +02:00
58925dc493
add two more debug messages 2020-08-28 14:36:14 +02:00
400b51ad7b
release 0.7.0 2020-08-27 20:52:47 +02:00
075f22b0c0
README.md: add Steve Dodd as contributor 2020-08-27 20:51:38 +02:00
dbed763af1
README.md: expand on make_mirror.sh and coverage.sh 2020-08-27 20:51:11 +02:00
d528f6316c
coverage.sh: store temporary files in /tmp and not in shared 2020-08-27 15:18:43 +02:00
33b1ed5993
coverage.sh: test ubuntu focal 2020-08-26 09:44:29 +02:00
3713735240
document non-functional --variant=standard due to bug #968217 2020-08-25 18:08:35 +02:00
7c752fa8a0
print elapsed time after successful run 2020-08-25 18:08:31 +02:00
07fa6f29c8
coverage.sh: remove unused variable declaration 2020-08-25 16:05:33 +02:00
74725ac451
coverage.sh: test eatmydata and merged-usr hooks 2020-08-25 16:05:10 +02:00
0920f72996
hooks/setup00-merged-usr.sh: use /usr/share/debootstrap/functions if available and account for different architectures 2020-08-25 16:03:23 +02:00
465c056434
no longer needs to install twice when --depkgopt=path-exclude is given by filtering the tarball with new tarfilter utility 2020-08-25 13:02:33 +02:00
8f09c3e02f
unless in chrootless mode, omitting stuff in /var/lib/dpkg does not depend on the dpkg version outside, but on the version inside the chroot (and we don't know that one yet) 2020-08-24 18:45:22 +02:00
dd64e8220d
use distro-info-data and debootstrap to help with suite name and keyring discovery 2020-08-24 18:45:22 +02:00
7c532d5572
coverage.sh: produce report inside VM to prevent errors from version mismatches 2020-08-24 18:45:22 +02:00
c4d9d81258
coverage.sh: fixup commit 95400ee1 2020-08-24 18:45:22 +02:00
87d383d754
replace -t STDERR with a common function that explains the 'no critic' annotation 2020-08-24 18:45:18 +02:00
josch
cd87402a18 Merge branch 'eatmydata-fixes' into 'master'
Fix apt-helper invocation for older versions.

Fix apt-helper invocation for older versions.
Set up dpkg-divert of dpkg to avoid overwrite when dpkg is properly installed.

See merge request !1
2020-08-24 16:44:54 +00:00
Steve Dodd
5e66a4fb7f Fix apt-helper invocation for older versions.
Set up dpkg-divert of dpkg to avoid overwrite when dpkg is properly installed.
2020-08-20 19:28:14 +01:00
307cbf5a41
prefix certain progress bars with what is being done (closes: #16) 2020-08-18 14:31:38 +02:00
df18304449
add a new pipe to communicate the number of blocks to the parent instead of abusing the hookhelper/listener 2020-08-18 12:08:55 +02:00
a5ea38cbad
fix docs: there are four hooks, not three 2020-08-18 09:38:22 +02:00
0451d5f004
do not suggest using --dpkgopt=force-unsafe-io because it barely brings any speedups, see Debian bug #613428 2020-08-18 09:37:53 +02:00
614ef0e43d
make it clear that --aptopt and --dpkgopt add their content permamently 2020-08-18 09:37:08 +02:00
23fb2055e4
fix error message to specify the right command 2020-08-18 09:36:27 +02:00
501e29fdeb
fix closedir calls 2020-08-18 09:35:56 +02:00
05d8b5f253
hooks/eatmydata: download instead of copy-ing from host 2020-08-17 19:01:27 +02:00
95400ee1e2
coverage.sh: add test for hook-dir 2020-08-17 18:59:54 +02:00
12f41ad33f
fix syntax for perltidy 2020-08-17 18:57:36 +02:00
075645289f
add --hook-directory option and a directory with hooks 2020-08-16 00:50:46 +02:00
e2a759967f
put hook listener into its own function and expose it to the CLI via --hook-listener 2020-08-15 22:36:13 +02:00
c2c270390b
implement dpkg-realpath in perl so that we don't need to run tar inside the chroot anymore for modes other than fakechroot and proot 2020-08-15 18:29:17 +02:00
dc67c1f4be
if we got dpkg >= 1.20.0, then we don't have to create certain files and directories ourselves 2020-08-15 18:09:06 +02:00
e8144b1fbb
coverage.sh: run diff with -u 2020-08-15 18:07:45 +02:00
8c467584f6
coverage.sh: check that xattrs are set in the original tarball 2020-08-15 18:05:59 +02:00
7ec0e1b4e1
coverage.sh: skip prio:standard test because python is priority:standard but uninstallable since August 03 2020, see Debian bug #968217 2020-08-13 14:03:31 +02:00
d9153818f4
since libcap2 2.41 or upstream commit 177cd418, the getcap output format changed 2020-08-11 22:43:44 +02:00
e2ee5b1e84
make_mirror.sh: workaround python being uninstallable since August 03 2020, see Debian bug #968217 2020-08-11 09:51:03 +02:00
6af42fafe9
coverage.sh: document how to check for new chrootless packages 2020-07-09 07:40:54 +02:00
6eb52d8095
coverage.sh: print unified diff 2020-07-09 07:35:59 +02:00
35b72c9895
coverage.sh: skip tests because of #963788 2020-07-09 07:34:38 +02:00
904274b9f4
adjust genext2fs (>= 1.5.0) interface 2020-07-09 07:34:03 +02:00
6c4c4bef41
coverage.sh: comparing amd64 with i386 should only be done with RUN_MA_SAME_TESTS = yes 2020-06-24 23:11:03 +02:00
c633a9ac0d
coverage.sh: add test for known-good chrootless packages 2020-06-24 23:10:29 +02:00
1dc0984821
Revert "remove libgcc1 for libc6 >= 2.30-2" -- situation in debootstrap is fixed
This reverts commit a91d7440cb.
2020-06-24 09:34:34 +02:00
112c0a5a6d
add documentation about --{setup,extract,essential,customize}-hooks and --skip option, making them an official interface 2020-06-23 23:14:37 +02:00
40b6155967
add another --dpkgopt example 2020-06-23 23:12:16 +02:00