Commit Graph

552 Commits (055e1719b95960496a0cda88535fd00e9a395516)

Author SHA1 Message Date
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
Johannes Schauer Marin Rodrigues 9ebb3d07ac
unify /proc mounting between root and unshare mode and fall back to rbind-mounting
This makes unshare mode work on salsaci and debci.
1 year ago
Johannes Schauer Marin Rodrigues b990a3aa09
run apt with -oDebug:: options for all calls and not only in run_download() 1 year ago
Johannes Schauer Marin Rodrigues a0133a6393
document maybe-merged-usr hook 1 year ago
Johannes Schauer Marin Rodrigues 7910ca79ac
redirect apt-helper drop-privs output to /dev/null as we are only interested in the exit status and want to avoid spurious error messages from apt 1 year ago
Johannes Schauer Marin Rodrigues f737cce3f1
Support creating a fakechroot with merged-/usr on an unmerged-/usr system
Thanks: Helmut Grohne for finding this issue and help interating this
1 year ago
Johannes Schauer Marin Rodrigues d554c0b469
de-duplicate FAKECHROOT_CMD_SUBST variable 1 year ago
Johannes Schauer Marin Rodrigues 9cc494f245
release 1.3.1 1 year ago
Johannes Schauer Marin Rodrigues 5ea299f3d2
document the apt variant better 1 year ago
Johannes Schauer Marin Rodrigues 736cb493ea
release 1.3.0 1 year ago
Johannes Schauer Marin Rodrigues c738e96752
allow empty sources.list entries 1 year ago
Johannes Schauer Marin Rodrigues 860a9048d5
make info message lowercase like the rest 1 year ago
Johannes Schauer Marin Rodrigues 327b75846f
add --skip=check/signed-by 1 year ago
Johannes Schauer Marin Rodrigues ec58228f71
add more docs that non-empty SUITE will be used to select Essential:yes set 1 year ago
Johannes Schauer Marin Rodrigues f27ed490d6
Do not split --include values again in run_download and run_install
Closes: #1028977
1 year ago
Johannes Schauer Marin Rodrigues 36f691f22b
document that positional arguments can be mixed with non-positional ones and that a double-dash has the expected effect 1 year ago
Johannes Schauer Marin Rodrigues b0a5c30fb1
to find signed-by value, run gpg on the individual keys to print better error messages in case it fails (gpg doesn't give an indication which file it was unable to read) and print progress bar 1 year ago
Johannes Schauer Marin Rodrigues ea2b57870b
warn if a hook is named like one but not executable and if a hook is executable but not named like one 1 year ago
Johannes Schauer Marin Rodrigues 0b7188ce32
be more verbose when 'apt-get update' failed 1 year ago
Johannes Schauer Marin Rodrigues 9945e65701
skip running apt-get update if we are very sure that it was already run 1 year ago
Johannes Schauer Marin Rodrigues 5fd96553f5
release 1.2.5 1 year ago
Johannes Schauer Marin Rodrigues b67d30cb86
mmdebstrap: bump copyright year 1 year ago
Johannes Schauer Marin Rodrigues d4eb268795
warn if hook directory contains no executable scripts 1 year ago
Johannes Schauer Marin Rodrigues 4595d3df44
release 1.2.4 1 year ago
Johannes Schauer Marin Rodrigues 2b832e0128
add jessie-or-older extract hook 1 year ago
Johannes Schauer Marin Rodrigues a7b7e16033
move extract hook execution after run_prepare so that fakechroot works in it 1 year ago
Johannes Schauer Marin Rodrigues eb98dfbaee
apt also needs /var/lib to exist 1 year ago
Johannes Schauer Marin Rodrigues 6c5210a94f
error out early if setup fails and thus the ext2 block reader returns EOF 1 year ago
Johannes Schauer Marin Rodrigues a6a31e60eb
make sure that the unshared user has read access to the included package files 1 year ago
Johannes Schauer Marin Rodrigues 0dfd9adf2b
make sure absolute package paths start with a slash and are readable files 1 year ago
Johannes Schauer Marin Rodrigues 2fd3d768e8
avoid division by zero in progress computation 1 year ago
Johannes Schauer Marin Rodrigues 830270840b
make sure genext2fs and genext2fs exist for the respective formats 1 year ago
Jochen Sprickerhof 374ae3dc99
use $username for subgid check
/etc/subgid contains a mapping of user names (not group names) to group
ids as defined in man subgid.
1 year ago
Johannes Schauer Marin Rodrigues 7a057e37dd
release 1.2.3 1 year ago
Johannes Schauer Marin Rodrigues 889c02419e
update for perltidy 20220613 1 year ago
Johannes Schauer Marin Rodrigues 420080648e
Revert "add another --dpkgopt example"
This reverts commit 40b6155967.

dpkg does not support the {foo,bar,baz} type of glob

Closes: #28
1 year ago
Johannes Schauer Marin Rodrigues ea146ad108
add undocumented --chrooted-*-hook calling pivot_root in unshare mode 1 year ago
Johannes Schauer Marin Rodrigues 449fb248e2
Instead of mounting and unmounting for each run_chroot() call, do it once before the extract hook and unmount after the customize hooks 1 year ago
Johannes Schauer Marin Rodrigues eb54f6a23a
Instead of re-execing mmdebstrap under /bin/sh, use Text::ParseWords::shellwords
- saves a few PIDs
 - saves a bit of time because useless exec and fork is avoided
 - allows to run in pivoted chroots without mmdebstrap
1 year ago
Johannes Schauer Marin Rodrigues bf33a614c3
add mini-mmdebstrap in shell to the man page 1 year ago