From 87e78e230e732a1b73156af91d45ff322c23d549 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Tue, 12 May 2026 18:28:54 +0300 Subject: [PATCH] Fix ISO build: truncate volume ID to 32 chars (xorriso limit) EASY_BEE_NVIDIA_LEGACY_V is 33 characters; ISO 9660 volid is limited to 32. Compute the maximum token length dynamically from the prefix length and trim ISO_VERSION_LABEL_TOKEN with cut before assembling BEE_ISO_VOLUME. All four variants now fit within the limit. Co-Authored-By: Claude Sonnet 4.6 --- iso/builder/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/iso/builder/build.sh b/iso/builder/build.sh index 673ad1e..fe2ba68 100755 --- a/iso/builder/build.sh +++ b/iso/builder/build.sh @@ -1688,7 +1688,12 @@ echo "=== building ISO (variant: ${BUILD_VARIANT}) ===" # Export for auto/config BEE_GPU_VENDOR_UPPER="$(echo "${BUILD_VARIANT}" | tr 'a-z-' 'A-Z_')" -BEE_ISO_VOLUME="EASY_BEE_${BEE_GPU_VENDOR_UPPER}_V${ISO_VERSION_LABEL_TOKEN}" +# ISO 9660 volume ID is limited to 32 characters; truncate the version token to fit. +_vol_prefix="EASY_BEE_${BEE_GPU_VENDOR_UPPER}_V" +_max_token=$(( 32 - ${#_vol_prefix} )) +_vol_token="$(printf '%s' "${ISO_VERSION_LABEL_TOKEN}" | cut -c1-${_max_token})" +BEE_ISO_VOLUME="${_vol_prefix}${_vol_token}" +unset _vol_prefix _max_token _vol_token export BEE_GPU_VENDOR_UPPER BEE_ISO_VOLUME cd "${LB_DIR}"