Johannes Schauer Marin Rodrigues
eb7cf54155
base-passwd now creates the _apt user
2 years ago
Johannes Schauer Marin Rodrigues
80ade97458
tests: put temporary files in /tmp and not into CWD
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
fce852770b
tests/check-for-bit-by-bit-identical-format-output: add comment explaining why we cannot test chrootless mode here
2 years ago
Johannes Schauer Marin Rodrigues
07e3673161
tests/as-debootstrap-unshare-wrapper: systemd-sysusers before systemd 252 doesn't respect SOURCE_DATE_EPOCH when adding users to /etc/shadow
2 years ago
Johannes Schauer Marin Rodrigues
10c3d3e5f4
tests: output to stderr to prevent interleaving with set -x output
2 years ago
Johannes Schauer Marin Rodrigues
4048293be5
only print progress bars on interactive terminals that are wide enough
2 years ago
Johannes Schauer Marin Rodrigues
0903b3f6a7
tests/create-tarball-with-tmp-mounted-nodev: increase tmpfs size
2 years ago
Johannes Schauer Marin Rodrigues
aac7157820
remove workarounds for #1010957
2 years ago
Johannes Schauer Marin Rodrigues
bcb3fcdaf1
run_qemu.sh: add another example for how to connect to qemu via serial
2 years ago
Johannes Schauer Marin Rodrigues
f0f211f383
coverage.py: only print dist, mode, variant and format for failed jobs if necessary
2 years ago
Johannes Schauer Marin Rodrigues
3a17a91b3c
hooks: do not require MMDEBSTRAP_VERBOSITY to be set
...
This allows running the hook from older mmdebstrap versions.
2 years ago
Johannes Schauer Marin Rodrigues
fc5b60e038
adjust tests as /var/lib/dpkg/arch is now created unconditionally
2 years ago
Johannes Schauer Marin Rodrigues
a207ac020b
remove test merged-usr-via-setup-hook as merged-/usr is now the default
2 years ago
Johannes Schauer Marin Rodrigues
a16937e3e4
coverage.py: factor out coverage.txt parsing
2 years ago
Johannes Schauer Marin Rodrigues
8cb5b6e0ef
coverage.py: add --format option
2 years ago
Johannes Schauer Marin Rodrigues
91ca37706f
coverage.py: print default values in --help text
2 years ago
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