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 initramfs ownership so oven can rebuild

sudo creates root-owned files in initramfs-root. On the next build,
the oven user can't clean/repopulate them, causing the musl linker
to be missing from the initramfs. chown back to the calling user
after repacking.

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

+3
+3
fedac/native/ac-os
··· 366 366 sudo find . -print0 | sudo cpio --null -ov --format=newc \ 367 367 > "${BUILD_DIR}/initramfs.cpio" 2>/dev/null 368 368 lz4 -l -9 -f "${BUILD_DIR}/initramfs.cpio" "${BUILD_DIR}/initramfs.cpio.lz4" 369 + 370 + # Fix ownership so non-root users (oven) can rebuild next time 371 + sudo chown -R "$(whoami)" "${INITRAMFS_ROOT}" "${BUILD_DIR}/initramfs.cpio" "${BUILD_DIR}/initramfs.cpio.lz4" 2>/dev/null || true 369 372 } 370 373 371 374 build_kernel() {