From 031c6102f42184d8b6614695760fd11249b1c5f2 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 18 Jan 2026 18:53:47 -0600 Subject: Make ZFS encryption optional with interactive prompt Add get_encryption_choice() to ask user whether to enable encryption during interactive install. Remove --no-encrypt CLI flag in favor of config file NO_ENCRYPT option for unattended installs. Update tests to rely on config file setting instead of flag. Also: fix ISO label to ARCHZFS for stable GRUB entries, add TODO items. --- build.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 2971948..7b0f97d 100755 --- a/build.sh +++ b/build.sh @@ -210,6 +210,8 @@ info "Updating ISO metadata..." ISO_DATE=$(date +%Y-%m-%d) sed -i "s/^iso_name=.*/iso_name=\"archzfs-vmlinuz-${KERNEL_VER}-lts\"/" "$PROFILE_DIR/profiledef.sh" sed -i "s/^iso_version=.*/iso_version=\"${ISO_DATE}\"/" "$PROFILE_DIR/profiledef.sh" +# Fixed label for stable GRUB boot entry (default is date-based ARCH_YYYYMM) +sed -i "s/^iso_label=.*/iso_label=\"ARCHZFS\"/" "$PROFILE_DIR/profiledef.sh" # Create airootfs directories mkdir -p "$PROFILE_DIR/airootfs/usr/local/bin" -- cgit v1.2.3