Commit graph

1051 commits

Author SHA1 Message Date
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
62159d124a
support deb822-style format apt sources 2020-01-22 23:30:28 +01:00
1579d06380
use tempdir(..., TMPDIR => 1) instead of tempdir(..., DIR => File::Spec->tmpdir) 2020-01-22 00:30:12 +01:00
ae15fe3d9f
convert gpg keyring processing to less nesting and abort earlier if possible 2020-01-22 00:29:38 +01:00
c26ec4d6fc
instead of hardcoding /etc/apt/trusted.gpg, read it from apt-config shell 2020-01-22 00:28:48 +01:00
efaea907e9
run apt-cache policy instead of dumping sources.list 2020-01-22 00:28:22 +01:00
c45e7d9baf
print warning if apt trusted cannot be read 2020-01-22 00:27:57 +01:00
75428e37dd
assign the absolute key path and not the relative one 2020-01-21 13:38:53 +01:00
3aef4dcc67
coverage.sh: add test comparing variant=debootstrap tarball for mode=root with mode=unshare 2020-01-21 13:32:05 +01:00
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
2020-01-21 13:24:49 +01:00
a1df1a9730
fix docs: default variant is 'debootstrap' and not 'required' 2020-01-21 13:17:31 +01:00
bef4c890d8
if /etc/machine-id exists, replace by an empty file 2020-01-21 13:13:58 +01:00
9eaacca795
dump apt config with verbosity level >= 3 2020-01-21 13:12:44 +01:00
77c8bb7252
coverage.sh: fix typo in header message 2020-01-21 13:12:03 +01:00
1f59856858
make_mirro.sh: install gpg into qemu machine 2020-01-21 13:08:35 +01:00
8481068cd2
coverage.sh: write mmdebstrap.tdy into temporary file instead of current directory 2020-01-21 13:07:18 +01:00
6455cda34b
release 0.6.0 2020-01-19 22:24:32 +01:00
c33ded3539
improve differences to debootstrap docs a bit more 2020-01-19 22:22:50 +01:00
007d729315
README.md: more details 2020-01-19 22:20:25 +01:00
98c8c573de
coverage.sh: test taridshift 2020-01-18 23:13:10 +01:00
30ec192c50
some improvements to the docs 2020-01-16 18:03:13 +01:00
588df83d1b
make_mirror.sh: select kernel image depending on host architecture 2020-01-16 13:42:08 +01:00
961675368f
make_mirror.sh: only install proot if HAVE_PROOT==yes 2020-01-16 13:08:58 +01:00
6e829ca066
send error package when anything goes wrong in special hook handling 2020-01-16 12:02:11 +01:00
7d152ec7e0
add sync-in and sync-out hooks 2020-01-16 10:38:14 +01:00
5e0f6d0ca8
coverage.sh: strip -in from upload-in and download-in 2020-01-16 10:30:21 +01:00
c3fa07f006
add taridshift.py 2020-01-15 22:56:12 +01:00
66957e6abd
coverage.sh: redirect grep output to /dev/null instead of using --quiet to prevent broken pipe 2020-01-10 12:07:03 +01:00
7852a33d01
don't forget chrootless in the list of mode names 2020-01-10 12:05:01 +01:00
40c9f76d91
coverage.sh: check the full log to also prevent debug printfs to accidentally make it into a commit 2020-01-10 12:03:49 +01:00
2cb6438454
add --dry-run and --simulate 2020-01-10 11:44:15 +01:00
9441184bf1
reformat some code to keep opening curly brace on the right 2020-01-10 09:29:34 +01:00
c36bfe25e7
reduce cover_db.img size, now that we don't run it for exec-ed processes anymore 2020-01-09 12:41:26 +01:00
f867384c20
coverage.sh: test with perlcritic 2020-01-09 08:39:40 +01:00
4ba82a41cf
format code with perltidy 2020-01-08 17:46:41 +01:00
bba8922243
reformat code that would exceed 79 character width even after perltidy 2020-01-08 17:41:46 +01:00
6abbb3ebd9
wrap POD to 79 characters width 2020-01-08 17:19:30 +01:00
2782d14348
rewrite comments so that they fit into 79 characters 2020-01-08 17:07:17 +01:00
27bd6df320
add vim modeline 2020-01-08 16:22:51 +01:00
b10177cb6e
use spaces instead of tabs 2020-01-08 15:41:49 +01:00