Johannes 'josch' Schauer
89e7dd6756
store temporary files in /tmp inside the rootfs to avoid problems in unshare mode and TMPDIR set
5 years ago
Johannes 'josch' Schauer
b9db466a26
add note about usage of /usr/sbin/policy-rc.d
5 years ago
Johannes 'josch' Schauer
7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode
5 years ago
Johannes 'josch' Schauer
d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images
5 years ago
Johannes 'josch' Schauer
73b46e1812
coverage.sh: add test that makes sure that TMPDIR is used and works in unshare mode
5 years ago
Johannes 'josch' Schauer
ff9b6509fb
add more usage examples
5 years ago
Johannes 'josch' Schauer
6c6378a6e0
emit more warnings about setting kernel.unprivileged_userns_clone to 1
5 years ago
Johannes 'josch' Schauer
48914894cb
dump temporary apt.conf with --debug
5 years ago
Johannes 'josch' Schauer
1ff5ba7e9e
set APT::Immediate-Configure to false in dry-run mode
5 years ago
Johannes 'josch' Schauer
3e50d09b43
create temporary apt.conf inside chroot because unshared process might not have permissions to write into TMPDIR
5 years ago
Johannes 'josch' Schauer
9918809a65
add another example about how to use mmdebstrap to make a bootable live system
5 years ago
Johannes 'josch' Schauer
bd84829595
unset TMPDIR environment variable for everything running inside the chroot
5 years ago
Johannes 'josch' Schauer
5107116384
coverage.sh: use regex to not rely on exact gcc version
5 years ago
Johannes 'josch' Schauer
5bf8c3fcf9
add sync, umount and shutdown to guestfish calls
5 years ago
Johannes 'josch' Schauer
c4a47947ab
mount /sys and /proc as read-only in root mode
5 years ago
Johannes 'josch' Schauer
a8fa48fbc7
coverage.sh: host architecture in --logfile output must depend on host
5 years ago
Johannes 'josch' Schauer
d503e4fd96
put fh variables into their own scope
5 years ago
Johannes 'josch' Schauer
62159d124a
support deb822-style format apt sources
5 years ago
Johannes 'josch' Schauer
1579d06380
use tempdir(..., TMPDIR => 1) instead of tempdir(..., DIR => File::Spec->tmpdir)
5 years ago
Johannes 'josch' Schauer
ae15fe3d9f
convert gpg keyring processing to less nesting and abort earlier if possible
5 years ago
Johannes 'josch' Schauer
c26ec4d6fc
instead of hardcoding /etc/apt/trusted.gpg, read it from apt-config shell
5 years ago
Johannes 'josch' Schauer
efaea907e9
run apt-cache policy instead of dumping sources.list
5 years ago
Johannes 'josch' Schauer
c45e7d9baf
print warning if apt trusted cannot be read
5 years ago
Johannes 'josch' Schauer
75428e37dd
assign the absolute key path and not the relative one
5 years ago
Johannes 'josch' Schauer
3aef4dcc67
coverage.sh: add test comparing variant=debootstrap tarball for mode=root with mode=unshare
5 years ago
Johannes 'josch' Schauer
64fedc530e
Restore deterministic tar with pax and xattr support
...
- all creating and extraction of tarballs respects extended attributes
- extended attributes require pax format, so explicitly request the
format
- to make pax bit-by-bit reproducible, ctime, atime and PID have to be
removed from the headers with:
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime
- always pass --numeric-owner to tar
- always pass --xattrs when creating a tar
- always pass --xattrs --xattrs-include=* when extracting a tar
5 years ago
Johannes 'josch' Schauer
a1df1a9730
fix docs: default variant is 'debootstrap' and not 'required'
5 years ago
Johannes 'josch' Schauer
bef4c890d8
if /etc/machine-id exists, replace by an empty file
5 years ago
Johannes 'josch' Schauer
9eaacca795
dump apt config with verbosity level >= 3
5 years ago
Johannes 'josch' Schauer
77c8bb7252
coverage.sh: fix typo in header message
5 years ago
Johannes 'josch' Schauer
1f59856858
make_mirro.sh: install gpg into qemu machine
5 years ago
Johannes 'josch' Schauer
8481068cd2
coverage.sh: write mmdebstrap.tdy into temporary file instead of current directory
5 years ago
Johannes 'josch' Schauer
6455cda34b
release 0.6.0
5 years ago
Johannes 'josch' Schauer
c33ded3539
improve differences to debootstrap docs a bit more
5 years ago
Johannes 'josch' Schauer
007d729315
README.md: more details
5 years ago
Johannes 'josch' Schauer
98c8c573de
coverage.sh: test taridshift
5 years ago
Johannes 'josch' Schauer
30ec192c50
some improvements to the docs
5 years ago
Johannes 'josch' Schauer
588df83d1b
make_mirror.sh: select kernel image depending on host architecture
5 years ago
Johannes 'josch' Schauer
961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes
5 years ago
Johannes 'josch' Schauer
6e829ca066
send error package when anything goes wrong in special hook handling
5 years ago
Johannes 'josch' Schauer
7d152ec7e0
add sync-in and sync-out hooks
5 years ago
Johannes 'josch' Schauer
5e0f6d0ca8
coverage.sh: strip -in from upload-in and download-in
5 years ago
Johannes 'josch' Schauer
c3fa07f006
add taridshift.py
5 years ago
Johannes 'josch' Schauer
66957e6abd
coverage.sh: redirect grep output to /dev/null instead of using --quiet to prevent broken pipe
5 years ago
Johannes 'josch' Schauer
7852a33d01
don't forget chrootless in the list of mode names
5 years ago
Johannes 'josch' Schauer
40c9f76d91
coverage.sh: check the full log to also prevent debug printfs to accidentally make it into a commit
5 years ago
Johannes 'josch' Schauer
2cb6438454
add --dry-run and --simulate
5 years ago
Johannes 'josch' Schauer
9441184bf1
reformat some code to keep opening curly brace on the right
5 years ago
Johannes 'josch' Schauer
c36bfe25e7
reduce cover_db.img size, now that we don't run it for exec-ed processes anymore
5 years ago
Johannes 'josch' Schauer
f867384c20
coverage.sh: test with perlcritic
5 years ago