mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 09:14:33 +00:00
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
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:
parent
33f6c1f68e
commit
382b4cb7dc
|
|
@ -90,6 +90,7 @@ while [[ $# -gt 0 ]]; do
|
||||||
--size) IMG_SIZE="$2"; shift 2 ;;
|
--size) IMG_SIZE="$2"; shift 2 ;;
|
||||||
--embed-image) EMBED_IMAGE="$2"; shift 2 ;;
|
--embed-image) EMBED_IMAGE="$2"; shift 2 ;;
|
||||||
--local-cache) USE_LOCAL_CACHE=1; shift ;;
|
--local-cache) USE_LOCAL_CACHE=1; shift ;;
|
||||||
|
--slipstream) SLIPSTREAM_DEBS=1; shift ;;
|
||||||
--no-slipstream) SLIPSTREAM_DEBS=0; shift ;;
|
--no-slipstream) SLIPSTREAM_DEBS=0; shift ;;
|
||||||
--no-compress) NO_COMPRESS=1; shift ;;
|
--no-compress) NO_COMPRESS=1; shift ;;
|
||||||
--no-led) INCLUDE_LED_KERNEL=0; shift ;;
|
--no-led) INCLUDE_LED_KERNEL=0; shift ;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user