Commit Graph

500 Commits (07fa6f29c8efad796dcc2b1891c6febc9fe6b4fd)
 

Author SHA1 Message Date
Johannes 'josch' Schauer 07fa6f29c8
coverage.sh: remove unused variable declaration 4 years ago
Johannes 'josch' Schauer 74725ac451
coverage.sh: test eatmydata and merged-usr hooks 4 years ago
Johannes 'josch' Schauer 0920f72996
hooks/setup00-merged-usr.sh: use /usr/share/debootstrap/functions if available and account for different architectures 4 years ago
Johannes 'josch' Schauer 465c056434
no longer needs to install twice when --depkgopt=path-exclude is given by filtering the tarball with new tarfilter utility 4 years ago
Johannes 'josch' Schauer 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) 4 years ago
Johannes 'josch' Schauer dd64e8220d
use distro-info-data and debootstrap to help with suite name and keyring discovery 4 years ago
Johannes 'josch' Schauer 7c532d5572
coverage.sh: produce report inside VM to prevent errors from version mismatches 4 years ago
Johannes 'josch' Schauer c4d9d81258
coverage.sh: fixup commit 95400ee1 4 years ago
Johannes 'josch' Schauer 87d383d754
replace -t STDERR with a common function that explains the 'no critic' annotation 4 years ago
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
4 years ago
Steve Dodd 5e66a4fb7f Fix apt-helper invocation for older versions.
Set up dpkg-divert of dpkg to avoid overwrite when dpkg is properly installed.
4 years ago
Johannes 'josch' Schauer 307cbf5a41
prefix certain progress bars with what is being done (closes: #16) 4 years ago
Johannes 'josch' Schauer df18304449
add a new pipe to communicate the number of blocks to the parent instead of abusing the hookhelper/listener 4 years ago
Johannes 'josch' Schauer a5ea38cbad
fix docs: there are four hooks, not three 4 years ago
Johannes 'josch' Schauer 0451d5f004
do not suggest using --dpkgopt=force-unsafe-io because it barely brings any speedups, see Debian bug #613428 4 years ago
Johannes 'josch' Schauer 614ef0e43d
make it clear that --aptopt and --dpkgopt add their content permamently 4 years ago
Johannes 'josch' Schauer 23fb2055e4
fix error message to specify the right command 4 years ago
Johannes 'josch' Schauer 501e29fdeb
fix closedir calls 4 years ago
Johannes 'josch' Schauer 05d8b5f253
hooks/eatmydata: download instead of copy-ing from host 4 years ago
Johannes 'josch' Schauer 95400ee1e2
coverage.sh: add test for hook-dir 4 years ago
Johannes 'josch' Schauer 12f41ad33f
fix syntax for perltidy 4 years ago
Johannes 'josch' Schauer 075645289f
add --hook-directory option and a directory with hooks 4 years ago
Johannes 'josch' Schauer e2a759967f
put hook listener into its own function and expose it to the CLI via --hook-listener 4 years ago
Johannes 'josch' Schauer 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 4 years ago
Johannes 'josch' Schauer dc67c1f4be
if we got dpkg >= 1.20.0, then we don't have to create certain files and directories ourselves 4 years ago
Johannes 'josch' Schauer e8144b1fbb
coverage.sh: run diff with -u 4 years ago
Johannes 'josch' Schauer 8c467584f6
coverage.sh: check that xattrs are set in the original tarball 4 years ago
Johannes 'josch' Schauer 7ec0e1b4e1
coverage.sh: skip prio:standard test because python is priority:standard but uninstallable since August 03 2020, see Debian bug #968217 4 years ago
Johannes 'josch' Schauer d9153818f4
since libcap2 2.41 or upstream commit 177cd418, the getcap output format changed 4 years ago
Johannes 'josch' Schauer e2ee5b1e84
make_mirror.sh: workaround python being uninstallable since August 03 2020, see Debian bug #968217 4 years ago
Johannes 'josch' Schauer 6af42fafe9
coverage.sh: document how to check for new chrootless packages 4 years ago
Johannes 'josch' Schauer 6eb52d8095
coverage.sh: print unified diff 4 years ago
Johannes 'josch' Schauer 35b72c9895
coverage.sh: skip tests because of #963788 4 years ago
Johannes 'josch' Schauer 904274b9f4
adjust genext2fs (>= 1.5.0) interface 4 years ago
Johannes 'josch' Schauer 6c4c4bef41
coverage.sh: comparing amd64 with i386 should only be done with RUN_MA_SAME_TESTS = yes 4 years ago
Johannes 'josch' Schauer c633a9ac0d
coverage.sh: add test for known-good chrootless packages 4 years ago
Johannes 'josch' Schauer 1dc0984821
Revert "remove libgcc1 for libc6 >= 2.30-2" -- situation in debootstrap is fixed
This reverts commit a91d7440cb.
4 years ago
Johannes 'josch' Schauer 112c0a5a6d
add documentation about --{setup,extract,essential,customize}-hooks and --skip option, making them an official interface 4 years ago
Johannes 'josch' Schauer 40b6155967
add another --dpkgopt example 4 years ago
Johannes 'josch' Schauer 4d041140d5
instead of 'du' we use File::Find to avoid different results on different filesystems, see https://bugs.debian.org/650077 for a discussion 4 years ago
Johannes 'josch' Schauer 655857e525
don't use apt sandboxing in fakechroot or proot modes 4 years ago
Johannes 'josch' Schauer af13116336
do not hide errors even with --quiet
This change also fixes the problem that when --quiet is given, an error
will never lead to a non-zero exit status because the error function
returns before it runs die()
4 years ago
Johannes 'josch' Schauer da4de7cfdf
coverage.sh: test wrapping debootstrap in mmdebstrap 4 years ago
Johannes 'josch' Schauer dc9a5dc281
document how to use mmdebstrap as a debootstrap wrapper 4 years ago
Johannes 'josch' Schauer fa12e4f488
create /tmp with chmod 01777 4 years ago
Johannes 'josch' Schauer b60893aa83
add --skip=output/dev 4 years ago
Johannes 'josch' Schauer e1d0a17751
return immediately if nothing to do in download, extract and essential stages 4 years ago
Johannes 'josch' Schauer c0ee8c82db
coverage.sh: check bit-by-bit identical squashfs and ext2 output using S_D_E between root and unshare modes 4 years ago
Johannes 'josch' Schauer ccae6de410
fix message 'failed to start' -> 'failed to run' 4 years ago
Johannes 'josch' Schauer be2bb0bb7e
do not emit a tarball with xattrs for squashfs and ext2 output because tar2sqfs and genext2fs do not support extended attributes 4 years ago