Fix void-kernel output directory setup

Replace the stale `RUNTIME_DIR` mkdir in the experimental Void kernel helper with
creation of the parent directory for `OUT_DIR`, which is the current
BANGER_MANUAL_DIR/custom --out-dir flow used by the Make target.

This restores `make void-kernel` without requiring an extra environment override.
Validation: make void-kernel ARGS='--out-dir /tmp/banger-void-kernel-verify-$$'.
This commit is contained in:
Thales Maciel 2026-04-01 19:42:30 -03:00
parent 5f89c07fc0
commit 70bc6d07d0
No known key found for this signature in database
GPG key ID: 33112E6833C34679

View file

@ -280,7 +280,7 @@ if [[ "$ARCH" != "x86_64" ]]; then
log "this experimental downloader currently supports only x86_64" log "this experimental downloader currently supports only x86_64"
exit 1 exit 1
fi fi
mkdir -p "$RUNTIME_DIR" mkdir -p "$(dirname "$OUT_DIR")"
if [[ -e "$OUT_DIR" ]]; then if [[ -e "$OUT_DIR" ]]; then
log "output directory already exists: $OUT_DIR" log "output directory already exists: $OUT_DIR"
log "remove it first if you want to re-stage a different Void kernel" log "remove it first if you want to re-stage a different Void kernel"