fix(image): build-mochabin-live-usb.sh accepts --slipstream (no-op match w/ other live-USB scripts)
Some checks failed
License Headers / check (push) Failing after 6s

build-all-live-usb.yml workflow passes `--slipstream` to every live-USB
build script when there are .deb files in output/debs/, but
build-mochabin-live-usb.sh only knew `--no-slipstream` (with slipstream
ON by default). The workflow's `--slipstream` therefore hit the `*) err
\"Unknown argument: \$1\"` branch and the job failed after ~50 min of
chroot setup — which is why mochabin live-USB was missing from v2.9.0
while x64 + rpi400 shipped fine (their scripts already accept both
forms).

This adds the no-op match, identical to what build-live-usb.sh and
build-rpi-usb.sh do at the same place.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-05-18 05:35:52 +02:00
parent 33f6c1f68e
commit 382b4cb7dc

View File

@ -90,6 +90,7 @@ while [[ $# -gt 0 ]]; do
--size) IMG_SIZE="$2"; shift 2 ;;
--embed-image) EMBED_IMAGE="$2"; shift 2 ;;
--local-cache) USE_LOCAL_CACHE=1; shift ;;
--slipstream) SLIPSTREAM_DEBS=1; shift ;;
--no-slipstream) SLIPSTREAM_DEBS=0; shift ;;
--no-compress) NO_COMPRESS=1; shift ;;
--no-led) INCLUDE_LED_KERNEL=0; shift ;;