aboutsummaryrefslogtreecommitdiff
path: root/docs/workflows
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-09 23:45:00 -0500
committerCraig Jennings <c@cjennings.net>2026-06-09 23:45:00 -0500
commit4e6f4cc66206f02e92d4a2ca2f414fad5a3439a1 (patch)
tree27c48401b170856691023a50573a26e0032a89fc /docs/workflows
parent39b4a8bc5cac3a2092122f6c4fbede9bf0139286 (diff)
downloadarchangel-4e6f4cc66206f02e92d4a2ca2f414fad5a3439a1.tar.gz
archangel-4e6f4cc66206f02e92d4a2ca2f414fad5a3439a1.zip
feat(install): install baked AUR packages and clean the target config
Wire the baked AUR repo into the installer. Before pacstrap, install_base checks whether the ISO shipped the repo and, if so, exposes [aur] in the live /etc/pacman.conf and reads the package names from the manifest, adding them to the pacstrap set so they install into the target offline. This mirrors the existing [archzfs] handling. pacstrap resolves repos from the live system, not $MNTPOINT. The live config already carries [aur] from the shipped ISO config, so the append is idempotent by design. A --skip-aur ISO ships no repo, and aur_repo_available gates the whole path, so the installer still works there. configure_system strips any [aur] stanza from the target /etc/pacman.conf. pacstrap installs a stock target config with no [aur], so this is defensive, but it guarantees the installed system never references /usr/share/aur-packages, which exists only on the live ISO. Four new common.sh helpers carry the logic: aur_repo_available, append_aur_repo (idempotent), aur_manifest_names (the manifest is the source of what to install, so the list never drifts), and strip_repo_stanza. All four covered across Normal, Boundary, and Error.
Diffstat (limited to 'docs/workflows')
0 files changed, 0 insertions, 0 deletions