Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

fix: build name consistency — kernel boot name matches CDN/ISO name

upload-release.sh now reads AC_BUILD_NAME env var (set at compile time)
instead of generating a new name via track-build.mjs. The oven builder
passes the compile-time name to the upload, so the kernel's boot splash
name matches the releases.json/version file name.

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

+7 -3
+5 -3
fedac/native/scripts/upload-release.sh
··· 88 88 SHA256=$(sha256sum "$VMLINUZ" | awk '{print $1}') 89 89 SIZE=$(stat -c%s "$VMLINUZ") 90 90 91 - # Generate build name from MongoDB (global counter + day-of-year animal) 92 - BUILD_NAME="" 91 + # Build name: prefer AC_BUILD_NAME (set by oven/Makefile at compile time) 92 + # so the uploaded name matches what the kernel displays on boot. 93 + # Falls back to MongoDB counter if not set (local builds). 94 + BUILD_NAME="${AC_BUILD_NAME:-}" 93 95 BUILD_NUM="" 94 - if command -v node &>/dev/null; then 96 + if [ -z "$BUILD_NAME" ] && command -v node &>/dev/null; then 95 97 NAME_JSON=$(node "$SCRIPT_DIR/track-build.mjs" next-name 2>/dev/null || echo '{}') 96 98 BUILD_NAME=$(echo "$NAME_JSON" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('name',''))" 2>/dev/null || true) 97 99 BUILD_NUM=$(echo "$NAME_JSON" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('buildNum',''))" 2>/dev/null || true)
+2
oven/native-builder.mjs
··· 409 409 DO_SPACES_SECRET: 410 410 process.env.DO_SPACES_SECRET || process.env.ART_SPACES_SECRET || "", 411 411 ALLOW_DIRTY_UPLOAD: "1", // oven builds from a managed git clone 412 + AC_BUILD_NAME: buildName, // reuse compile-time name so kernel matches CDN 412 413 }; 413 414 const uploadDir = `/tmp/oven-upload-${job.id}`; 414 415 const vmlinuzUpload = `${uploadDir}/vmlinuz`; ··· 452 453 DO_SPACES_SECRET: process.env.DO_SPACES_SECRET || process.env.ART_SPACES_SECRET || "", 453 454 OTA_CHANNEL: "cl", // uploads to os/cl-native-notepat-latest.vmlinuz 454 455 ALLOW_DIRTY_UPLOAD: "1", 456 + AC_BUILD_NAME: clBuildName, 455 457 }); 456 458 457 459 try { await fs.unlink(clVmlinuzOut); } catch {}