Dotfiles/docs/md
Amir Alexander Abdelbaki 96f15c82af feat(archiso): embed every installer script at /installer, with an offline repo snapshot
The ISO carried only the three entry scripts launch.sh dispatches to;
tui-install.sh, its modules/ and the desktopenvs/ configs it deploys existed
solely inside the repo the installer clones at run time. A live environment
without working networking therefore ran the whole install and only failed at
the very last step, on a missing /home/<user>/Dotfiles/setup/tui-install.sh.

build.sh now embeds the entire setup/ tree at /installer (so every installer
script is on the ISO), plus a full repo snapshot — .git included, so a seeded
checkout is a real repo — at /installer/dotfiles. launch.sh moves there too
and the overlay/motd/docs follow; profiledef's file_permissions list is
repointed, which matters because mkarchiso hard-errors on an entry whose path
does not exist.

Tree resolution in both installers is now: an existing checkout, else a fresh
clone (online installs still get what is newest), else the ISO snapshot. Each
candidate is accepted only if it actually contains setup/tui-install.sh — the
old check was a bare `-d .git`, which any leftover or half-finished checkout
satisfied.

Sudo can no longer stop the install to ask for a password:
  - before the chroot hands over to the TUI, the temporary NOPASSWD drop-in is
    proven with `sudo -n true` and `sudo -n -v` (both forms modules rely on).
    A rule that didn't apply now skips the TUI instead of stalling forever on a
    hidden prompt, and the drop-in is removed on that path too rather than
    being left behind as permanent passwordless sudo;
  - tui-install.sh's root sudo shim moves to the top of the file, ahead of the
    require_jq() bootstrap that shells out through sudo, so running it as root
    straight from /installer never needs a real sudo binary.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 19:16:45 +02:00
..
ansipa-administration.md feat(freeipa-ansible): split login monitoring and add usr_ctl capability grants 2026-07-23 09:06:34 +02:00
ansipa-setup.md Revert "feat(freeipa-ansible): gateway-wide Basic Auth in front of the ansipa portal" 2026-07-22 16:24:31 +02:00
archiso.md feat(archiso): embed every installer script at /installer, with an offline repo snapshot 2026-07-29 19:16:45 +02:00
editors.md feat(nvim): auto-quit when only NERDTree/dadbod/Claude Code remain 2026-07-23 11:31:59 +02:00
freeipa-ansible.md feat(freeipa-ansible): git-based signed policy distribution for ANSIPA 2026-07-22 15:56:19 +02:00
hyprland.md docs: add Niri documentation and update DE references 2026-06-01 16:40:37 +02:00
index.md docs(ansipa): add administration guide (full policy catalogue + recipes) 2026-07-02 15:42:43 +02:00
installation.md feat(archiso): embed every installer script at /installer, with an offline repo snapshot 2026-07-29 19:16:45 +02:00
modules.md feat(greeter): cyberqueer ReGreet theme + wire greetd into installers 2026-07-04 13:37:30 +02:00
niri.md docs: add Niri documentation and update DE references 2026-06-01 16:40:37 +02:00
theming.md docs(theming): document terminal ANSI palette and its deployment targets 2026-07-23 09:06:38 +02:00
utilities.md docs: add full documentation site with CyberQueer HTML theme 2026-05-18 15:47:09 +02:00