Johannes 'josch' Schauer
|
548130867b
|
do not run another apt-get pass with custom variant
|
6 years ago |
Johannes 'josch' Schauer
|
2eed1262db
|
coverage.sh: create tarball as root with /tmp mounted nodev
|
6 years ago |
Johannes 'josch' Schauer
|
316f909a1e
|
coverage.sh: test target directory with empty lost+found
|
6 years ago |
Johannes 'josch' Schauer
|
9b3e2bce8d
|
coverage.sh: when adding foreign architecture, also install foreign package
|
6 years ago |
Johannes 'josch' Schauer
|
e07b70c361
|
coverage.sh: perform default mirror test with stable so that we can also check if the security mirror gets added
|
6 years ago |
Johannes 'josch' Schauer
|
21270ef56d
|
make_mirror.sh: also mirror security.debian.org and stable-updates
|
6 years ago |
Johannes 'josch' Schauer
|
bde4c795ef
|
document that security mirrors are only implicitly added if no mirror was specified
|
6 years ago |
Johannes 'josch' Schauer
|
b9e78796b2
|
prefer fakechroot to proot in auto mode because the latter produces wrong ownership
|
6 years ago |
Johannes 'josch' Schauer
|
a3afe24fc0
|
Instead of using gzip compression support, run compressor ourselves
- otherwise ./dev tar cannot be concatenated with the rest
- test compressor early
- better document the TARGET option
|
6 years ago |
Johannes 'josch' Schauer
|
84b0b5061b
|
start sanitizing the environment with chroot() and don't pass on TMPDIR
|
6 years ago |
Johannes 'josch' Schauer
|
6f8bb8c977
|
since copy() is using syswrite(), we must flush the filehandle before calling it
|
6 years ago |
Johannes 'josch' Schauer
|
982f8e982c
|
add --quiet and --debug switches and debug/verbose/info/warning/error functions
|
6 years ago |
Johannes 'josch' Schauer
|
58a3069495
|
add mmdebstrap prefix to temporary directory name
|
6 years ago |
Johannes 'josch' Schauer
|
765f5b91e9
|
call apt with Dpkg::Use-Pty=false to enable immediate termination upon SIGINT and prevent it from messing up the terminal with tcsetattr()
|
6 years ago |
Johannes 'josch' Schauer
|
be1af15489
|
use common function for run_dpkg_progress and run_apt_progress
|
6 years ago |
Johannes 'josch' Schauer
|
9453c7e2a9
|
coverage.sh: add test for --customize
|
6 years ago |
Johannes 'josch' Schauer
|
7f58c4596a
|
handle INT, HUB, PIPE and TERM signals, wait for child processes and clean up mounts
|
6 years ago |
Johannes 'josch' Schauer
|
1c7e0c86f0
|
coverage.sh: mmdebstrap now creates /var/lib/dpkg/available
|
6 years ago |
Johannes 'josch' Schauer
|
80aea48fa7
|
coverage.sh: testing is now also affected by #917386 and #917407
|
6 years ago |
Johannes 'josch' Schauer
|
0345d30ae6
|
run_*_progress: fix error message when exec() failed
|
6 years ago |
Johannes 'josch' Schauer
|
a3f69f8874
|
add undocumented --customize option
|
6 years ago |
Johannes 'josch' Schauer
|
d66a5a7d74
|
Several formatting improvements to POD
|
6 years ago |
Johannes 'josch' Schauer
|
e0ea1e6d65
|
add FIXME option to also support Debian derivatives
|
6 years ago |
Johannes 'josch' Schauer
|
fa836c01f7
|
refer to #898446 when warning about unprivileged_userns_clone
|
6 years ago |
Johannes 'josch' Schauer
|
e0b107453d
|
add another example --aptopt to man page
|
6 years ago |
Johannes 'josch' Schauer
|
25bec4d5e1
|
add --merged-usr and --no-merged-usr no-op options for debootstrap compatibility
|
6 years ago |
Johannes 'josch' Schauer
|
418b42746e
|
create an empty /var/lib/dpkg/available as otherwise dpkg fails on package removal
|
6 years ago |
Johannes 'josch' Schauer
|
1e0b4cb3b0
|
now that fakechroot and proot are fixed, add support for for variants beyond essential and apt
|
6 years ago |
Johannes 'josch' Schauer
|
e5564a0dad
|
make_mirror.sh: setup root password for possible debugging of qemu sessions
|
6 years ago |
Johannes 'josch' Schauer
|
5ac613983c
|
make_mirror.sh: use $mirror when calling mmdebstrap instead of its default mirror
|
6 years ago |
Johannes 'josch' Schauer
|
29550acb88
|
add --interactive=never to rm call to avoid prompts for removal of write protected files in proot mode
|
6 years ago |
Johannes 'josch' Schauer
|
903b318ccc
|
make_mirror.sh: instead of rm -r, remove temporary files explicitly to avoid desaster
|
6 years ago |
Johannes 'josch' Schauer
|
4ffa7bb69b
|
make_mirror.sh: create temporary directory inside the cache and use hardlinks to avoid unnecessary I/O
|
6 years ago |
Johannes 'josch' Schauer
|
643152ec16
|
run_qemu.sh: add comment with an example of how to connect to qemu serial unix socket
|
6 years ago |
Johannes 'josch' Schauer
|
c670f51826
|
run_qemu.sh: if the run is aborted, then the last line is likely not an integer, thus compare strings instead of numbers
|
6 years ago |
Johannes 'josch' Schauer
|
b3269c8809
|
run_null.sh: remove unused variable
|
6 years ago |
Johannes 'josch' Schauer
|
b113771a81
|
make_mirror.sh: never leave the cache in an inconsistent state by atomically switching symlinks
|
6 years ago |
Johannes 'josch' Schauer
|
8d92412380
|
make_mirror.sh: put double quotes around string
|
6 years ago |
Johannes 'josch' Schauer
|
b6e8c9dbb7
|
coverage.sh: skip comparison with debootstrap unstable because of #917386 and #917407
|
6 years ago |
Johannes 'josch' Schauer
|
1aec25f043
|
make_mirror.sh: don't run debootstrap for untested scenario
|
6 years ago |
Johannes 'josch' Schauer
|
e6ce901be4
|
run several binfmt checks before using qemu-user mode
|
6 years ago |
Johannes 'josch' Schauer
|
4a2bf62931
|
add --resolve-deps no-op option for sbuild-createchroot compatibility
|
6 years ago |
Johannes 'josch' Schauer
|
3f29fa461a
|
don't die if output cannot be written to tarball and instead check error condition early
|
6 years ago |
Johannes 'josch' Schauer
|
f4263ebd74
|
add --verbose option that prints apt and dpkg output instead of progress bars
|
6 years ago |
Johannes 'josch' Schauer
|
61ad8a8e45
|
update --help output for --aptopt using single quotes to avoid escaping of double quotes
|
6 years ago |
Johannes 'josch' Schauer
|
131a39d633
|
make_mirror.sh: export SOURCE_DATE_EPOCH for debootstrap
|
6 years ago |
Johannes 'josch' Schauer
|
076d035f65
|
coverage.sh: check requirement for disk image and debootstrap tarballs before running
|
6 years ago |
Johannes 'josch' Schauer
|
ef576ab389
|
use LC_ALL=C.UTF-8 instead of LC_ALL=C
|
6 years ago |
Johannes 'josch' Schauer
|
fa3719eaeb
|
run_qemu.sh: use an exit trap for reporting the result and cleanup
This will prevent any leftover files in case of a sudden error or
ctrl+c.
|
6 years ago |
Johannes 'josch' Schauer
|
97d273aaf6
|
disable merged usr
|
6 years ago |