Commit graph

96 commits

Author SHA1 Message Date
847d8fe95b
make shellcheck 0.9.0-1 happy 2022-12-25 01:06:00 +01:00
b39713def5
remove last traces of proot 2022-12-23 10:06:27 +01:00
d442f436de
shellcheck everything 2022-11-16 13:59:38 +01:00
24c5a45202
make_mirror.sh: switch from extlinux to grub-efi to support arm64 2022-11-15 14:47:38 +01:00
46f5889b54
make_mirror.sh: add console=tty0 to linux cmdline 2022-10-27 14:27:01 +02:00
e887a329ab
more changes for merged-/usr which is now default in testing and unstable 2022-10-18 10:32:03 +02:00
bf379f7e50
make_mirror.sh: bump DISK_SIZE to 10G because of gcc-defaults changing to gcc-12 2022-07-26 22:29:09 +02:00
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
2022-07-26 22:29:08 +02:00
c4962f9ab0
print value of SOURCE_DATE_EPOCH when creating and comparing debootstrap chroot to find bug only occurring when running autopkgtest around midnight 2022-06-04 08:42:23 +02:00
3a90ce96ad
make_mirror.sh: use extlinux explicitly instead of syslinux 2022-03-07 11:23:02 +01:00
88619e4d9c
test codename apt pattern as well, requires apt >= 2.3.14
closes: #21
2022-01-07 12:46:42 +01:00
122952a9b0
make_mirror.sh: set a larger msize for 9p mount 2021-11-09 07:30:40 +01:00
b1f1d7fbdd
make_mirror.sh: limit qemu to amd64 and i386 because syslinux is only available there 2021-11-09 07:30:20 +01:00
64a7ac5ceb
make_mirror.sh: limit download speed as some mirrors don't like downloading us too much too fast 2021-11-09 07:29:42 +01:00
2bd6929fbc
make_mirror.sh: bullseye-updates doesn't ship Packages.gz anymore, so we use xz everywhere instead 2021-09-21 21:11:46 +02:00
c63ad87310
changes for release of Debian 11 Buster 2021-08-16 13:11:42 +02:00
0f6741d01a
coverage.sh: allow to run on stable 2021-01-11 13:28:18 +01:00
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)
2021-01-06 11:33:37 +01:00
077d8cdd9a
coverage.sh,make_mirror.sh: add i386 support 2020-11-29 21:39:08 +01:00
529e8076c4
make_mirror.sh: allow setting qemu disk image size with DISK_SIZE 2020-11-27 08:18:27 +01:00
0b27660468
make_mirror.sh: install mmdebstrap if ./mmdebstrap doesn't exist 2020-11-27 00:54:23 +01:00
2df8581bf9
make_mirror.sh: use CMD instead of ./mmdebstrap 2020-11-27 00:51:45 +01:00
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 2020-11-26 23:16:36 +01:00
94459eafbe
make_mirror.sh: write /usr/lib/SYSLINUX/mbr.bin to the first 440 bytes 2020-11-15 22:57:13 +01:00
bf87e83bdb
make it possible to seed /var/cache/apt/archives with deb packages 2020-11-13 19:02:41 +01:00
33b1ed5993
coverage.sh: test ubuntu focal 2020-08-26 09:44:29 +02:00
74725ac451
coverage.sh: test eatmydata and merged-usr hooks 2020-08-25 16:05:10 +02:00
7c532d5572
coverage.sh: produce report inside VM to prevent errors from version mismatches 2020-08-24 18:45:22 +02:00
e2ee5b1e84
make_mirror.sh: workaround python being uninstallable since August 03 2020, see Debian bug #968217 2020-08-11 09:51:03 +02:00
1dc0984821
Revert "remove libgcc1 for libc6 >= 2.30-2" -- situation in debootstrap is fixed
This reverts commit a91d7440cb.
2020-06-24 09:34:34 +02:00
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
2020-05-02 00:14:39 +02:00
895c388ede
add --format option and ext2 image output 2020-04-09 20:40:23 +02:00
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
2020-03-15 14:04:57 +01:00
7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode 2020-03-07 23:37:17 +01:00
d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images 2020-03-07 23:36:56 +01:00
5bf8c3fcf9
add sync, umount and shutdown to guestfish calls 2020-03-04 13:29:07 +01:00
62159d124a
support deb822-style format apt sources 2020-01-22 23:30:28 +01:00
1f59856858
make_mirro.sh: install gpg into qemu machine 2020-01-21 13:08:35 +01:00
98c8c573de
coverage.sh: test taridshift 2020-01-18 23:13:10 +01:00
588df83d1b
make_mirror.sh: select kernel image depending on host architecture 2020-01-16 13:42:08 +01:00
961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes 2020-01-16 13:08:58 +01:00
dbdf3f34c6
add support for generating squashfs images using tar2sqfs 2020-01-07 17:40:13 +01:00
dc7663b3a8
coverage.sh: allow running tests on architectures other than amd64 with reduced functionality 2020-01-06 11:10:31 +01:00
ca9cb3145e
make_mirror.sh: set traps to automatically cleanup on failure 2020-01-05 17:33:37 +01:00
aaac3e677f
make_mirror.sh: feed file to guestfish via heredoc instead of tempfile 2020-01-04 09:19:19 +01:00
163da0a72d
coverage.sh: add safety measure to ensure certain tests are not run outside qemu 2020-01-04 01:24:17 +01:00
de85ad44b2
coverage.sh: reintroduce testing of debootstrap '-' variant 2020-01-04 00:34:09 +01:00
647e7e37f1
coverage.sh: test xattr support
When creating a tarball: --xattrs
When extracting a tarball: --xattrs --xattrs-include='*'
2020-01-03 16:02:38 +01:00
c20056d48f
run_qemu.sh: use virtio disk and network 2020-01-03 15:56:25 +01:00
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
2019-12-03 10:16:43 +01:00