Johannes Schauer Marin Rodrigues
2837f5b5d3
coverage.py: support USE_HOST_APT_CONFIG and new Needs-APT-Config field
2 years ago
Johannes Schauer Marin Rodrigues
5e07567d5a
move running debootstrap from make_mirror.sh to a test case
2 years 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
2 years ago
Johannes Schauer Marin Rodrigues
de8e31193b
make_mirror.sh: output log and exit status to two individual files
2 years ago
Johannes Schauer Marin Rodrigues
e93c145822
make_mirror.sh: also install foreign amd64 on arm64
2 years ago
Johannes Schauer Marin Rodrigues
3b953d4398
make_mirror.sh: test if debian-*.qcow exists before removing it
2 years ago
Johannes Schauer Marin Rodrigues
eaf96dc7f6
make_mirror.sh: remove the old cache if the last run failed
2 years ago
Johannes Schauer Marin Rodrigues
847d8fe95b
make shellcheck 0.9.0-1 happy
2 years ago
Johannes Schauer Marin Rodrigues
b39713def5
remove last traces of proot
2 years ago
Johannes Schauer Marin Rodrigues
d442f436de
shellcheck everything
2 years ago
Johannes Schauer Marin Rodrigues
24c5a45202
make_mirror.sh: switch from extlinux to grub-efi to support arm64
2 years 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
3 years ago
Johannes Schauer Marin Rodrigues
88619e4d9c
test codename apt pattern as well, requires apt >= 2.3.14
...
closes : #21
3 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
4 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 )
4 years ago
Johannes 'josch' Schauer
077d8cdd9a
coverage.sh,make_mirror.sh: add i386 support
4 years ago
Johannes 'josch' Schauer
529e8076c4
make_mirror.sh: allow setting qemu disk image size with DISK_SIZE
4 years ago
Johannes 'josch' Schauer
0b27660468
make_mirror.sh: install mmdebstrap if ./mmdebstrap doesn't exist
4 years ago
Johannes 'josch' Schauer
2df8581bf9
make_mirror.sh: use CMD instead of ./mmdebstrap
4 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
4 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
5 years ago
Johannes 'josch' Schauer
7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode
5 years ago
Johannes 'josch' Schauer
d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images
5 years ago
Johannes 'josch' Schauer
5bf8c3fcf9
add sync, umount and shutdown to guestfish calls
5 years ago
Johannes 'josch' Schauer
62159d124a
support deb822-style format apt sources
5 years ago
Johannes 'josch' Schauer
1f59856858
make_mirro.sh: install gpg into qemu machine
5 years ago
Johannes 'josch' Schauer
98c8c573de
coverage.sh: test taridshift
5 years ago
Johannes 'josch' Schauer
588df83d1b
make_mirror.sh: select kernel image depending on host architecture
5 years ago
Johannes 'josch' Schauer
961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes
5 years ago
Johannes 'josch' Schauer
dbdf3f34c6
add support for generating squashfs images using tar2sqfs
5 years ago
Johannes 'josch' Schauer
dc7663b3a8
coverage.sh: allow running tests on architectures other than amd64 with reduced functionality
5 years ago