Johannes Schauer Marin Rodrigues
d442f436de
shellcheck everything
2 years ago
Johannes Schauer Marin Rodrigues
3a17a91b3c
hooks: do not require MMDEBSTRAP_VERBOSITY to be set
...
This allows running the hook from older mmdebstrap versions.
2 years ago
Johannes Schauer Marin Rodrigues
c6c2baee6a
hooks/merged-usr/essential00.sh: avoid chroot in chrootless mode
2 years ago
Johannes Schauer Marin Rodrigues
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
2 years ago
Johannes Schauer Marin Rodrigues
a238d90774
hooks/merged-usr: workaround not necessary anymore since debootstrap 1.0.125
2 years ago
Johannes Schauer Marin Rodrigues
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.
2 years ago
Johannes Schauer Marin Rodrigues
21b23ebb9f
set MMDEBSTRAP_VERBOSITY in hooks
2 years ago
Johannes Schauer Marin Rodrigues
6851cd7cb4
move hooks/setup00-merged-usr.sh -> hooks/merged-usr/setup00.sh, expand docs
3 years ago