Johannes Schauer Marin Rodrigues
d84a65b07f
coverage.py: do not allow 'default' in coverage.txt
2 years ago
Johannes Schauer Marin Rodrigues
fbc3e5549d
coverage.py: improve output format of failed tests
2 years ago
Johannes Schauer Marin Rodrigues
d4cb065639
Write an empty /etc/machine-id instead of writing 'uninitialized'.
...
Writing "uninitialized" instructs systemd to run units with
ConditionFirstBoot=yes which should only be done by tools that know how
to correctly set up such units.
Debian-Bug: #1021478
2 years ago
Jochen Sprickerhof
adf62afcea
guestfish: move set-label after mkfs
...
Fixes:
libguestfs: error: set_label: don't know how to set the label for '' filesystems
2 years ago
Johannes Schauer Marin Rodrigues
3999212c48
always create /var/lib/dpkg/arch to make foreign architecture chrootless tarballs bit-by-bit identical
2 years ago
Johannes Schauer Marin Rodrigues
c6c2baee6a
hooks/merged-usr/essential00.sh: avoid chroot in chrootless mode
2 years ago
Johannes Schauer Marin Rodrigues
6c68ab2e5e
also provide the info() function to debootstrap
2 years ago
Johannes Schauer Marin Rodrigues
2f27eccad4
allow /etc/apt/trusted.gpg.d/ not to exist
2 years ago
Johannes Schauer Marin Rodrigues
045b56bb4e
release 1.2.1
2 years ago
Johannes Schauer Marin Rodrigues
7123808b6c
do not clean up /run/lock as /var/lock is a symlink to it according to Debian policy §9.1.4
2 years ago
Johannes Schauer Marin Rodrigues
6416ce96c9
hooks/file-mirror-automount/setup00.sh: also parse MMDEBSTRAP_INCLUDE and make it available
2 years ago
Johannes Schauer Marin Rodrigues
410c5fcb24
fix --include option for files and add test case
2 years ago
Johannes Schauer Marin Rodrigues
9682e74385
release 1.2.0
2 years ago
Johannes Schauer Marin Rodrigues
b0caeeef54
bump dates to 2022
2 years ago
Johannes Schauer Marin Rodrigues
d209fb0c11
reformat with perltidy
2 years ago
Johannes Schauer Marin Rodrigues
f4a3865c00
Remove support for proot.
...
The proot mode was broken from the start because in contrast to
fakechroot, no ownership information can be retained across multiple
invocations of proot. Since mmdebstrap started using apt from the
outside by setting DPkg::Chroot-Directory in mmdebstrap 0.8.0 proot mode
was finally completely broken because proot cannot wrap the chroot call
done by apt. Users of proot are recommended to run mmdebstrap in
fakechroot mode and then use proot with the resulting directory.
2 years ago
Johannes Schauer Marin Rodrigues
892e568496
coverage.sh: split up linting conditional
2 years ago
Johannes Schauer Marin Rodrigues
b85df6b8f2
coverage.sh: idshift
2 years ago
Johannes Schauer Marin Rodrigues
7e8931578b
Store --include option values in MMDEBSTRAP_INCLUDE for hooks
2 years ago
Johannes Schauer Marin Rodrigues
e1f0b0fa40
ensure operator precedence using more parenthesis
2 years ago
Johannes Schauer Marin Rodrigues
0ff2bef84c
tests/as-debootstrap-unshare-wrapper: redirect output of cmp and diff to stderr to preserve output order
2 years ago
Johannes Schauer Marin Rodrigues
e875bca7fb
support apt patterns and paths with commas and whitespace for the --include option
2 years ago
Johannes Schauer Marin Rodrigues
0af22912f7
also delete everything in /run and add --skip=cleanup/run
2 years ago
Johannes Schauer Marin Rodrigues
add9412a47
add --skip=chroot/mount and --skip=chroot/mount/dev, --skip=chroot/mount/proc, --skip=chroot/mount/sys
2 years ago
Johannes Schauer Marin Rodrigues
e61e352f67
add --skip=chroot/start-stop-daemon and --skip=chroot/policy-rc.d
2 years ago
Johannes Schauer Marin Rodrigues
18c1e9bbc5
multiple skip options can be passed by separating them by comma or whitespace
2 years ago
Gioele Barabucci
7ce6db0ca7
mmdebstrap: Show APT's dependency trace when in debug mode
...
A dependency trace is a powerful tool to debug issues related to
APT's selection of packages, especially in custom mode.
Thus it makes sense to ask APT to output a dependency trace when
`mmdebstrap` is run with the `--debug` flag.
2 years ago
Johannes Schauer Marin Rodrigues
7d7d757f00
tarfilter: add --transform option
2 years ago
Johannes Schauer Marin Rodrigues
902bc55c4d
tarfilter --idshift now provides taridshift
2 years ago
Johannes Schauer Marin Rodrigues
226f86fea9
fix mmdebstrap hanging if apt in download step failed ( closes : #1017795 )
2 years ago
Johannes Schauer Marin Rodrigues
df2226fb25
tests/check-against-debootstrap-dist: cmp outputs errors to stdout -- redirect to stderr to presereve output order with set +x
2 years ago
Johannes Schauer Marin Rodrigues
3fb97753ea
tests/check-against-debootstrap-dist: systemd started using systemd-sysusers instead of adduser
2 years ago
Johannes Schauer Marin Rodrigues
89a7e4c6ee
tests/custom-tmpdir: chown /home/user to 711 so that this test still works with adduser DIR_MODE=700
2 years ago
Johannes Schauer Marin Rodrigues
f1d847e4ae
tests/dev-ptmx: we expect the grep calls to fail -- make sure they don't fail because /tmp/log doesn't exist
2 years ago
Johannes Schauer Marin Rodrigues
c95632f963
coverage.py: add --variant option
2 years ago
Johannes Schauer Marin Rodrigues
5533b25255
tests/chrootless-essential: enable again now that glibc is fixed
2 years ago
Johannes Schauer Marin Rodrigues
34a9de929d
use standard character classes instead of bracketed character classes
2 years ago
Johannes Schauer Marin Rodrigues
b385eb548a
only check first argument if we have one
2 years ago
Johannes Schauer Marin Rodrigues
d82afec5de
error out if stdout is a tty
2 years ago
Johannes Schauer Marin Rodrigues
117a1591c5
coverage.py: also output failed to stderr
2 years ago
Johannes Schauer Marin Rodrigues
3fcb125e3c
release 1.1.0
2 years ago
Johannes Schauer Marin Rodrigues
35dc676394
relax apt version regex to allow devuan apt versions like 2.5.0devuan1
2 years ago
Johannes Schauer Marin Rodrigues
0ae0adde26
document mmdebstrap hanging forever instead of ENOSPC in qemu as a comment
2 years ago
Johannes Schauer Marin Rodrigues
5e22e0bfc8
adjust message about file-mirror-automount hook
2 years ago
Johannes Schauer Marin Rodrigues
2021f6f7cd
README.md: add an example for running coverage.py
2 years ago
Johannes Schauer Marin Rodrigues
432170c68e
tests/check-against-debootstrap-dist: account for ordering differences in /var/lib/dpkg/triggers/File
2 years ago
Johannes Schauer Marin Rodrigues
15c7de4a3b
tests/check-against-debootstrap-dist: static group ids for crontab, systemd-journal, systemd-network and systemd-resolve
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
7cec147b9e
tests/arm64-without-qemu-support: removing qemu-user disables binfmt support again since src:systemd 251.2-4
...
Closes : #1012163
2 years ago