Johannes Schauer Marin Rodrigues
8339721fca
make_mirror.sh: also use bash and wget to check for the proxy running
12 months ago
Johannes Schauer Marin Rodrigues
e5bcc1827e
make_mirror.sh: print success message at the end
12 months ago
Johannes Schauer Marin Rodrigues
806ea4b35d
make_mirror.sh: support FORCE_UPDATE=yes
12 months ago
Johannes Schauer Marin Rodrigues
8eb09569bb
make_mirror.sh: remove duplicate --skip=usrmerge
1 year ago
Johannes Schauer Marin Rodrigues
956dcb42e1
switch from guestfish to debvm
1 year ago
Johannes Schauer Marin Rodrigues
5a9123aa11
testsuite changes for bookworm release
1 year ago
Johannes Schauer Marin Rodrigues
f660f0095a
make_mirror.sh: kill proxypid more reliably upon failure
1 year ago
Johannes Schauer Marin Rodrigues
910427b598
make_mirror.sh: run apt-get update with --error-on=any
1 year ago
Johannes Schauer Marin Rodrigues
2614924925
make_mirror.sh: clean up more things left over by USE_HOST_APT_CONFIG=yes
2 years ago
Johannes Schauer Marin Rodrigues
8253daf403
make_mirror.sh: also delete mmdebstrap-*-*.*
2 years ago
Johannes Schauer Marin Rodrigues
b214d74129
make_mirror.sh: output contents of sources.list and preferences.d for debugging
2 years ago
Johannes Schauer Marin Rodrigues
c3bcc7b04a
make_mirror.sh: filter out file:// mirrors when USE_HOST_APT_CONFIG=yes
2 years ago
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
2 years ago
Johannes Schauer Marin Rodrigues
aea6fc70d1
make_mirror.sh: add ONLY_DEFAULT_DIST and ONLY_HOSTARCH
2 years ago
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