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
d4646fd8b0
coverage.sh: add test for i386 on amd64 without qemu
2019-09-26 23:32:52 +02:00
2db69b1cfa
make_mirror.sh: suggest which cache to delete
2019-09-04 15:44:34 +02:00
a0001f3681
make_mirror.sh: security.d.o dropped the MD5sum field for SHA256 in Packages.gz
2019-07-24 22:21:05 +02:00
a425b948dd
updates for release of Debian buster
2019-07-24 21:29:14 +02:00
19fdb4914d
coverage.sh: auto generate package list for aspcud instead of hardcoding it
2019-03-27 11:44:45 +01:00
bc3d5153df
make_mirror.sh: choose mode automatically when running mmdebstrap
2019-03-27 11:30:41 +01:00
70cf6b39df
make_mirror.sh: list remaining files if /var/cache/apt/archives/ is not empty
2019-03-25 14:49:03 +01:00
ea8315a5f1
coverage.sh: allow setting chroot distribution with DEFAULT_DIST
2019-03-25 14:21:55 +01:00
6c39fe8b5a
coverage.sh: add test for aspcud external apt solver
2019-03-24 08:16:45 +01:00
aa319c64b2
make_mirror.sh: instead of prefixing with the current time, print the timedelta since script start
2019-03-01 12:44:31 +01:00
ed1899476c
make_mirror.sh: annotate each line with timestamp
2019-03-01 00:33:26 +01:00
c747f6ba1f
make_mirror.sh: quote paths
2019-02-24 11:06:57 +01:00
1b18b11a86
make_mirror.sh: add --no-run-if-empty to xargs call
2019-02-24 11:06:14 +01:00
a0e2c70eba
make_mirror.sh: only rm oldcachedir if it exists
2019-02-24 11:05:18 +01:00
49d0642932
make_mirror.sh: only replace mini-httpd config in qcow image if HAVE_QEMU = yes
2019-02-24 10:49:01 +01:00
79b7604641
make_mirror.sh: increase disk size because buildd chroot got bigger
2019-02-23 08:40:12 +01:00
94c2932ac8
make_mirror.sh: execute test script with xtrace
2019-02-23 08:39:35 +01:00
10b3fd869a
make_mirror.sh: add missing mmdebstrap dependency: perl-doc
2019-02-23 08:36:17 +01:00
21270ef56d
make_mirror.sh: also mirror security.debian.org and stable-updates
2019-01-26 08:31:36 +01:00
e5564a0dad
make_mirror.sh: setup root password for possible debugging of qemu sessions
2018-12-30 17:19:47 +01:00
5ac613983c
make_mirror.sh: use $mirror when calling mmdebstrap instead of its default mirror
2018-12-30 17:19:26 +01:00
903b318ccc
make_mirror.sh: instead of rm -r, remove temporary files explicitly to avoid desaster
2018-12-30 17:16:57 +01:00
4ffa7bb69b
make_mirror.sh: create temporary directory inside the cache and use hardlinks to avoid unnecessary I/O
2018-12-30 17:16:16 +01:00
b113771a81
make_mirror.sh: never leave the cache in an inconsistent state by atomically switching symlinks
2018-12-30 16:37:03 +01:00
8d92412380
make_mirror.sh: put double quotes around string
2018-12-28 07:28:55 +01:00
b6e8c9dbb7
coverage.sh: skip comparison with debootstrap unstable because of #917386 and #917407
2018-12-28 07:26:24 +01:00
1aec25f043
make_mirror.sh: don't run debootstrap for untested scenario
2018-12-28 07:19:24 +01:00
131a39d633
make_mirror.sh: export SOURCE_DATE_EPOCH for debootstrap
2018-12-28 07:19:23 +01:00
ef576ab389
use LC_ALL=C.UTF-8 instead of LC_ALL=C
2018-12-27 14:16:23 +01:00
97d273aaf6
disable merged usr
2018-12-07 00:17:10 +01:00
b57b8de3a0
make_mirror.sh: add procps for /sbin/sysctl
2018-12-05 10:36:21 +01:00
2618a587a0
coverage.sh: allow running without qemu
...
On machines without kvm using qemu is not practical. Now, most tests can
be run without a container. Also add support for missing unshare, proot
and binfmt.
2018-12-05 10:33:03 +01:00
504e6765c8
make_mirror.sh: fix status line
2018-12-05 08:08:12 +01:00
0cc9e3b44a
make_mirror.sh,run_qemu.sh: use temporary directory for temporary files instead of the current working directory
2018-11-23 17:44:59 +01:00
8cbc9e9a00
make_mirror.sh: add two comments for guestfish debugging
2018-11-23 17:44:06 +01:00
96c01a67e4
make_mirror.sh: use redirection to write tarfile
...
During the Debian autopkgtest mmdebstrap is executed as root but we
don't want the tarfile being owned by root.
2018-11-23 17:36:24 +01:00
f4f6200f36
make_mirror.sh: only (u)mount cover_db.img if it exists
2018-11-23 17:35:24 +01:00
935f5b7a66
Instead of requiring root, use qemu
...
- unprivileged creation of rootfs using guestfish
- allows full control over network, installed packages
- merged test.sh into coverage.sh
2018-11-21 00:21:43 +01:00
cb44551009
make_mirror.sh: do not retrieve translations
2018-11-02 17:23:53 +01:00
7ca2e490d7
make_mirror.sh: also download a foreign architecture
2018-10-23 15:29:14 +02:00
7b4d052653
make_mirror.sh: remove unnecessary statement
2018-10-21 17:55:08 +02:00
a45eb846f7
make_mirror.sh: only download new archives to save bandwidth
2018-10-21 17:54:45 +02:00
4e663a12f0
test.sh: cache debootstrap results
2018-10-03 10:29:48 +02:00
96c6913281
make_mirror.sh: also include build-essential
2018-09-23 19:39:41 +02:00
be3f571810
make_mirror.sh: do not hardcode amd64
2018-09-18 16:46:59 +02:00
9ed4c65e35
initial commit
2018-09-18 11:20:24 +02:00