aboutsummaryrefslogtreecommitdiff
path: root/custom/lib/common.sh
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename custom/ to installer/ for clarityCraig Jennings2026-02-231-173/+0
| | | | | | | | The custom/ directory name was an archiso implementation detail. Renamed to installer/ which clearly communicates that this directory contains the installer scripts and utilities that ship on the ISO. Updated all references in build.sh, Makefile, test-install.sh, and README.
* fix: resolve SC2155 shellcheck warnings in custom/lib/Craig Jennings2026-02-231-3/+6
| | | | | Declare and assign local variables separately to avoid masking return values from command substitutions.
* refactor: remove archsetup references, make installer standaloneCraig Jennings2026-01-251-2/+2
| | | | | | | - Remove copy_archsetup function and calls from ZFS/Btrfs paths - Update SSH hardening messages to generic advice - Change sanoid references to tips without archsetup dependency - Improve filesystem dialog descriptions
* Phase 1.4: Add filesystem selection promptCraig Jennings2026-01-231-0/+32
| | | | | | | | | | | | | - Add FILESYSTEM variable to config (zfs or btrfs) - Add select_filesystem() function with fzf support - Update gather_input() to prompt for filesystem in interactive mode - Add validation for FILESYSTEM in unattended mode - Btrfs selection errors with "not yet implemented" - Update banner to show "Archangel" branding - Update config example with FILESYSTEM option Groundwork for btrfs support - filesystem choice is now captured, installation logic gates on FILESYSTEM variable.
* Fix set -e compatibility in lib functionsCraig Jennings2026-01-231-1/+3
| | | | | | | | | - Replace [[ ]] && error pattern with if/then/fi - Pattern causes exit when condition is false with set -e - Fixed in: common.sh, config.sh, disk.sh, install-archzfs Discovered during VM testing: the && short-circuit returns exit code 1 when condition is false, triggering set -e to abort.
* Phase 1.1: Create lib/ directory structure for archangel refactorCraig Jennings2026-01-231-0/+136
- Add custom/lib/common.sh: output, validation, fzf prompts, disk utils - Add custom/lib/config.sh: argument parsing, config loading, validation - Add custom/lib/disk.sh: partitioning, EFI management, disk selection - Add custom/lib/zfs.sh: pool, datasets, ZFSBootMenu, services, hooks - Update install-archzfs to source libs - Remove duplicated output/config functions from main script Prepares codebase for btrfs filesystem support (Phase 2).