Commit Graph

80 Commits (588529121333a68901c21a89fe32c303e41c0ab3)

Author SHA1 Message Date
Johannes Schauer Marin Rodrigues 5885291213
Use an caching apt proxy instead of copying /var/cache/apt/archives/*.deb
- only download Release files once and not by apt as well as with curl
   and thus avoid a mirror push happening between both downloads
 - no heuristic needed to place the file in their correct mirror
   location
 - no manual checksum checking
 - only throttle download speed when actually downloading and not when
   retrieving files from the cache
 - no translation of filenames between how the epoch colon is stored in
   files in /var/cache/apt/archives versus how it is stored in files on
   the mirrors
 - no special handling of stable update and security mirrors
 - implemented in Python instead of shell and thus an order of magnitude
   faster
1 year ago
Johannes Schauer Marin Rodrigues b90f1196e5
tests/root-mode-inside-chroot: run test script with -x 1 year ago
Johannes Schauer Marin Rodrigues 2f337767ea
tests/multiple-include: tzdata is producing /etc/timezone again 1 year ago
Johannes Schauer Marin Rodrigues 55f376d04a
tests: more cleanup traps 1 year ago
Johannes Schauer Marin Rodrigues 02769190ad
tests/as-debootstrap-unshare-wrapper: bind-mount /proc to work around #1031222 1 year ago
Johannes Schauer Marin Rodrigues b3810b0fcd
tests/as-debootstrap-unshare-wrapper: run in variants minbase and important 1 year ago
Johannes Schauer Marin Rodrigues 5e07567d5a
move running debootstrap from make_mirror.sh to a test case 1 year ago
Johannes Schauer Marin Rodrigues b18849caac
Assume that we can always run unshare
With mount --rbind we can bind-mount /proc in a privileged docker
container as it is used by salsaci.
1 year ago
Johannes Schauer Marin Rodrigues b474150f27
tests: fall back to diffoscope if cmp failed 1 year ago
Johannes Schauer Marin Rodrigues 4c64adf6ee
add tests/auto-mode-as-normal-user 1 year ago
Johannes Schauer Marin Rodrigues b648db0afd
tests: tzdata dropped /etc/timezone 1 year ago
Johannes Schauer Marin Rodrigues d9e6d62328
tests: redirect all id output to /dev/null 1 year ago
Johannes Schauer Marin Rodrigues a2d5573749
tests: drop qemu requirements for tests that only use it to create a user by defaulting to SUDO_USER 1 year ago
Johannes Schauer Marin Rodrigues 98aef0d023
tests: do not run sysctl -w kernel.unprivileged_userns_clone=1 as its the default value since linux 5.10.1 (Dec 2020) 1 year ago
Johannes Schauer Marin Rodrigues 090ce862c7
tests: replace adduser with useradd 1 year ago
Johannes Schauer Marin Rodrigues f737cce3f1
Support creating a fakechroot with merged-/usr on an unmerged-/usr system
Thanks: Helmut Grohne for finding this issue and help interating this
1 year ago
Johannes Schauer Marin Rodrigues 6d220e9a8d
run script with -e to catch exit code 1 year ago
Johannes Schauer Marin Rodrigues c738e96752
allow empty sources.list entries 1 year ago
Johannes Schauer Marin Rodrigues 860a9048d5
make info message lowercase like the rest 1 year ago
Johannes Schauer Marin Rodrigues f27ed490d6
Do not split --include values again in run_download and run_install
Closes: #1028977
1 year ago
Johannes Schauer Marin Rodrigues cc5ea8c0c7
tests/chrootless: now that all of essential is supported, test everything 1 year ago
Johannes Schauer Marin Rodrigues 52d1531c0d
tests/multiple-include: tzdata stopped shipping /usr/sbin/tzconfig 1 year ago
Johannes Schauer Marin Rodrigues 4925587b34
tests/as-debootstrap-unshare-wrapper: run diff with -u 1 year ago
Johannes Schauer Marin Rodrigues b0a5c30fb1
to find signed-by value, run gpg on the individual keys to print better error messages in case it fails (gpg doesn't give an indication which file it was unable to read) and print progress bar 1 year ago
Johannes Schauer Marin Rodrigues 644ac62ecd
tests/as-debootstrap-unshare-wrapper: isc-dhcp-client postinst doesn't create /etc/apparmor.d/local/sbin.dhclient 1 year ago
Johannes Schauer Marin Rodrigues 60186650cd
tests: tzdata gained lintian overrides and preinst prerm scripts 1 year ago
Johannes Schauer Marin Rodrigues 59ac33cebe
make shellcheck 0.9.0-1 more happy 1 year ago
Johannes Schauer Marin Rodrigues 2b832e0128
add jessie-or-older extract hook 1 year ago
Johannes Schauer Marin Rodrigues ccd8919e67
add tests/unshare-include-deb 1 year ago
Johannes Schauer Marin Rodrigues 67fbe118f3
tests/i386-which-can-be-executed-without-qemu: fixup spurious merged-/usr problem 1 year ago
Johannes Schauer Marin Rodrigues 5a263b5532
tests/file-mirror: wrap lines 1 year ago
Johannes Schauer Marin Rodrigues 1f15194a6e
tests/pivot_root: use the mmdebstrap binary we copied into the chroot 1 year ago
Johannes Schauer Marin Rodrigues 5bd3da0aef
tests/create-tarball-dry-run: fix MODE->VARIANT 1 year ago
Johannes Schauer Marin Rodrigues d442f436de
shellcheck everything 1 year ago
Johannes Schauer Marin Rodrigues 4ccd799b50
tests/include-deb-file: create a dummy binary package to make sure apt doesn't download the package from the mirror 2 years ago
Johannes Schauer Marin Rodrigues be156e7a14
tests/chrootless: skip if libpam-runtime (<= 1.5.2-5) 2 years ago
Johannes Schauer Marin Rodrigues ea146ad108
add undocumented --chrooted-*-hook calling pivot_root in unshare mode 2 years ago
Johannes Schauer Marin Rodrigues d15be6abbf
tests/check-against-debootstrap-dist: add more restrictions for remaining hacks 2 years ago
Johannes Schauer Marin Rodrigues 67902e06e9
tests/dev-ptmx: needs adduser inside the chroot 2 years ago
Johannes Schauer Marin Rodrigues c2cd4a2a77
tests/check-against-debootstrap-dist: sort /etc/group for variant important 2 years ago
Johannes Schauer Marin Rodrigues 5ec6256461
tests/create-arm64-tarball: use regex instead of hardcoding the perl version 2 years ago
Johannes Schauer Marin Rodrigues 822f8eafec
tests: test chrootless essential and systemd-sysv with fakeroot and foreign 2 years ago
Johannes Schauer Marin Rodrigues 43ba07e790
tests/check-against-debootstrap-dist: avoid code duplication by using a loop 2 years ago
Johannes Schauer Marin Rodrigues eb7cf54155
base-passwd now creates the _apt user 2 years ago
Johannes Schauer Marin Rodrigues 80ade97458
tests: put temporary files in /tmp and not into CWD 2 years ago
Johannes Schauer Marin Rodrigues e887a329ab
more changes for merged-/usr which is now default in testing and unstable 2 years ago
Johannes Schauer Marin Rodrigues fce852770b
tests/check-for-bit-by-bit-identical-format-output: add comment explaining why we cannot test chrootless mode here 2 years ago
Johannes Schauer Marin Rodrigues 07e3673161
tests/as-debootstrap-unshare-wrapper: systemd-sysusers before systemd 252 doesn't respect SOURCE_DATE_EPOCH when adding users to /etc/shadow 2 years ago
Johannes Schauer Marin Rodrigues 10c3d3e5f4
tests: output to stderr to prevent interleaving with set -x output 2 years ago
Johannes Schauer Marin Rodrigues 0903b3f6a7
tests/create-tarball-with-tmp-mounted-nodev: increase tmpfs size 2 years ago