aboutsummaryrefslogtreecommitdiff
path: root/custom/install-archzfs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-19 18:15:02 -0600
committerCraig Jennings <c@cjennings.net>2026-01-19 18:15:02 -0600
commit87157d6f1f2b7eb9d30bf5db870d0c7e381604c2 (patch)
treeb84d3b140d9573cb91d085d60f9f232501667591 /custom/install-archzfs
parentef365033fd46911e079ebbea8d4f77b826e63f2d (diff)
downloadarchangel-87157d6f1f2b7eb9d30bf5db870d0c7e381604c2.tar.gz
archangel-87157d6f1f2b7eb9d30bf5db870d0c7e381604c2.zip
Add Avahi mDNS for easy SSH access, fix ISP firmware path
- Add avahi and nss-mdns packages to live ISO - Enable avahi-daemon.service for mDNS discovery - Set hostname to "archzfs" so machines are accessible at archzfs.local - Fix ISP firmware path in install-archzfs: remove /mnt prefix for chroot
Diffstat (limited to 'custom/install-archzfs')
-rwxr-xr-xcustom/install-archzfs4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/install-archzfs b/custom/install-archzfs
index 3987060..c604868 100755
--- a/custom/install-archzfs
+++ b/custom/install-archzfs
@@ -1027,12 +1027,14 @@ configure_initramfs() {
local isp_firmware
isp_firmware=$(ls /mnt/usr/lib/firmware/amdgpu/isp_*.bin.zst 2>/dev/null | head -1)
if [[ -n "$isp_firmware" ]]; then
+ # Remove /mnt prefix - config is used inside chroot where root is /
+ local chroot_path="${isp_firmware#/mnt}"
info "AMD APU detected with ISP firmware - adding to initramfs"
mkdir -p /mnt/etc/mkinitcpio.conf.d
cat > /mnt/etc/mkinitcpio.conf.d/amd-isp.conf << EOF
# AMD ISP (Image Signal Processor) firmware for camera support
# Loaded early so amdgpu can initialize ISP before root is mounted
-FILES+=($isp_firmware)
+FILES+=($chroot_path)
EOF
fi
fi