Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

ac-os: fix kernel firmware path for oven builds

- Remove hardcoded /workspaces/ path from config-minimal
- Dynamically inject EXTRA_FIRMWARE paths when .ucode files exist
- Firmware loads from initramfs at runtime on oven (no built-in blobs)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+11 -2
+9
fedac/native/ac-os
··· 373 373 else 374 374 cd "${LINUX_DIR}" 375 375 fi 376 + # Inject built-in firmware paths if firmware blobs exist locally 377 + local FW_DIR="${BUILD_DIR}/firmware" 378 + if [ -d "${FW_DIR}" ] && ls "${FW_DIR}"/*.ucode &>/dev/null; then 379 + local FW_LIST=$(cd "${FW_DIR}" && ls *.ucode 2>/dev/null | tr '\n' ' ' | sed 's/ $//') 380 + sed -i "s|^CONFIG_EXTRA_FIRMWARE=.*|CONFIG_EXTRA_FIRMWARE=\"${FW_LIST}\"|" "${LINUX_DIR}/.config" 381 + sed -i "s|^CONFIG_EXTRA_FIRMWARE_DIR=.*|CONFIG_EXTRA_FIRMWARE_DIR=\"${FW_DIR}\"|" "${LINUX_DIR}/.config" 382 + log "Built-in firmware: ${FW_LIST}" 383 + fi 384 + 376 385 # Copy fresh initramfs into kernel tree (kernel embeds it — must be updated!) 377 386 log "Syncing initramfs into kernel tree..." 378 387 sudo cp "${BUILD_DIR}/initramfs.cpio.lz4" "${LINUX_DIR}/initramfs.cpio.lz4"
+2 -2
fedac/native/kernel/config-minimal
··· 1156 1156 CONFIG_FW_LOADER=y 1157 1157 CONFIG_FW_LOADER_PAGED_BUF=y 1158 1158 CONFIG_FW_LOADER_SYSFS=y 1159 - CONFIG_EXTRA_FIRMWARE="iwlwifi-9260-th-b0-jf-b0-46.ucode iwlwifi-cc-a0-77.ucode iwlwifi-QuZ-a0-hr-b0-77.ucode iwlwifi-QuZ-a0-jf-b0-77.ucode" 1160 - CONFIG_EXTRA_FIRMWARE_DIR="/workspaces/aesthetic-computer/fedac/native/build/firmware" 1159 + CONFIG_EXTRA_FIRMWARE="" 1160 + CONFIG_EXTRA_FIRMWARE_DIR="" 1161 1161 CONFIG_FW_LOADER_USER_HELPER=y 1162 1162 # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set 1163 1163 # CONFIG_FW_LOADER_COMPRESS is not set