From c9b12ba97ddb8d692de1e5f884ae37dc46dc6a59 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 10 Aug 2026 00:51:53 +0200 Subject: [PATCH] build: Update QEMU base image to v7.45 (#2123) --- Dockerfile | 2 +- src/image.sh | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b771c68..4117cd70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG VERSION_ARG="latest" FROM scratch AS build-amd64 -COPY --from=qemux/qemu:7.44 / / +COPY --from=qemux/qemu:7.45 / / ARG TARGETARCH diff --git a/src/image.sh b/src/image.sh index 6679bbd5..b89b68d7 100644 --- a/src/image.sh +++ b/src/image.sh @@ -1417,24 +1417,6 @@ detectESDImage() { return 0 } -baseDir() { - - # TODO: Can be removed with base image 7.45+ - - local path="${1%/}" - - [[ -z "$path" || "$path" == "/" ]] && { - echo "/" - return 0 - } - - path="${path#/}" - path="${path%%/*}" - - echo "/$path" - return 0 -} - checkFreeSpace() { local dir="$1"