Commit Graph

1105 Commits (main)
 

Author SHA1 Message Date
Johannes Schauer Marin Rodrigues 4ccd799b50
tests/include-deb-file: create a dummy binary package to make sure apt doesn't download the package from the mirror 1 year ago
Johannes Schauer Marin Rodrigues 24c5a45202
make_mirror.sh: switch from extlinux to grub-efi to support arm64 1 year ago
Johannes Schauer Marin Rodrigues 2e8eaeb18b
mmdebstrap-autopkgtest-build-qemu: fix i386 grub target i386-efi -> i386-pc 1 year ago
Johannes Schauer Marin Rodrigues 420080648e
Revert "add another --dpkgopt example"
This reverts commit 40b6155967.

dpkg does not support the {foo,bar,baz} type of glob

Closes: #28
1 year ago
Johannes Schauer Marin Rodrigues be156e7a14
tests/chrootless: skip if libpam-runtime (<= 1.5.2-5) 1 year ago
Johannes Schauer Marin Rodrigues ea146ad108
add undocumented --chrooted-*-hook calling pivot_root in unshare mode 1 year ago
Johannes Schauer Marin Rodrigues 449fb248e2
Instead of mounting and unmounting for each run_chroot() call, do it once before the extract hook and unmount after the customize hooks 1 year ago
Johannes Schauer Marin Rodrigues eb54f6a23a
Instead of re-execing mmdebstrap under /bin/sh, use Text::ParseWords::shellwords
- saves a few PIDs
 - saves a bit of time because useless exec and fork is avoided
 - allows to run in pivoted chroots without mmdebstrap
1 year ago
Johannes Schauer Marin Rodrigues d2238c891b
coverage.py: add --skip option 1 year ago
Johannes Schauer Marin Rodrigues bf33a614c3
add mini-mmdebstrap in shell to the man page 1 year ago
Johannes Schauer Marin Rodrigues d15be6abbf
tests/check-against-debootstrap-dist: add more restrictions for remaining hacks 1 year ago
Johannes Schauer Marin Rodrigues 67902e06e9
tests/dev-ptmx: needs adduser inside the chroot 1 year ago
Johannes Schauer Marin Rodrigues d9ca7c21ff
make failure to remove /dev/ptmx a warning and not an error 1 year ago
Johannes Schauer Marin Rodrigues d29f9195d7
coverage.txt: add more requirements found by running tests on salsa ci and debci 1 year ago
Johannes Schauer Marin Rodrigues b454892ddd
release 1.2.2 2 years ago
Johannes Schauer Marin Rodrigues c2cd4a2a77
tests/check-against-debootstrap-dist: sort /etc/group for variant important 2 years ago
Johannes Schauer Marin Rodrigues 5ec6256461
tests/create-arm64-tarball: use regex instead of hardcoding the perl version 2 years ago
Johannes Schauer Marin Rodrigues 46f5889b54
make_mirror.sh: add console=tty0 to linux cmdline 2 years ago
Johannes Schauer Marin Rodrigues 822f8eafec
tests: test chrootless essential and systemd-sysv with fakeroot and foreign 2 years ago
Johannes Schauer Marin Rodrigues b5f6c7f08f
coverage.py: print failed options if more than one choices 2 years ago
Johannes Schauer Marin Rodrigues 43ba07e790
tests/check-against-debootstrap-dist: avoid code duplication by using a loop 2 years ago
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