diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-18 02:01:01 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-18 02:01:01 -0600 |
| commit | 5bd18b6f6a3ea89c900549c530af2a256094b917 (patch) | |
| tree | d0dd600519c376d767da333311faa9358936588b /build.sh | |
| parent | f1bcb073a09254bbac9725bec47648df72438bee (diff) | |
| download | archangel-5bd18b6f6a3ea89c900549c530af2a256094b917.tar.gz archangel-5bd18b6f6a3ea89c900549c530af2a256094b917.zip | |
Add config file support for unattended installations
Features:
- --config-file option for automated installs
- Example config at /root/install-archzfs.conf.example
- Validates required fields before install
- Config only used when explicitly specified (safety)
Bug fixes:
- Fix pacstrap hanging on provider prompts (use yes pipe)
- Remove fsck from mkinitcpio HOOKS (ZFS doesn't use fsck)
- Add hostid support for ZFS boot
- Add spl.spl_hostid to kernel command line
Documentation:
- Comprehensive README.org with 15 sections
- Session context tracking file
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -168,6 +168,10 @@ cp "$CUSTOM_DIR/install-archzfs" "$PROFILE_DIR/airootfs/usr/local/bin/" cp "$CUSTOM_DIR/install-claude" "$PROFILE_DIR/airootfs/usr/local/bin/" cp "$CUSTOM_DIR/archsetup-zfs" "$PROFILE_DIR/airootfs/usr/local/bin/" +# Copy example config for unattended installs +mkdir -p "$PROFILE_DIR/airootfs/root" +cp "$CUSTOM_DIR/install-archzfs.conf.example" "$PROFILE_DIR/airootfs/root/" + # Set permissions in profiledef.sh info "Setting file permissions..." if grep -q "file_permissions=" "$PROFILE_DIR/profiledef.sh"; then |
