README.md: expand on make_mirror.sh and coverage.sh

This commit is contained in:
Johannes 'josch' Schauer 2020-08-27 20:51:11 +02:00
parent d528f6316c
commit dbed763af1
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -112,13 +112,21 @@ mmdebstrap with debootstrap in several scenarios. To run the testsuite, run:
To also generate perl Devel::Cover data, omit the `CMD` environment variable. To also generate perl Devel::Cover data, omit the `CMD` environment variable.
But that will also take a lot longer. But that will also take a lot longer.
The make_mirror.sh script will be a no-op if nothing changed in Debian The `make_mirror.sh` script will be a no-op if nothing changed in Debian
unstable. You don't need to run make_mirror.sh before every invocation of unstable. You don't need to run `make_mirror.sh` before every invocation of
coverage.sh. When you make changes to make_mirror.sh and want to regenerate the `coverage.sh`. When you make changes to `make_mirror.sh` and want to regenerate
cache, run: the cache, run:
touch -d yesterday shared/cache/debian/dists/unstable/Release touch -d yesterday shared/cache/debian/dists/unstable/Release
The script `coverage.sh` does not need an active internet connection by
default. An online connection is only needed by the `make_mirror.sh` script
which fills a local cache with a few minimal Debian mirror copies.
By default, `coverage.sh` will skip running a single test which tries creating
a Ubuntu Focal chroot. To not skip that test, run `coverage.sh` with the
environment variable `ONLINE=yes`.
Bugs Bugs
==== ====