Johannes 'josch' Schauer
732fde54f8
documentation improvements, add OPERATION section
4 years ago
Johannes 'josch' Schauer
da449be3fe
fix missing I in front of <>
4 years ago
Johannes 'josch' Schauer
2e19a8bda4
remove nonsense code comment
4 years ago
Johannes 'josch' Schauer
96f45ec2e7
info messages start with lower case character
4 years ago
Johannes 'josch' Schauer
b7e257871d
use Debian::DistroInfo if available
4 years ago
Johannes 'josch' Schauer
b2ea7b230f
remove no-op if statement
4 years ago
Johannes 'josch' Schauer
1e7e002eb1
print explicit info message about installing essential packages
4 years ago
Johannes 'josch' Schauer
ad56754a2a
pkgs_to_install might contain duplicates when multiple suites are used -- avoid that by using a hash instead of an array
4 years ago
Johannes 'josch' Schauer
0c990abc48
coverage.sh: only consider non-POD parts for maximum line length check
4 years ago
Johannes 'josch' Schauer
534798dbd2
add example for how to use a cache directory
4 years ago
Johannes 'josch' Schauer
12b26a8817
use /usr/share/distro-info/debian.csv to figure out the security mirror for bullseye and beyond
4 years ago
Johannes 'josch' Schauer
9d32dee3f5
if a suite name was specified, use the matching apt index to figure out the package set to install
4 years ago
Johannes 'josch' Schauer
21a26b5dac
pass verbosity to hook-listener
4 years ago
Johannes 'josch' Schauer
e71487af5e
improve hook-helper and hook-listener debug output
4 years ago
Johannes 'josch' Schauer
bf87e83bdb
make it possible to seed /var/cache/apt/archives with deb packages
4 years ago
Johannes 'josch' Schauer
50d8d5edae
check whether dpkg, apt and others are installed ( closes : #18 )
4 years ago
Johannes 'josch' Schauer
0a985948cf
create temporary test ext2 image in TMPDIR and not in CWD
4 years ago
Johannes 'josch' Schauer
1000a033e8
release 0.7.1
4 years ago
Johannes 'josch' Schauer
259a188e06
fix typo: 3030 -> 2020 (thanks Trent W. Buck!)
4 years ago
Johannes 'josch' Schauer
65e40c8c34
redirect stderr of dpkg --version to /dev/null to prevent error output if dpkg is too old (thanks Trent W. Buck!)
4 years ago
Johannes 'josch' Schauer
58925dc493
add two more debug messages
4 years ago
Johannes 'josch' Schauer
400b51ad7b
release 0.7.0
4 years ago
Johannes 'josch' Schauer
3713735240
document non-functional --variant=standard due to bug #968217
4 years ago
Johannes 'josch' Schauer
7c752fa8a0
print elapsed time after successful run
4 years ago
Johannes 'josch' Schauer
74725ac451
coverage.sh: test eatmydata and merged-usr hooks
4 years ago
Johannes 'josch' Schauer
465c056434
no longer needs to install twice when --depkgopt=path-exclude is given by filtering the tarball with new tarfilter utility
4 years ago
Johannes 'josch' Schauer
8f09c3e02f
unless in chrootless mode, omitting stuff in /var/lib/dpkg does not depend on the dpkg version outside, but on the version inside the chroot (and we don't know that one yet)
4 years ago
Johannes 'josch' Schauer
dd64e8220d
use distro-info-data and debootstrap to help with suite name and keyring discovery
4 years ago
Johannes 'josch' Schauer
87d383d754
replace -t STDERR with a common function that explains the 'no critic' annotation
4 years ago
Johannes 'josch' Schauer
307cbf5a41
prefix certain progress bars with what is being done ( closes : #16 )
4 years ago
Johannes 'josch' Schauer
df18304449
add a new pipe to communicate the number of blocks to the parent instead of abusing the hookhelper/listener
4 years ago
Johannes 'josch' Schauer
a5ea38cbad
fix docs: there are four hooks, not three
4 years ago
Johannes 'josch' Schauer
0451d5f004
do not suggest using --dpkgopt=force-unsafe-io because it barely brings any speedups, see Debian bug #613428
4 years ago
Johannes 'josch' Schauer
614ef0e43d
make it clear that --aptopt and --dpkgopt add their content permamently
4 years ago
Johannes 'josch' Schauer
23fb2055e4
fix error message to specify the right command
4 years ago
Johannes 'josch' Schauer
501e29fdeb
fix closedir calls
4 years ago
Johannes 'josch' Schauer
12f41ad33f
fix syntax for perltidy
4 years ago
Johannes 'josch' Schauer
075645289f
add --hook-directory option and a directory with hooks
4 years ago
Johannes 'josch' Schauer
e2a759967f
put hook listener into its own function and expose it to the CLI via --hook-listener
4 years ago
Johannes 'josch' Schauer
c2c270390b
implement dpkg-realpath in perl so that we don't need to run tar inside the chroot anymore for modes other than fakechroot and proot
4 years ago
Johannes 'josch' Schauer
dc67c1f4be
if we got dpkg >= 1.20.0, then we don't have to create certain files and directories ourselves
4 years ago
Johannes 'josch' Schauer
904274b9f4
adjust genext2fs (>= 1.5.0) interface
4 years ago
Johannes 'josch' Schauer
112c0a5a6d
add documentation about --{setup,extract,essential,customize}-hooks and --skip option, making them an official interface
4 years ago
Johannes 'josch' Schauer
40b6155967
add another --dpkgopt example
4 years ago
Johannes 'josch' Schauer
4d041140d5
instead of 'du' we use File::Find to avoid different results on different filesystems, see https://bugs.debian.org/650077 for a discussion
4 years ago
Johannes 'josch' Schauer
655857e525
don't use apt sandboxing in fakechroot or proot modes
4 years ago
Johannes 'josch' Schauer
af13116336
do not hide errors even with --quiet
...
This change also fixes the problem that when --quiet is given, an error
will never lead to a non-zero exit status because the error function
returns before it runs die()
4 years ago
Johannes 'josch' Schauer
dc9a5dc281
document how to use mmdebstrap as a debootstrap wrapper
4 years ago
Johannes 'josch' Schauer
fa12e4f488
create /tmp with chmod 01777
4 years ago
Johannes 'josch' Schauer
b60893aa83
add --skip=output/dev
4 years ago