This website requires JavaScript.
c633a9ac0d
coverage.sh: add test for known-good chrootless packages
Johannes 'josch' Schauer
2020-06-24 23:10:29 +0200
1dc0984821
Revert "remove libgcc1 for libc6 >= 2.30-2" -- situation in debootstrap is fixed
Johannes 'josch' Schauer
2020-06-24 09:34:34 +0200
112c0a5a6d
add documentation about --{setup,extract,essential,customize}-hooks and --skip option, making them an official interface
Johannes 'josch' Schauer
2020-06-23 23:14:37 +0200
40b6155967
add another --dpkgopt example
Johannes 'josch' Schauer
2020-06-23 23:12:16 +0200
4d041140d5
instead of 'du' we use File::Find to avoid different results on different filesystems, see https://bugs.debian.org/650077 for a discussion
Johannes 'josch' Schauer
2020-06-23 22:45:17 +0200
655857e525
don't use apt sandboxing in fakechroot or proot modes
Johannes 'josch' Schauer
2020-06-08 15:45:22 +0200
af13116336
do not hide errors even with --quiet
Johannes 'josch' Schauer
2020-05-10 13:36:43 +0200
da4de7cfdf
coverage.sh: test wrapping debootstrap in mmdebstrap
Johannes 'josch' Schauer
2020-05-03 20:32:50 +0200
dc9a5dc281
document how to use mmdebstrap as a debootstrap wrapper
Johannes 'josch' Schauer
2020-05-03 17:19:03 +0200
fa12e4f488
create /tmp with chmod 01777
Johannes 'josch' Schauer
2020-05-03 17:18:34 +0200
b60893aa83
add --skip=output/dev
Johannes 'josch' Schauer
2020-05-03 15:06:41 +0200
e1d0a17751
return immediately if nothing to do in download, extract and essential stages
Johannes 'josch' Schauer
2020-05-03 15:06:24 +0200
c0ee8c82db
coverage.sh: check bit-by-bit identical squashfs and ext2 output using S_D_E between root and unshare modes
Johannes 'josch' Schauer
2020-05-03 09:40:37 +0200
ccae6de410
fix message 'failed to start' -> 'failed to run'
Johannes 'josch' Schauer
2020-05-02 23:55:34 +0200
be2bb0bb7e
do not emit a tarball with xattrs for squashfs and ext2 output because tar2sqfs and genext2fs do not support extended attributes
Johannes 'josch' Schauer
2020-05-02 23:55:05 +0200
da88c56b9f
warn if chrootless mode is run by the root user
Johannes 'josch' Schauer
2020-05-02 23:54:04 +0200
6af46f0b4a
fix typo squasfs -> squashfs
Johannes 'josch' Schauer
2020-05-02 23:53:41 +0200
08319f6c77
Return the same block number irrespective of what is in /dev
Johannes 'josch' Schauer
2020-05-02 23:51:58 +0200
af5841269c
always check if _apt user can access /var/lib/apt/lists/partial
Johannes 'josch' Schauer
2020-05-02 23:51:33 +0200
c462a080c3
make_mirror.sh: create debootstrap directory with mktemp
Johannes 'josch' Schauer
2020-05-01 23:59:45 +0200
af4e77903b
add instructions how to convert from ext2 to ext3 and ext4
Johannes 'josch' Schauer
2020-05-01 23:44:12 +0200
3b67de6d31
add note about the dangers of chrootless mode
Johannes 'josch' Schauer
2020-05-01 23:42:17 +0200
5cf209996e
format mmdebstrap bold in POD
Johannes 'josch' Schauer
2020-05-01 23:37:38 +0200
4ea784c1bc
add --skip check/empty
Johannes 'josch' Schauer
2020-05-01 07:39:52 +0200
1b380e4513
add --skip check/qemu
Johannes 'josch' Schauer
2020-05-01 07:39:26 +0200
d7f7f8cb34
skip the emulation check in chrootless mode
Helmut Grohne
2020-04-14 18:25:02 +0200
9717faef59
refer to MODES section in docs for directory format
Johannes 'josch' Schauer
2020-04-12 09:11:35 +0200
2678ccaf38
mention missing TARGET in docs for auto format
Johannes 'josch' Schauer
2020-04-12 09:11:21 +0200
2ce9555dc5
expand docs for unshare mode
Johannes 'josch' Schauer
2020-04-12 09:10:30 +0200
a0c097a6fa
TARGET must be italic not bold
Johannes 'josch' Schauer
2020-04-11 23:10:13 +0200
f1a952d468
explicitly inform the user why apt-transport-https or apt-transport-tor are getting installed
Johannes 'josch' Schauer
2020-04-10 12:55:52 +0200
9195972bef
dump contents of /etc/apt/apt.conf.d/99mmdebstrap and /etc/dpkg/dpkg.cfg.d/99mmdebstrap in debug mode
Johannes 'josch' Schauer
2020-04-10 12:55:31 +0200
f6214e343f
add debug output of which command is run in run_progress()
Johannes 'josch' Schauer
2020-04-10 12:55:02 +0200
ab5d5777d5
check whether qemu-$arch-static exists early
Johannes 'josch' Schauer
2020-04-10 12:26:42 +0200
f50ca9bf6d
also warn if /usr/sbin/update-binfmts has non-zero exit
Johannes 'josch' Schauer
2020-04-10 12:26:14 +0200
df1827d991
check if /usr/sbin/update-binfmts exists
Johannes 'josch' Schauer
2020-04-10 12:26:00 +0200
a0c393f256
fix /proc/mounts regex to find binfmt_misc
Johannes 'josch' Schauer
2020-04-10 12:25:45 +0200
d26f5de912
check whether arch-test exists
Johannes 'josch' Schauer
2020-04-10 12:25:24 +0200
46f477f339
add --skip option
Johannes 'josch' Schauer
2020-04-10 00:00:36 +0200
1076e9a78d
split up setup() into multiple functions
Johannes 'josch' Schauer
2020-04-09 23:07:02 +0200
895c388ede
add --format option and ext2 image output
Johannes 'josch' Schauer
2020-04-09 18:33:05 +0200
89e8f7a39a
coverage.sh: abort early if the test system is about to be changed
Johannes 'josch' Schauer
2020-04-09 16:43:36 +0200
15d6f5528b
also print apt-get --version output with --debug
Johannes 'josch' Schauer
2020-04-09 12:51:24 +0200
8d04ffee64
unset APT_CONFIG env var when running hook
Johannes 'josch' Schauer
2020-04-09 12:50:24 +0200
d29bdafb89
add workaround for dpkg bug to docs
Johannes 'josch' Schauer
2020-04-09 12:49:07 +0200
6b90cf7006
coverage.sh: workaround for squashfs-tools-ng/issues/42
Johannes 'josch' Schauer
2020-04-09 10:43:12 +0200
323a353548
output tarball if output is named pipe or character special
Johannes 'josch' Schauer
2020-03-22 14:10:06 +0100
412039bd66
commit de8b6a45
forgot to also run re-install with /proc, /dev and /sys mounted
Johannes 'josch' Schauer
2020-03-22 14:09:24 +0100
02ed5e33f8
add --extract-hook
Johannes 'josch' Schauer
2020-03-22 14:08:21 +0100
446d66ea06
coverage.sh: fix typo
Johannes 'josch' Schauer
2020-03-22 14:07:28 +0100
aa3d2875a8
coverage.sh: also compare permissions, ownership, symlink targets and mtimes
Johannes 'josch' Schauer
2020-03-22 14:07:00 +0100
8cac785f65
README.md: add another advantage over debootstrap
Johannes 'josch' Schauer
2020-03-22 14:05:28 +0100
a91d7440cb
remove libgcc1 for libc6 >= 2.30-2
Johannes 'josch' Schauer
2020-03-15 11:25:22 +0100
5fae5e83f9
release 0.6.1
0.6.1
Johannes 'josch' Schauer
2020-03-08 23:21:16 +0100
e1008006fc
add stub for future ext2 image support
Johannes 'josch' Schauer
2020-03-07 23:43:01 +0100
773249a0ca
document limitation of missing /etc/ld.so.cache when using fakechroot
Johannes 'josch' Schauer
2020-03-07 23:42:41 +0100
7bad5fb1e6
in unshare mode, the unshared process might not have enough permissions to rmdir root directory -- try again as normal user
Johannes 'josch' Schauer
2020-03-07 23:42:19 +0100
3922851636
use Dpkg::Vendor::Debian and Dpkg::Vendor::Ubuntu for keyring locations, if they are available
Johannes 'josch' Schauer
2020-03-07 23:41:28 +0100
89e7dd6756
store temporary files in /tmp inside the rootfs to avoid problems in unshare mode and TMPDIR set
Johannes 'josch' Schauer
2020-03-07 23:40:55 +0100
b9db466a26
add note about usage of /usr/sbin/policy-rc.d
Johannes 'josch' Schauer
2020-03-07 23:39:53 +0100
7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode
Johannes 'josch' Schauer
2020-03-07 23:37:17 +0100
d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images
Johannes 'josch' Schauer
2020-03-07 23:36:56 +0100
73b46e1812
coverage.sh: add test that makes sure that TMPDIR is used and works in unshare mode
Johannes 'josch' Schauer
2020-03-07 23:34:32 +0100
ff9b6509fb
add more usage examples
Johannes 'josch' Schauer
2020-03-07 02:25:55 +0100
6c6378a6e0
emit more warnings about setting kernel.unprivileged_userns_clone to 1
Johannes 'josch' Schauer
2020-03-07 02:13:53 +0100
48914894cb
dump temporary apt.conf with --debug
Johannes 'josch' Schauer
2020-03-07 02:13:26 +0100
1ff5ba7e9e
set APT::Immediate-Configure to false in dry-run mode
Johannes 'josch' Schauer
2020-03-07 02:12:21 +0100
3e50d09b43
create temporary apt.conf inside chroot because unshared process might not have permissions to write into TMPDIR
Johannes 'josch' Schauer
2020-03-07 02:11:35 +0100
9918809a65
add another example about how to use mmdebstrap to make a bootable live system
Johannes 'josch' Schauer
2020-03-07 02:07:10 +0100
bd84829595
unset TMPDIR environment variable for everything running inside the chroot
Johannes 'josch' Schauer
2020-03-07 02:06:11 +0100
5107116384
coverage.sh: use regex to not rely on exact gcc version
Johannes 'josch' Schauer
2020-03-06 08:44:22 +0100
5bf8c3fcf9
add sync, umount and shutdown to guestfish calls
Johannes 'josch' Schauer
2020-02-06 08:14:19 +0100
c4a47947ab
mount /sys and /proc as read-only in root mode
Johannes 'josch' Schauer
2020-01-24 10:14:10 +0100
a8fa48fbc7
coverage.sh: host architecture in --logfile output must depend on host
Johannes 'josch' Schauer
2020-01-24 10:12:29 +0100
d503e4fd96
put fh variables into their own scope
Johannes 'josch' Schauer
2020-01-22 23:30:56 +0100
62159d124a
support deb822-style format apt sources
Johannes 'josch' Schauer
2020-01-22 23:30:28 +0100
1579d06380
use tempdir(..., TMPDIR => 1) instead of tempdir(..., DIR => File::Spec->tmpdir)
Johannes 'josch' Schauer
2020-01-22 00:30:12 +0100
ae15fe3d9f
convert gpg keyring processing to less nesting and abort earlier if possible
Johannes 'josch' Schauer
2020-01-22 00:29:38 +0100
c26ec4d6fc
instead of hardcoding /etc/apt/trusted.gpg, read it from apt-config shell
Johannes 'josch' Schauer
2020-01-22 00:28:48 +0100
efaea907e9
run apt-cache policy instead of dumping sources.list
Johannes 'josch' Schauer
2020-01-22 00:28:22 +0100
c45e7d9baf
print warning if apt trusted cannot be read
Johannes 'josch' Schauer
2020-01-22 00:27:57 +0100
75428e37dd
assign the absolute key path and not the relative one
Johannes 'josch' Schauer
2020-01-21 13:38:53 +0100
3aef4dcc67
coverage.sh: add test comparing variant=debootstrap tarball for mode=root with mode=unshare
Johannes 'josch' Schauer
2020-01-21 13:32:05 +0100
64fedc530e
Restore deterministic tar with pax and xattr support
Johannes 'josch' Schauer
2020-01-21 13:24:49 +0100
a1df1a9730
fix docs: default variant is 'debootstrap' and not 'required'
Johannes 'josch' Schauer
2020-01-21 13:17:31 +0100
bef4c890d8
if /etc/machine-id exists, replace by an empty file
Johannes 'josch' Schauer
2020-01-21 13:13:58 +0100
9eaacca795
dump apt config with verbosity level >= 3
Johannes 'josch' Schauer
2020-01-21 13:12:44 +0100
77c8bb7252
coverage.sh: fix typo in header message
Johannes 'josch' Schauer
2020-01-21 13:10:36 +0100
1f59856858
make_mirro.sh: install gpg into qemu machine
Johannes 'josch' Schauer
2020-01-21 13:08:35 +0100
8481068cd2
coverage.sh: write mmdebstrap.tdy into temporary file instead of current directory
Johannes 'josch' Schauer
2020-01-21 13:07:18 +0100
6455cda34b
release 0.6.0
0.6.0
Johannes 'josch' Schauer
2020-01-19 22:24:32 +0100
c33ded3539
improve differences to debootstrap docs a bit more
Johannes 'josch' Schauer
2020-01-19 22:22:50 +0100
007d729315
README.md: more details
Johannes 'josch' Schauer
2020-01-19 22:20:25 +0100
98c8c573de
coverage.sh: test taridshift
Johannes 'josch' Schauer
2020-01-18 23:13:10 +0100
30ec192c50
some improvements to the docs
Johannes 'josch' Schauer
2020-01-16 18:03:13 +0100
588df83d1b
make_mirror.sh: select kernel image depending on host architecture
Johannes 'josch' Schauer
2020-01-16 13:42:08 +0100
961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes
Johannes 'josch' Schauer
2020-01-16 13:08:58 +0100
6e829ca066
send error package when anything goes wrong in special hook handling
Johannes 'josch' Schauer
2020-01-16 12:02:11 +0100
7d152ec7e0
add sync-in and sync-out hooks
Johannes 'josch' Schauer
2020-01-16 10:38:14 +0100
5e0f6d0ca8
coverage.sh: strip -in from upload-in and download-in
Johannes 'josch' Schauer
2020-01-16 10:30:21 +0100