Commit Graph

471 Commits (e2ee5b1e842b09906a62a8712ee30b3115dd1e14)
 

Author SHA1 Message Date
Johannes 'josch' Schauer e2ee5b1e84
make_mirror.sh: workaround python being uninstallable since August 03 2020, see Debian bug #968217 4 years ago
Johannes 'josch' Schauer 6af42fafe9
coverage.sh: document how to check for new chrootless packages 4 years ago
Johannes 'josch' Schauer 6eb52d8095
coverage.sh: print unified diff 4 years ago
Johannes 'josch' Schauer 35b72c9895
coverage.sh: skip tests because of #963788 4 years ago
Johannes 'josch' Schauer 904274b9f4
adjust genext2fs (>= 1.5.0) interface 4 years ago
Johannes 'josch' Schauer 6c4c4bef41
coverage.sh: comparing amd64 with i386 should only be done with RUN_MA_SAME_TESTS = yes 4 years ago
Johannes 'josch' Schauer c633a9ac0d
coverage.sh: add test for known-good chrootless packages 4 years ago
Johannes 'josch' Schauer 1dc0984821
Revert "remove libgcc1 for libc6 >= 2.30-2" -- situation in debootstrap is fixed
This reverts commit a91d7440cb.
4 years ago
Johannes 'josch' Schauer 112c0a5a6d
add documentation about --{setup,extract,essential,customize}-hooks and --skip option, making them an official interface 4 years ago
Johannes 'josch' Schauer 40b6155967
add another --dpkgopt example 4 years ago
Johannes 'josch' Schauer 4d041140d5
instead of 'du' we use File::Find to avoid different results on different filesystems, see https://bugs.debian.org/650077 for a discussion 4 years ago
Johannes 'josch' Schauer 655857e525
don't use apt sandboxing in fakechroot or proot modes 4 years ago
Johannes 'josch' Schauer af13116336
do not hide errors even with --quiet
This change also fixes the problem that when --quiet is given, an error
will never lead to a non-zero exit status because the error function
returns before it runs die()
4 years ago
Johannes 'josch' Schauer da4de7cfdf
coverage.sh: test wrapping debootstrap in mmdebstrap 4 years ago
Johannes 'josch' Schauer dc9a5dc281
document how to use mmdebstrap as a debootstrap wrapper 4 years ago
Johannes 'josch' Schauer fa12e4f488
create /tmp with chmod 01777 4 years ago
Johannes 'josch' Schauer b60893aa83
add --skip=output/dev 4 years ago
Johannes 'josch' Schauer e1d0a17751
return immediately if nothing to do in download, extract and essential stages 4 years ago
Johannes 'josch' Schauer c0ee8c82db
coverage.sh: check bit-by-bit identical squashfs and ext2 output using S_D_E between root and unshare modes 4 years ago
Johannes 'josch' Schauer ccae6de410
fix message 'failed to start' -> 'failed to run' 4 years ago
Johannes 'josch' Schauer be2bb0bb7e
do not emit a tarball with xattrs for squashfs and ext2 output because tar2sqfs and genext2fs do not support extended attributes 4 years ago
Johannes 'josch' Schauer da88c56b9f
warn if chrootless mode is run by the root user 4 years ago
Johannes 'josch' Schauer 6af46f0b4a
fix typo squasfs -> squashfs 4 years ago
Johannes 'josch' Schauer 08319f6c77
Return the same block number irrespective of what is in /dev
Depending on the mode an on whether mknod works (mount options of
$TMPDIR) different stuff might be in /dev. To make the blocksize in of
the ext2 output format reproducible, ignore the content of /dev.
4 years ago
Johannes 'josch' Schauer af5841269c
always check if _apt user can access /var/lib/apt/lists/partial 4 years ago
Johannes 'josch' Schauer 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
4 years ago
Johannes 'josch' Schauer af4e77903b
add instructions how to convert from ext2 to ext3 and ext4 4 years ago
Johannes 'josch' Schauer 3b67de6d31
add note about the dangers of chrootless mode 4 years ago
Johannes 'josch' Schauer 5cf209996e
format mmdebstrap bold in POD 4 years ago
Johannes 'josch' Schauer 4ea784c1bc
add --skip check/empty 4 years ago
Johannes 'josch' Schauer 1b380e4513
add --skip check/qemu 4 years ago
Helmut Grohne d7f7f8cb34
skip the emulation check in chrootless mode
Whenever the selected architecture differs from the native architecture
of the system that runs mmdebstrap, mmdebstrap checks whether it can run
the selected architecture. In the majority of cases, this is good and
helps avoid difficult to diagnose issues. However when running in
chrootless mode, we don't actually want to run any binaries from the
target system. For that reason, the emulation check should be skipped in
chrootless mode.
4 years ago
Johannes 'josch' Schauer 9717faef59
refer to MODES section in docs for directory format 4 years ago
Johannes 'josch' Schauer 2678ccaf38
mention missing TARGET in docs for auto format 4 years ago
Johannes 'josch' Schauer 2ce9555dc5
expand docs for unshare mode 4 years ago
Johannes 'josch' Schauer a0c097a6fa
TARGET must be italic not bold 4 years ago
Johannes 'josch' Schauer f1a952d468
explicitly inform the user why apt-transport-https or apt-transport-tor are getting installed 4 years ago
Johannes 'josch' Schauer 9195972bef
dump contents of /etc/apt/apt.conf.d/99mmdebstrap and /etc/dpkg/dpkg.cfg.d/99mmdebstrap in debug mode 4 years ago
Johannes 'josch' Schauer f6214e343f
add debug output of which command is run in run_progress() 4 years ago
Johannes 'josch' Schauer ab5d5777d5
check whether qemu-$arch-static exists early 4 years ago
Johannes 'josch' Schauer f50ca9bf6d
also warn if /usr/sbin/update-binfmts has non-zero exit 4 years ago
Johannes 'josch' Schauer df1827d991
check if /usr/sbin/update-binfmts exists 4 years ago
Johannes 'josch' Schauer a0c393f256
fix /proc/mounts regex to find binfmt_misc 4 years ago
Johannes 'josch' Schauer d26f5de912
check whether arch-test exists 4 years ago
Johannes 'josch' Schauer 46f477f339
add --skip option 4 years ago
Johannes 'josch' Schauer 1076e9a78d
split up setup() into multiple functions 4 years ago
Johannes 'josch' Schauer 895c388ede
add --format option and ext2 image output 4 years ago
Johannes 'josch' Schauer 89e8f7a39a
coverage.sh: abort early if the test system is about to be changed 4 years ago
Johannes 'josch' Schauer 15d6f5528b
also print apt-get --version output with --debug 4 years ago
Johannes 'josch' Schauer 8d04ffee64
unset APT_CONFIG env var when running hook 4 years ago