Commit Graph

95 Commits (b39713def560fb22a3f5495cbcf822aa08027f6c)

Author SHA1 Message Date
Johannes Schauer Marin Rodrigues b39713def5
remove last traces of proot 1 year ago
Johannes Schauer Marin Rodrigues d442f436de
shellcheck everything 1 year ago
Johannes Schauer Marin Rodrigues 24c5a45202
make_mirror.sh: switch from extlinux to grub-efi to support arm64 1 year ago
Johannes Schauer Marin Rodrigues 46f5889b54
make_mirror.sh: add console=tty0 to linux cmdline 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 bf379f7e50
make_mirror.sh: bump DISK_SIZE to 10G because of gcc-defaults changing to gcc-12 2 years ago
Johannes Schauer Marin Rodrigues d91a18a350
Adjust merged-/usr as it's done by debootstrap
- implements the same as debootstrap in
   https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/71
 - builds a temporary usr-is-merged package and upgrades to the real one
 - create merged-/usr chroots for unstable and testing (which will
   become Debian 12 Bookworm)
 - add a dedicated merged-/usr section to the manual page
2 years ago
Johannes Schauer Marin Rodrigues c4962f9ab0
print value of SOURCE_DATE_EPOCH when creating and comparing debootstrap chroot to find bug only occurring when running autopkgtest around midnight 2 years ago
Johannes Schauer Marin Rodrigues 3a90ce96ad
make_mirror.sh: use extlinux explicitly instead of syslinux 2 years ago
Johannes Schauer Marin Rodrigues 88619e4d9c
test codename apt pattern as well, requires apt >= 2.3.14
closes: #21
2 years ago
Johannes Schauer Marin Rodrigues 122952a9b0
make_mirror.sh: set a larger msize for 9p mount 3 years ago
Johannes Schauer Marin Rodrigues b1f1d7fbdd
make_mirror.sh: limit qemu to amd64 and i386 because syslinux is only available there 3 years ago
Johannes Schauer Marin Rodrigues 64a7ac5ceb
make_mirror.sh: limit download speed as some mirrors don't like downloading us too much too fast 3 years ago
Johannes Schauer Marin Rodrigues 2bd6929fbc
make_mirror.sh: bullseye-updates doesn't ship Packages.gz anymore, so we use xz everywhere instead 3 years ago
Johannes Schauer Marin Rodrigues c63ad87310
changes for release of Debian 11 Buster 3 years ago
Johannes 'josch' Schauer 0f6741d01a
coverage.sh: allow to run on stable 3 years ago
Johannes 'josch' Schauer 2d03a81997
coverage.sh: reenabling tests because bugs got fixed
- systemd didn't get fixed but somehow the order matches again (bug #963788)
 - python is installable again (bug #968217)
 - apt immediate configure was not fixed but src:glibc changed to not
   trigger the bug anymore (bugs #973305, #973325 and #972552)
3 years ago
Johannes 'josch' Schauer 077d8cdd9a
coverage.sh,make_mirror.sh: add i386 support 3 years ago
Johannes 'josch' Schauer 529e8076c4
make_mirror.sh: allow setting qemu disk image size with DISK_SIZE 3 years ago
Johannes 'josch' Schauer 0b27660468
make_mirror.sh: install mmdebstrap if ./mmdebstrap doesn't exist 3 years ago
Johannes 'josch' Schauer 2df8581bf9
make_mirror.sh: use CMD instead of ./mmdebstrap 3 years ago
Johannes 'josch' Schauer 0b4f8ca7db
replace armhf with arm64 in the testsuite because builds of gcc on armhf can take more than 2 days, resulting in a long m-a:same version skew 3 years ago
Johannes 'josch' Schauer 94459eafbe
make_mirror.sh: write /usr/lib/SYSLINUX/mbr.bin to the first 440 bytes 4 years ago
Johannes 'josch' Schauer bf87e83bdb
make it possible to seed /var/cache/apt/archives with deb packages 4 years ago
Johannes 'josch' Schauer 33b1ed5993
coverage.sh: test ubuntu focal 4 years ago
Johannes 'josch' Schauer 74725ac451
coverage.sh: test eatmydata and merged-usr hooks 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 e2ee5b1e84
make_mirror.sh: workaround python being uninstallable since August 03 2020, see Debian bug #968217 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 c462a080c3
make_mirror.sh: create debootstrap directory with mktemp
if debootstrap is run without qemu and make_mirror.sh is aborted the
partly debootstrapped directory is left over. To avoid debootstrapping
into the same directory (and failing at it) we generate a new temporary
directory every time with mktemp
4 years ago
Johannes 'josch' Schauer 895c388ede
add --format option and ext2 image output 4 years ago
Johannes 'josch' Schauer a91d7440cb
remove libgcc1 for libc6 >= 2.30-2
The buildd variant of debootstrap will install libgcc-s1 *and* libgcc1
even though the former provides the latter. Remove the latter manually.

Since apt does not consider libgcc1 necessary, we have to download it
explicitly for debootstrap.

See Debian bug #953861
4 years ago
Johannes 'josch' Schauer 7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode 4 years ago
Johannes 'josch' Schauer d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images 4 years ago
Johannes 'josch' Schauer 5bf8c3fcf9
add sync, umount and shutdown to guestfish calls 4 years ago
Johannes 'josch' Schauer 62159d124a
support deb822-style format apt sources 4 years ago
Johannes 'josch' Schauer 1f59856858
make_mirro.sh: install gpg into qemu machine 4 years ago
Johannes 'josch' Schauer 98c8c573de
coverage.sh: test taridshift 4 years ago
Johannes 'josch' Schauer 588df83d1b
make_mirror.sh: select kernel image depending on host architecture 4 years ago
Johannes 'josch' Schauer 961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes 4 years ago
Johannes 'josch' Schauer dbdf3f34c6
add support for generating squashfs images using tar2sqfs 4 years ago
Johannes 'josch' Schauer dc7663b3a8
coverage.sh: allow running tests on architectures other than amd64 with reduced functionality 4 years ago
Johannes 'josch' Schauer ca9cb3145e
make_mirror.sh: set traps to automatically cleanup on failure 4 years ago
Johannes 'josch' Schauer aaac3e677f
make_mirror.sh: feed file to guestfish via heredoc instead of tempfile 4 years ago
Johannes 'josch' Schauer 163da0a72d
coverage.sh: add safety measure to ensure certain tests are not run outside qemu 4 years ago
Johannes 'josch' Schauer de85ad44b2
coverage.sh: reintroduce testing of debootstrap '-' variant 4 years ago
Johannes 'josch' Schauer 647e7e37f1
coverage.sh: test xattr support
When creating a tarball: --xattrs
When extracting a tarball: --xattrs --xattrs-include='*'
4 years ago
Johannes 'josch' Schauer c20056d48f
run_qemu.sh: use virtio disk and network 4 years ago
Johannes 'josch' Schauer e6d5d74d87
--keyring now overwrites the default apt keyring
- apt can only handle one directory and one file as keyring
 - the signed-by option is used to specify the keyrings for suites that
   are not known by apt
4 years ago
Johannes 'josch' Schauer d4646fd8b0
coverage.sh: add test for i386 on amd64 without qemu 5 years ago