d442f436de
shellcheck everything
2022-11-16 13:59:38 +01:00
3a17a91b3c
hooks: do not require MMDEBSTRAP_VERBOSITY to be set
...
This allows running the hook from older mmdebstrap versions.
2022-10-16 15:21:04 +02:00
c6c2baee6a
hooks/merged-usr/essential00.sh: avoid chroot in chrootless mode
2022-09-19 20:41:45 +02:00
6416ce96c9
hooks/file-mirror-automount/setup00.sh: also parse MMDEBSTRAP_INCLUDE and make it available
2022-09-06 14:22:03 +02:00
d91a18a350
Adjust merged-/usr as it's done by debootstrap
...
- implements the same as debootstrap in
https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/71
- builds a temporary usr-is-merged package and upgrades to the real one
- create merged-/usr chroots for unstable and testing (which will
become Debian 12 Bookworm)
- add a dedicated merged-/usr section to the manual page
2022-07-26 22:29:08 +02:00
51ad1426c3
hooks/file-mirror-automount/setup00.sh: instead of grepping for Repo-URI, only output REPO_URI
2022-06-04 08:49:44 +02:00
d96e85fddd
file-mirror-automount hook now supports modes that cannot mount (like fakechroot) by copying the repo into the chroot
2022-05-29 09:31:12 +02:00
a238d90774
hooks/merged-usr: workaround not necessary anymore since debootstrap 1.0.125
2022-05-26 07:36:22 +02:00
790294ddca
hooks/merged-usr: acquire native architecture from apt-config
...
`dpkg --print-architecture` will be wrong when creating a foreign
architecture chroot and we cannot chroot() as the chroot directory is
still empty.
2022-05-26 07:36:22 +02:00
b99f1d53d5
add file-mirror-automount hook-dir
2022-05-26 07:36:21 +02:00
21b23ebb9f
set MMDEBSTRAP_VERBOSITY in hooks
2022-05-24 04:14:08 +02:00
df6900ec4a
hooks/eatmydata/extract.sh: fix regex to also work on s390x
2022-05-22 07:52:06 +02:00
8fe4fe3eda
hooks/busybox/extract00.sh: run busybox from an absolute path
2021-10-08 20:46:55 +02:00
6851cd7cb4
move hooks/setup00-merged-usr.sh -> hooks/merged-usr/setup00.sh, expand docs
2021-09-03 12:04:40 +02:00
aaa7c14275
hooks/setup00-merged-usr.sh: add rationale
2021-02-04 17:40:35 +01:00
7c15185dfd
work around debootstrap merge_request/48 by setting link_dir
2020-12-02 00:43:45 +01:00
0fdf4673b9
hooks/setup00-merged-usr.sh: avoid for link_dir not having been set
2020-09-06 10:29:06 +02:00
0920f72996
hooks/setup00-merged-usr.sh: use /usr/share/debootstrap/functions if available and account for different architectures
2020-08-25 16:03:23 +02:00
Steve Dodd
5e66a4fb7f
Fix apt-helper invocation for older versions.
...
Set up dpkg-divert of dpkg to avoid overwrite when dpkg is properly installed.
2020-08-20 19:28:14 +01:00
05d8b5f253
hooks/eatmydata: download instead of copy-ing from host
2020-08-17 19:01:27 +02:00
075645289f
add --hook-directory option and a directory with hooks
2020-08-16 00:50:46 +02:00