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.
2020-04-14 18:25:55 +02:00
9717faef59
refer to MODES section in docs for directory format
2020-04-12 09:11:35 +02:00
2678ccaf38
mention missing TARGET in docs for auto format
2020-04-12 09:11:21 +02:00
2ce9555dc5
expand docs for unshare mode
2020-04-12 09:10:30 +02:00
a0c097a6fa
TARGET must be italic not bold
2020-04-11 23:10:13 +02:00
f1a952d468
explicitly inform the user why apt-transport-https or apt-transport-tor are getting installed
2020-04-10 12:55:52 +02:00
9195972bef
dump contents of /etc/apt/apt.conf.d/99mmdebstrap and /etc/dpkg/dpkg.cfg.d/99mmdebstrap in debug mode
2020-04-10 12:55:31 +02:00
f6214e343f
add debug output of which command is run in run_progress()
2020-04-10 12:55:02 +02:00
ab5d5777d5
check whether qemu-$arch-static exists early
2020-04-10 12:26:42 +02:00
f50ca9bf6d
also warn if /usr/sbin/update-binfmts has non-zero exit
2020-04-10 12:26:14 +02:00
df1827d991
check if /usr/sbin/update-binfmts exists
2020-04-10 12:26:00 +02:00
a0c393f256
fix /proc/mounts regex to find binfmt_misc
2020-04-10 12:25:45 +02:00
d26f5de912
check whether arch-test exists
2020-04-10 12:25:24 +02:00
46f477f339
add --skip option
2020-04-10 00:00:36 +02:00
1076e9a78d
split up setup() into multiple functions
2020-04-10 00:00:02 +02:00
895c388ede
add --format option and ext2 image output
2020-04-09 20:40:23 +02:00
89e8f7a39a
coverage.sh: abort early if the test system is about to be changed
2020-04-09 18:40:27 +02:00
15d6f5528b
also print apt-get --version output with --debug
2020-04-09 18:40:23 +02:00
8d04ffee64
unset APT_CONFIG env var when running hook
2020-04-09 18:40:23 +02:00
d29bdafb89
add workaround for dpkg bug to docs
2020-04-09 18:40:23 +02:00
6b90cf7006
coverage.sh: workaround for squashfs-tools-ng/issues/42
2020-04-09 18:40:23 +02:00
323a353548
output tarball if output is named pipe or character special
2020-04-09 18:40:23 +02:00
412039bd66
commit de8b6a45
forgot to also run re-install with /proc, /dev and /sys mounted
2020-04-09 18:40:22 +02:00
02ed5e33f8
add --extract-hook
2020-04-09 18:40:18 +02:00
446d66ea06
coverage.sh: fix typo
2020-03-22 14:07:28 +01:00
aa3d2875a8
coverage.sh: also compare permissions, ownership, symlink targets and mtimes
2020-03-22 14:07:00 +01:00
8cac785f65
README.md: add another advantage over debootstrap
2020-03-22 14:05:28 +01:00
a91d7440cb
remove libgcc1 for libc6 >= 2.30-2
...
The buildd variant of debootstrap will install libgcc-s1 *and* libgcc1
even though the former provides the latter. Remove the latter manually.
Since apt does not consider libgcc1 necessary, we have to download it
explicitly for debootstrap.
See Debian bug #953861
2020-03-15 14:04:57 +01:00
5fae5e83f9
release 0.6.1
2020-03-08 23:21:16 +01:00
e1008006fc
add stub for future ext2 image support
2020-03-07 23:43:29 +01:00
773249a0ca
document limitation of missing /etc/ld.so.cache when using fakechroot
2020-03-07 23:42:41 +01:00
7bad5fb1e6
in unshare mode, the unshared process might not have enough permissions to rmdir root directory -- try again as normal user
2020-03-07 23:42:19 +01:00
3922851636
use Dpkg::Vendor::Debian and Dpkg::Vendor::Ubuntu for keyring locations, if they are available
2020-03-07 23:41:28 +01:00
89e7dd6756
store temporary files in /tmp inside the rootfs to avoid problems in unshare mode and TMPDIR set
2020-03-07 23:40:55 +01:00
b9db466a26
add note about usage of /usr/sbin/policy-rc.d
2020-03-07 23:39:53 +01:00
7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode
2020-03-07 23:37:17 +01:00
d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images
2020-03-07 23:36:56 +01:00
73b46e1812
coverage.sh: add test that makes sure that TMPDIR is used and works in unshare mode
2020-03-07 23:34:32 +01:00
ff9b6509fb
add more usage examples
2020-03-07 02:25:55 +01:00
6c6378a6e0
emit more warnings about setting kernel.unprivileged_userns_clone to 1
2020-03-07 02:13:53 +01:00
48914894cb
dump temporary apt.conf with --debug
2020-03-07 02:13:26 +01:00
1ff5ba7e9e
set APT::Immediate-Configure to false in dry-run mode
2020-03-07 02:12:21 +01:00
3e50d09b43
create temporary apt.conf inside chroot because unshared process might not have permissions to write into TMPDIR
2020-03-07 02:11:35 +01:00
9918809a65
add another example about how to use mmdebstrap to make a bootable live system
2020-03-07 02:07:10 +01:00
bd84829595
unset TMPDIR environment variable for everything running inside the chroot
2020-03-07 02:06:11 +01:00
5107116384
coverage.sh: use regex to not rely on exact gcc version
2020-03-06 08:44:22 +01:00
5bf8c3fcf9
add sync, umount and shutdown to guestfish calls
2020-03-04 13:29:07 +01:00
c4a47947ab
mount /sys and /proc as read-only in root mode
2020-01-24 10:14:10 +01:00
a8fa48fbc7
coverage.sh: host architecture in --logfile output must depend on host
2020-01-24 10:12:29 +01:00
d503e4fd96
put fh variables into their own scope
2020-01-22 23:31:00 +01:00