Commit Graph

591 Commits (main)

Author SHA1 Message Date
Johannes Schauer Marin Rodrigues 7e5ffbeb93
use L<> in POD formatting 6 months ago
Johannes Schauer Marin Rodrigues fd33bd2a40 set DPkg::Chroot-Directory in APT_CONFIG
This is so that users calling apt-get install from a hook only need to
have APT_CONFIG=$MMDEBSTRAP_APT_CONFIG set and do not also have to pass
-oDPkg::Chroot-Directory="$1".

This breaks users running apt-get with
DPkg::Options::=--force-script-chrootless or with Dpkg::Pre-Install-Pkgs
from within a hook with APT_CONFIG=$MMDEBSTRAP_APT_CONFIG.

In those situations, DPkg::Chroot-Directory has to be set to the empty
string explicitly with -o to overwrite the APT_CONFIG setting.

Thanks: Helmut Grohne
6 months ago
Johannes Schauer Marin Rodrigues 1ffa88b182
release 1.4.0 6 months ago
Johannes Schauer Marin Rodrigues abcfda0442
add example for mmdebstrap-autopkgtest-build-qemu 6 months ago
Johannes Schauer Marin Rodrigues 63d5ffb2a6
reflow paragraph 6 months ago
Johannes Schauer Marin Rodrigues a1e5043676
add example on how to remove /etc/resolv.conf and /etc/hostname to make the chroot reproducible 6 months ago
Johannes Schauer Marin Rodrigues ecc167e87e
add example for using debvm-create and debvm-run 6 months ago
Johannes Schauer Marin Rodrigues 2d758ba576
add example on how to add additional apt sources 6 months ago
Johannes Schauer Marin Rodrigues 16c7276921
be more verbose when sending SIGHUP to the process group 6 months ago
Johannes Schauer Marin Rodrigues 1a62ccec46
do not run genext2fs if $numblocks value is invalid 6 months ago
Johannes Schauer Marin Rodrigues d02ea1c7f1
hooklistener: print errors as warning and not just as debug messages 6 months ago
Johannes Schauer Marin Rodrigues ce12fbdd41
hooklistener: process error messages 6 months ago
Johannes Schauer Marin Rodrigues aef8fcfb75
add comment explaining why dpkg-deb --extract still cannot be used 6 months ago
Johannes Schauer Marin Rodrigues cb500ef6ba
add --skip=tar-in/mknod,copy-in/mknod,sync-in/mknod 6 months ago
Johannes Schauer Marin Rodrigues 84c53fc120
hook-helper: repurpose third arg for skip options now that qemu-user info does not need to be propagated anymore (was only needed for proot) 6 months ago
Johannes Schauer Marin Rodrigues 27d1bad2a5
since debootstrap 1.0.133, the buildd variant only installs apt and not priority:required anymore 6 months ago
Johannes Schauer Marin Rodrigues 629187cd68
set MMDEBSTRAP_FORMAT in hooks 6 months ago
Johannes Schauer Marin Rodrigues e77e194ebd
only warn if symlink cannot be created, don't error out 6 months ago
Johannes Schauer Marin Rodrigues bc7ce4affc
skip symlink creation if it already exists 6 months ago
Johannes Schauer Marin Rodrigues 21366f76b7
Stop copying qemu-$arch-static binary into the chroot
- since qemu-user binfmt has support for pre-opening the interpreter
   since stretch, there is no reason to copy it into the chroot anymore
7 months ago
Johannes Schauer Marin Rodrigues bf41b91e6f
Properly implement --skip=output/dev and add --skip=output/mknod
- the first implementation of --skip=output/dev was broken in root mode
 - add tests
 - add documentation
7 months ago
Johannes Schauer Marin Rodrigues cee8b67045
clarify, that deb.d.o is only used if SUITE is not a stable release 7 months ago
Johannes Schauer Marin Rodrigues 669c404938
typos: qume->qemu, SYS_CAP_ADMIN->CAP_SYS_ADMIN 7 months ago
Johannes Schauer Marin Rodrigues c23727e136
export container=mmdebstrap-unshare environment variable in unshare-mode hooks 7 months ago
Johannes Schauer Marin Rodrigues eaa67aea9c
fixup comment indentation 7 months ago
Johannes Schauer Marin Rodrigues 6cc9d1b99b
release 1.3.8 8 months ago
Johannes Schauer Marin Rodrigues 1c67ac111a
exclude ./lost+found from tarball 8 months ago
Johannes Schauer Marin Rodrigues 4d76d04cfe
release 1.3.7 10 months ago
Johannes Schauer Marin Rodrigues 73f06a6356
set MMDEBSTRAP_SUITE when running hooks 10 months ago
Johannes Schauer Marin Rodrigues 5a6883970a
release 1.3.6 11 months ago
Johannes Schauer Marin Rodrigues 04950847d3
add debvm and bdebstrap to docs 11 months ago
Johannes Schauer Marin Rodrigues 81d155cac8
release 1.3.5 1 year ago
Johannes Schauer Marin Rodrigues b3338bd33b
refine warnings and add documentation for using --include with .deb files in unshare mode 1 year ago
Johannes Schauer Marin Rodrigues 19a2ec044a
fix undefined variable in error message 1 year ago
Johannes Schauer Marin Rodrigues 4d44b9dbbe
export MMDEBSTRAP_ARGV0 for hooks 1 year ago
Johannes Schauer Marin Rodrigues 9710ee16a0
release 1.3.4 1 year ago
Johannes Schauer Marin Rodrigues ff9b76ed19
improve debug and error message wording 1 year ago
Jakub Wilk a719ffd20a
Fix apt.conf permissions
Having world-writable apt.conf may be exploited by locals users to
execute arbitrary code in the context of the user running mmdebstrap.
1 year ago
Johannes Schauer Marin Rodrigues 55cae49ec7
let test_unshare_userns error out itself if necessary 1 year ago
Johannes Schauer Marin Rodrigues 055e1719b9
try unsharing before automatically choosing unshare mode 1 year ago
Johannes Schauer Marin Rodrigues cc8dab5be8
add non-free-firmware to docs 1 year ago
Jochen Sprickerhof 84ea1e042b
Fail in --mode=unshare when newuidmap is not available 1 year ago
Johannes Schauer Marin Rodrigues 158607b3af
mmdebstrap: improve docs for --keyring 1 year ago
Johannes Schauer Marin Rodrigues e7f21ce04c
Do not die if reading the number of ext2 blocks failed as that would skip the cleanup action
Reported-by: Helmut Grohne <helmut@subdivi.de>
1 year ago
Johannes Schauer Marin Rodrigues 8bdd04fce1
release 1.3.3 1 year ago
Johannes Schauer Marin Rodrigues f3ab0a3d2d
release 1.3.2 1 year ago
Johannes Schauer Marin Rodrigues 46fc269b54
improve documentation of unshare mode 1 year ago
Johannes Schauer Marin Rodrigues 8d9a94fca5
if /proc is bind-mounted, make it a (recursive) slave mount so that changes to it (like unmounting) do not propagate to the outside
Thanks: Helmut Grohne
1 year ago
Johannes Schauer Marin Rodrigues a23dd36bb6
fix warning to not talk about bind-mounting 1 year ago
Johannes Schauer Marin Rodrigues 8f8f5bd706
relax apt version regex even further to be able to cope with versions like 2.5.3ubuntu0.1 1 year ago