From b367ccd184d45f0f65fc2b4f12a6f21b528ee7c3 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:48 +0100 Subject: feat(etc): diff/upstream-diff/add/reset recipes + ignore fstab - etc-diff: diff repo-managed etc/ vs live /etc (defaults to all) - etc-upstream-diff: diff live /etc vs pristine pacman archive (defaults to pacman -Qkk modified set) - etc-add: copy /etc/ into the repo's etc/ tree - etc-reset: restore pristine via bsdtar -xpf, or rm if unowned; refuses managed paths without --force - ignore /etc/fstab (host-specific UUIDs/layout) - path-traversal guards on all recipe inputs - regular-file-only enforcement (no symlinks/dirs) - fail-fast with clear message if mirror can't supply installed version --- etc/.ignore | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/.ignore') diff --git a/etc/.ignore b/etc/.ignore index 3c1d9d9..559b23d 100644 --- a/etc/.ignore +++ b/etc/.ignore @@ -36,6 +36,9 @@ /etc/pacman.d/gnupg/* /etc/pacman.d/mirrorlist +# Host-specific (UUIDs, partition layout) +/etc/fstab + # Managed by useradd (podman uses them) /etc/subuid /etc/subgid -- cgit v1.2.3-70-g09d2