From df511afa5b6498f70c272c24079da61e75b71435 Mon Sep 17 00:00:00 2001 From: Tomaz Zaman Date: Mon, 10 Aug 2026 23:30:11 +0200 Subject: [PATCH 31/77] mono: ext4-only, drop squashfs The device is ext4 end to end (rootfs, first-boot resize, sysupgrade), but CONFIG_TARGET_ROOTFS_SQUASHFS was still on and mono-update.sh's publish glob matched both filesystems - so a stale squashfs-emmc image lingering in bin/ was republished to every release. Disable squashfs in the build seed and tighten the publish globs to *-ext4-* so only the image we actually ship can be published. Co-Authored-By: Claude Fable 5 --- configs/mono_gateway-dk.seed | 1 + scripts/mono-update.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/mono_gateway-dk.seed b/configs/mono_gateway-dk.seed index e30b76a5ec..7113c504ba 100644 --- a/configs/mono_gateway-dk.seed +++ b/configs/mono_gateway-dk.seed @@ -49,3 +49,4 @@ CONFIG_PACKAGE_u-boot-fsl_ls1046a-rdb-sdboot=y # CONFIG_PACKAGE_umdns is not set # CONFIG_TARGET_IMAGES_GZIP is not set CONFIG_TARGET_ROOTFS_PARTSIZE=256 +# CONFIG_TARGET_ROOTFS_SQUASHFS is not set diff --git a/scripts/mono-update.sh b/scripts/mono-update.sh index 547b150d26..36b6745b34 100755 --- a/scripts/mono-update.sh +++ b/scripts/mono-update.sh @@ -102,8 +102,8 @@ BINDIR=bin/targets/layerscape/armv8_64b URLBASE="${MONO_PUBLISH_URL:-https://openwrt.mono.si}" rm -rf "$OUT" mkdir -p "$OUT" -cp "$BINDIR"/openwrt-layerscape-armv8_64b-mono_*-emmc.img.gz \ - "$BINDIR"/openwrt-layerscape-armv8_64b-mono_*-sysupgrade.bin \ +cp "$BINDIR"/openwrt-layerscape-armv8_64b-mono_*-ext4-emmc.img.gz \ + "$BINDIR"/openwrt-layerscape-armv8_64b-mono_*-ext4-sysupgrade.bin \ "$BINDIR"/openwrt-layerscape-armv8_64b-mono_*.manifest "$OUT/" git format-patch --quiet -o "$OUT/patches" "$LATEST..$BRANCH" (cd "$OUT" && sha256sum *.img.gz *.bin > sha256sums) -- 2.47.3