Commit Graph

616 Commits (4a294f05bd55cb8861065873ac9cd4cb98faf2b4)

Author SHA1 Message Date
Johannes Schauer Marin Rodrigues ae09a50f9d
document unshare --map-auto --map-user=65536 --map-group=65536 --keep-caps trick 2 months ago
Max-Julian Pogner 286cecc21b
follow adduser's changes in example: --gecos => --comment
Considered References:
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#adduser-changes
/usr/share/doc/adduser/NEWS.Debian.gz (from adduser v3.134)
https://manpages.debian.org/bookworm/adduser/adduser.8.en.html
3 months ago
Johannes Schauer Marin Rodrigues 113532b3e1
refactor worker function to remove code duplication
Thanks: Guillem Jover <guillem@debian.org>
3 months ago
Johannes Schauer Marin Rodrigues d244f4f1de
release 1.4.3 4 months ago
Johannes Schauer Marin Rodrigues 81589889f9
check for dpkg-dev being installed for dpkg-architecture when doing foreign fakechroot 4 months ago
Johannes Schauer Marin Rodrigues 35cd477fea
Take hard links into account when computing disk usage based on dpkg-gencontrol.pl
Thanks: Guillem Jover <guillem@debian.org>, Sven Joachim <svenjoac@gmx.de>
4 months ago
Johannes Schauer Marin Rodrigues 65c27a55b3
cleanup start-stop-daemon without root prefix when performing a pivot-root 4 months ago
Johannes Schauer Marin Rodrigues 59c9c399c6
remove leftover debugging output 4 months ago
Johannes Schauer Marin Rodrigues b54564a84d
release 1.4.2 4 months ago
Johannes Schauer Marin Rodrigues 2e7a3ae8b7
remove docs concerning qemu-user-static 4 months ago
Johannes Schauer Marin Rodrigues cc831fc276
remove clean-up of qemu-user-static as it is not copied into the chroot anymore 4 months ago
Johannes Schauer Marin Rodrigues a8583eb39b
fix documentation of buildd variant to only include essential, apt and build-essential 4 months ago
Johannes Schauer Marin Rodrigues ac2aba5074
fix spelling enviroment -> environment 4 months ago
Johannes Schauer Marin Rodrigues 4d72f617d9
dpkg 1.22.3 moved start-stop-daemon from /sbin to /usr/sbin, see #1059982 4 months ago
Johannes Schauer Marin Rodrigues 4c87024356
release 1.4.1 4 months ago
Johannes Schauer Marin Rodrigues d9f9c64ac2
do not fail during cleanup if /etc/apt/apt.conf.d/00mmdebstrap got removed, only warn 4 months ago
Johannes Schauer Marin Rodrigues dd94ee3b84
read files passed as --aptopt and --dpkgopt outside the unshared namespace to avoid permission issues 4 months ago
Johannes Schauer Marin Rodrigues 99d2579e0b
document that the required and minbase variants do not explicitly install apt 4 months ago
Johannes Schauer Marin Rodrigues 610058d105
document how SUITE influences the selection of essential packages 4 months ago
Johannes Schauer Marin Rodrigues 2ff8f6142d
document how to run chrootless mode wrapped inside mmdebstrap 4 months ago
Johannes Schauer Marin Rodrigues 417d958a14
document how to remove a directory created with unshare mode 4 months ago
Johannes Schauer Marin Rodrigues 8674e11c71
allow for /etc/resolv.conf and /etc/hostname to already exist inside the chroot without warning about it 4 months ago
Johannes Schauer Marin Rodrigues daa886264b
reword the first few paragraphs
Thanks: Raphaël Hertzog
4 months ago
Johannes Schauer Marin Rodrigues d157ba2b9a
only print short --help output if wrong args are passed 4 months ago
Johannes Schauer Marin Rodrigues 428ee78121
disallow running chrootless as root without fakeroot unless --skip=check/chrootless is used 4 months ago
Johannes Schauer Marin Rodrigues 7e5ffbeb93
use L<> in POD formatting 7 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
7 months ago
Johannes Schauer Marin Rodrigues 1ffa88b182
release 1.4.0 7 months ago
Johannes Schauer Marin Rodrigues abcfda0442
add example for mmdebstrap-autopkgtest-build-qemu 7 months ago
Johannes Schauer Marin Rodrigues 63d5ffb2a6
reflow paragraph 7 months ago
Johannes Schauer Marin Rodrigues a1e5043676
add example on how to remove /etc/resolv.conf and /etc/hostname to make the chroot reproducible 7 months ago
Johannes Schauer Marin Rodrigues ecc167e87e
add example for using debvm-create and debvm-run 7 months ago
Johannes Schauer Marin Rodrigues 2d758ba576
add example on how to add additional apt sources 7 months ago
Johannes Schauer Marin Rodrigues 16c7276921
be more verbose when sending SIGHUP to the process group 7 months ago
Johannes Schauer Marin Rodrigues 1a62ccec46
do not run genext2fs if $numblocks value is invalid 7 months ago
Johannes Schauer Marin Rodrigues d02ea1c7f1
hooklistener: print errors as warning and not just as debug messages 7 months ago
Johannes Schauer Marin Rodrigues ce12fbdd41
hooklistener: process error messages 7 months ago
Johannes Schauer Marin Rodrigues aef8fcfb75
add comment explaining why dpkg-deb --extract still cannot be used 7 months ago
Johannes Schauer Marin Rodrigues cb500ef6ba
add --skip=tar-in/mknod,copy-in/mknod,sync-in/mknod 7 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) 7 months ago
Johannes Schauer Marin Rodrigues 27d1bad2a5
since debootstrap 1.0.133, the buildd variant only installs apt and not priority:required anymore 7 months ago
Johannes Schauer Marin Rodrigues 629187cd68
set MMDEBSTRAP_FORMAT in hooks 7 months ago
Johannes Schauer Marin Rodrigues e77e194ebd
only warn if symlink cannot be created, don't error out 7 months ago
Johannes Schauer Marin Rodrigues bc7ce4affc
skip symlink creation if it already exists 7 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
8 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
8 months ago
Johannes Schauer Marin Rodrigues cee8b67045
clarify, that deb.d.o is only used if SUITE is not a stable release 8 months ago
Johannes Schauer Marin Rodrigues 669c404938
typos: qume->qemu, SYS_CAP_ADMIN->CAP_SYS_ADMIN 8 months ago
Johannes Schauer Marin Rodrigues c23727e136
export container=mmdebstrap-unshare environment variable in unshare-mode hooks 8 months ago
Johannes Schauer Marin Rodrigues eaa67aea9c
fixup comment indentation 8 months ago