From 12c3b1a2e66417c4763ecc18fb0cfd0968359da4 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 22 Jan 2026 15:17:27 -0600 Subject: Clean up session context and add .stignore --- .stignore | 2 ++ docs/session-context.org | 50 ------------------------------------------------ 2 files changed, 2 insertions(+), 50 deletions(-) create mode 100644 .stignore delete mode 100644 docs/session-context.org diff --git a/.stignore b/.stignore new file mode 100644 index 0000000..e5998b3 --- /dev/null +++ b/.stignore @@ -0,0 +1,2 @@ +.git +work/ diff --git a/docs/session-context.org b/docs/session-context.org deleted file mode 100644 index 06f18c5..0000000 --- a/docs/session-context.org +++ /dev/null @@ -1,50 +0,0 @@ -#+TITLE: Session Context -#+DATE: 2026-01-20 - -* Current Session: Tuesday 2026-01-20 @ ~11:00 CST - -** Status: REBUILDING ISO - -Build in progress with the following fixes: -- Added /etc/hosts with archzfs hostname entries -- Added /etc/nsswitch.conf with mdns_minimal for mDNS resolution -- Added inetutils package (provides hostname command) -- Updated sanity test to use `cat /etc/hostname` instead of `hostname` - -** Changes Made This Session (ALL UNCOMMITTED) - -*** build.sh -- Added safe_cleanup_work_dir() function and trap (from interrupted session) -- Fixed shadow file handling (sed instead of replace) -- Added /etc/hosts file creation -- Added nsswitch.conf configuration for nss-mdns -- Added inetutils to package list - -*** scripts/sanity-test.sh -- Added test: "Root password is set" -- Added test: "Avahi package installed" -- Added test: "nss-mdns configured" -- Added test: "Hostname is archzfs" -- Changed hostname test to use `cat /etc/hostname` - -*** ~/code/archsetup/inbox/console-display-issues.txt (NEW FILE) -Documented 5 potential console issues from earlier investigation. - -** After Build Completes - -1. Write ISO to USB drives (/dev/sda and /dev/sdb) -2. Wait for Craig's confirmation before testing on ratio -3. Commit changes after successful test - -** Commit Message (After Testing Succeeds) - -#+begin_src bash -git add -A -git commit -m "Fix mDNS, hostname, and build safety - -- Add safe_cleanup_work_dir() to prevent /dev corruption on interrupted builds -- Fix shadow file: use sed to modify root entry instead of replacing file -- Add /etc/hosts and /etc/nsswitch.conf for proper hostname/mDNS -- Add inetutils package for hostname command -- Add sanity tests for password, avahi, mdns, and hostname" -#+end_src -- cgit v1.2.3