This website works better with JavaScript.
a9765a3ad2
fix Apt::Architectures architecture list
Johannes 'josch' Schauer
2018-11-04 20:37:36 +0100
935f5b7a66
Instead of requiring root, use qemu
Johannes 'josch' Schauer
2018-11-04 20:34:40 +0100
bcb6b65b72
coverage.sh: add more tests
Johannes 'josch' Schauer
2018-11-02 17:24:46 +0100
7948894159
dereference array foreignarchs before iterating
Johannes 'josch' Schauer
2018-11-02 17:24:28 +0100
cb44551009
make_mirror.sh: do not retrieve translations
Johannes 'josch' Schauer
2018-11-02 17:23:53 +0100
4c9d2bd3d7
add sanity check for fakechroot/proot renameat2 bug
Johannes 'josch' Schauer
2018-10-24 02:41:43 +0200
3c411012be
coverage.sh: print script progress
Johannes 'josch' Schauer
2018-10-24 02:37:45 +0200
88c0d40b8f
test.sh: now dpkg in testing also creates lock-frontend
Johannes 'josch' Schauer
2018-10-23 19:03:13 +0200
f3d227ae5f
add coverage.sh
Johannes 'josch' Schauer
2018-10-22 20:37:31 +0200
b8c63f8797
check the mode earlier so that we can re-exec under fakechroot earlier
Johannes 'josch' Schauer
2018-10-23 18:04:05 +0200
70c1468453
in fakechroot mode, do not create symlinks to non-existing /proc
Johannes 'josch' Schauer
2018-10-23 16:03:32 +0200
a5866a347c
add --qemu option to proot when creating tar of foreign arch chroot
Johannes 'josch' Schauer
2018-10-23 15:36:58 +0200
174d54f933
for simplicity, always use our own /dev tar entries
Johannes 'josch' Schauer
2018-10-23 15:19:01 +0200
7534a7607f
Add chrootless mode and extract and custom variants
Johannes 'josch' Schauer
2018-10-22 17:05:56 +0200
07f0e53081
Add POD section for environment variables
Johannes 'josch' Schauer
2018-10-22 17:04:35 +0200
a6d6ad4d0d
Add more markup to POD
Johannes 'josch' Schauer
2018-10-22 17:03:39 +0200
bdf878894f
add commented out stub for using fmtree to compare directories
Johannes 'josch' Schauer
2018-10-22 16:58:27 +0200
69ee374719
test.sh: fix small typo
Johannes 'josch' Schauer
2018-10-22 16:58:11 +0200
35d45c8504
use [ A ] && [ B ] instead of [ A -a B ] as recommended by shellcheck
Johannes 'josch' Schauer
2018-10-22 16:57:52 +0200
2d6703add0
fix tar call in proot mode (avoid extra entry for /dev and error message about non-existant working directory)
Johannes 'josch' Schauer
2018-10-22 15:06:20 +0200
5498f61ce5
apt does not support double quotes in paths
Johannes 'josch' Schauer
2018-10-22 15:05:19 +0200
27f10e2300
fix error string (apt is part of the required variant)
Johannes 'josch' Schauer
2018-10-22 15:04:25 +0200
1409405af7
always clean apt from the outside in case there is no apt inside the chroot
Johannes 'josch' Schauer
2018-10-22 15:03:36 +0200
61ff05566a
as a defensive measure, in conditionals for variant and mode, always check for unknown variant/mode
Johannes 'josch' Schauer
2018-10-22 14:44:45 +0200
12fc63385b
skip /dev in directory creation
Johannes 'josch' Schauer
2018-10-22 11:39:31 +0200
145bfe5233
symlinks must also be created with havemknod
Johannes 'josch' Schauer
2018-10-22 11:38:47 +0200
b0efc9aa86
also conditionally only act on symlinks if havemknod is false
Johannes 'josch' Schauer
2018-10-22 11:36:02 +0200
3c48bce2b2
don't set /usr/bin/env in FAKECHROOT_CMD_SUBST
Johannes 'josch' Schauer
2018-10-22 11:32:59 +0200
7a25de31db
Don't rely on Architecture field in indextargets output because it's only filled for non-flat mirrors
Johannes 'josch' Schauer
2018-10-22 11:29:56 +0200
bdbe12fec8
don't set Apt::Get::Download-Only in the default apt config but do it explicitly in each apt call
Johannes 'josch' Schauer
2018-10-22 11:24:47 +0200
191bc47f2c
make sure that apt puts its logs into the chroot
Johannes 'josch' Schauer
2018-10-22 11:12:11 +0200
11633c7278
don't clean auxfiles anymore
Johannes 'josch' Schauer
2018-10-22 11:06:36 +0200
7ca2e490d7
make_mirror.sh: also download a foreign architecture
Johannes 'josch' Schauer
2018-10-21 18:02:08 +0200
7b4d052653
make_mirror.sh: remove unnecessary statement
Johannes 'josch' Schauer
2018-10-21 17:55:08 +0200
a45eb846f7
make_mirror.sh: only download new archives to save bandwidth
Johannes 'josch' Schauer
2018-10-21 17:54:45 +0200
7412d5fbce
also unmount in unshare mode to prevent wrong directory permissions of mount targets
Johannes 'josch' Schauer
2018-10-08 11:26:31 +0200
ac8084cb42
only unmount device nodes and directories with --no-mtab in unshare mode
Johannes 'josch' Schauer
2018-10-08 11:25:39 +0200
594a37d093
add comment about mounting sys with rbind in unshare mode
Johannes 'josch' Schauer
2018-10-08 11:24:29 +0200
b561b0a154
release 0.2.0
0.2.0
Johannes 'josch' Schauer
2018-10-03 10:32:39 +0200
4e663a12f0
test.sh: cache debootstrap results
Johannes 'josch' Schauer
2018-10-03 10:22:35 +0200
c6099857e2
do not chmod symlinks because that will change the target of the symlink and not the symlink itself
Johannes 'josch' Schauer
2018-10-03 09:22:18 +0200
d634095da1
Skip the loop if nothing was created so that chmod later doesn't fail
Johannes 'josch' Schauer
2018-10-03 09:20:02 +0200
eeb1ba4e11
add comment explaining the situation with *-archive-keyring packages
Johannes 'josch' Schauer
2018-10-03 09:20:25 +0200
ab96341957
die if chmod fails
Johannes 'josch' Schauer
2018-10-03 09:19:28 +0200
f2a3f23acf
Fix havemknod test
Johannes 'josch' Schauer
2018-10-03 07:29:50 +0200
c073d0b446
don't use default mirror if no mirror was specified but data was given on standard input
Johannes 'josch' Schauer
2018-10-02 10:09:22 +0200
d25e939363
suppress warnings when the test for the arch-test binary fails
Johannes 'josch' Schauer
2018-10-02 04:11:41 +0200
edb3c9ed9a
add FIXME comment
Johannes 'josch' Schauer
2018-10-02 04:11:22 +0200
1f13d0157b
print /etc/apt/sources.list if apt-get update didn't download anything
Johannes 'josch' Schauer
2018-10-02 04:11:12 +0200
bb2aa6e9fd
prevent a 'deb...' mirror argument from being handled by the '://' case
Johannes 'josch' Schauer
2018-10-02 04:09:18 +0200
173ea1162b
also remove dpkg lock files
Johannes 'josch' Schauer
2018-10-01 22:58:29 +0200
7deadcb988
test.sh: do not continue if http server failed to start
Johannes 'josch' Schauer
2018-10-01 22:55:52 +0200
6da8791c11
do not chmod bind mount targets as this would change permissions on the source of the mount
Johannes 'josch' Schauer
2018-10-01 22:52:45 +0200
a9db385868
die if copy() fails
Johannes 'josch' Schauer
2018-10-01 22:51:50 +0200
640d854c2e
mount a new sysfs when root and don't unmount with --recursive
Johannes 'josch' Schauer
2018-10-01 17:17:34 +0200
62b92bb229
fix copy-paste error
Johannes 'josch' Schauer
2018-10-01 17:14:59 +0200
b827e58d07
do not print setup() arguments by default
0.1.0
Johannes 'josch' Schauer
2018-09-24 20:09:43 +0200
e7e6ec0314
if newuidmap or newgidmap fail, print all their arguments
Johannes 'josch' Schauer
2018-09-24 20:09:28 +0200
d232870b28
check whether newuidmap and newgidmap are available
Johannes 'josch' Schauer
2018-09-24 20:09:08 +0200
95669ff193
Allow specifying the mmdebstrap binary as an environment variable
Johannes 'josch' Schauer
2018-09-24 20:08:31 +0200
cd39a44934
make sure that unshare mode cannot be run as superuser
Johannes 'josch' Schauer
2018-09-24 20:07:46 +0200
ec9ceb2115
Some more logging
Johannes 'josch' Schauer
2018-09-23 22:27:49 +0200
1e9817574c
Instead of Dpkg::Index use a primitive deb822 parser and shave off another 10 seconds
Johannes 'josch' Schauer
2018-09-23 21:15:12 +0200
16d9b413f7
unset APT_CONFIG inside the chroot
Johannes 'josch' Schauer
2018-09-23 20:11:48 +0200
2930475e62
instead of showing the raw apt and dpkg output, display a progress bar
Johannes 'josch' Schauer
2018-09-23 19:47:14 +0200
60f047ba66
rmdir /var/lib/apt/lists/auxfiles which is created by apt >= 1.6 but unknown to older apt inside the chroot
Johannes 'josch' Schauer
2018-09-23 19:45:09 +0200
4d75cb8b89
Write certain apt options to a common config file inside the chroot so that apt inside and outside adhere to it while its settings can still be overwritten
Johannes 'josch' Schauer
2018-09-23 19:43:14 +0200
96c6913281
make_mirror.sh: also include build-essential
Johannes 'josch' Schauer
2018-09-23 19:39:41 +0200
5649f7d69a
test.sh: print command that is being run
Johannes 'josch' Schauer
2018-09-23 19:37:19 +0200
c8dbb408d8
test.sh: redirect stderr of python http.server to /dev/null
Johannes 'josch' Schauer
2018-09-23 19:36:35 +0200
87b9971539
use any and none from List::Util
Johannes 'josch' Schauer
2018-09-23 19:36:07 +0200
ee60b2c7e3
use brackets for correct operator precedence when using grep
Johannes 'josch' Schauer
2018-09-23 15:26:47 +0200
fe060e6cad
do not use 'dpkg --install --recursive' because we cannot have a progress bar without knowing how many packages we install
Johannes 'josch' Schauer
2018-09-21 22:10:14 +0200
42d9141970
avoid glob() because it splits its argument on whitespace
Johannes 'josch' Schauer
2018-09-21 20:32:07 +0200
56688b2fde
check the exit status after all waitpid calls
Johannes 'josch' Schauer
2018-09-21 19:08:26 +0200
7b2ca91f59
exit with non-zero exit status if setup() dies
Johannes 'josch' Schauer
2018-09-21 19:06:47 +0200
fcc40dc122
chmod 0755 root directory so that other users (like _apt) can access it
Johannes 'josch' Schauer
2018-09-21 18:57:57 +0200
0cdd803ba0
store valid modes in an array
Johannes 'josch' Schauer
2018-09-21 18:57:34 +0200
550562cf6f
rudimentary support for tor:// URIs
Johannes 'josch' Schauer
2018-09-21 08:05:39 +0200
58004816d1
If nothing got downloaded, check if a file:// URI was maybe used and warn about it
Johannes 'josch' Schauer
2018-09-21 08:05:15 +0200
9df5afa5c4
apt-get update does not return a non-zero exit on failure, thus parse its output instead
Johannes 'josch' Schauer
2018-09-21 08:04:40 +0200
0166f95545
Anticipate arch-test not being installed and only check if chroot architecture is unequal host's architecture
Johannes 'josch' Schauer
2018-09-21 08:00:06 +0200
c96a1526b2
add terminating semicolon to more lines
Johannes 'josch' Schauer
2018-09-21 07:57:52 +0200
99df33ca1f
Install apt-transport-https and ca-certificates if mirrors are https
Johannes 'josch' Schauer
2018-09-20 22:42:44 +0200
bee38bcfc7
only disally --include if variant is essential
Johannes 'josch' Schauer
2018-09-20 22:42:17 +0200
e027e9458f
Be explicit about where to install libfakeroot and libfakechroot
Johannes 'josch' Schauer
2018-09-20 21:07:22 +0200
b7b6b28377
Don't forget to chomp away the newline of the arch-test output
Johannes 'josch' Schauer
2018-09-20 20:49:48 +0200
49cc8cf32e
Clean lock files as well
Johannes 'josch' Schauer
2018-09-19 08:22:55 +0200
1adac06646
Add qemu-user support for fakechroot and sudo modes
Johannes 'josch' Schauer
2018-09-18 17:11:02 +0200
87586fa667
Instead of adding a fake ldconfig to the chroot, use FAKECHROOT_CMD_SUBST
Johannes 'josch' Schauer
2018-09-18 16:59:02 +0200
4f293ebf0d
die if abs_path failed
Johannes 'josch' Schauer
2018-09-18 16:55:25 +0200
e4a7336fb9
fix typo includes=>include
Johannes 'josch' Schauer
2018-09-18 16:48:18 +0200
be3f571810
make_mirror.sh: do not hardcode amd64
Johannes 'josch' Schauer
2018-09-18 16:46:59 +0200
6e45488642
README.md: add more bold highlights
Johannes 'josch' Schauer
2018-09-18 13:11:15 +0200
1e472dc33d
Capture output of arch-test
Johannes 'josch' Schauer
2018-09-18 13:10:28 +0200
77a95f0002
Print information about expecting data from stdin
Johannes 'josch' Schauer
2018-09-18 13:10:09 +0200
9ed4c65e35
initial commit
Johannes 'josch' Schauer
2018-09-18 11:20:24 +0200