From fe8abc24baf06edabfbbbbe0cbe6407ac660fa59 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 4 Jun 2026 18:14:43 +0200 Subject: [PATCH 1/3] fix: Redirect QEMU output to /dev/null --- src/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry.sh b/src/entry.sh index ad0ba93..abcb11e 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -35,7 +35,7 @@ info "Booting $APP using QEMU v$version..." [[ "$SHUTDOWN" != [Yy1]* ]] && exec qemu-system-x86_64 ${ARGS:+ $ARGS} -qemu-system-x86_64 ${ARGS:+ $ARGS} & +qemu-system-x86_64 ${ARGS:+ $ARGS} Date: Thu, 4 Jun 2026 18:19:02 +0200 Subject: [PATCH 2/3] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index ff169e8..40f71a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN set -eu && \ echo "$VERSION_ARG" > /etc/version && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +ADD "https://github.com/zima-os/images/releases/download/v${VERSION_ARG}/zimaos-x86_64-${VERSION_ARG}_installer.qcow2" /img.qcow2 COPY --chmod=755 ./src /run/ VOLUME /storage From f89d0c30b27f46c79013fbf054a6b0d8e95f22c0 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 4 Jun 2026 18:22:20 +0200 Subject: [PATCH 3/3] Update install.sh --- src/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/install.sh b/src/install.sh index f65adb1..e56e2e8 100644 --- a/src/install.sh +++ b/src/install.sh @@ -127,6 +127,12 @@ fi find "$STORAGE" -maxdepth 1 -type f \( -iname '*.rom' -or -iname '*.vars' \) -delete find "$STORAGE" -maxdepth 1 -type f \( -iname 'data.*' -or -iname 'qemu.*' \) -delete +if [ -s /img.qcow2 ]; then + cp /img.qcow2 "$STORAGE/" + ! bootFile "$STORAGE/img.qcow2" && exit 61 + return 0 +fi + [ -z "${VERSION:-}" ] && VERSION="1.6.1" # Download release