From f2ccb702e82635cb869558e0a4404adbdcda8637 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 27 Oct 2022 13:50:07 +0200 Subject: [PATCH] Meta: Make file-system resizing work on macOS Previously we'd fail to execute the resize2fs tool which then results in us recreating the image from scratch: resizing disk image... Image resized. line 132: /usr/sbin/resize2fs: No such file or directory failed, not using existing image done --- Meta/build-image-qemu.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh index e94f396689..eeeb286064 100755 --- a/Meta/build-image-qemu.sh +++ b/Meta/build-image-qemu.sh @@ -49,6 +49,7 @@ if [ "$(uname -s)" = "Darwin" ]; then export PATH="/opt/homebrew/opt/e2fsprogs/sbin:$PATH" E2FSCK="e2fsck" + RESIZE2FS_PATH="resize2fs" elif [ "$(uname -s)" = "SerenityOS" ]; then E2FSCK="/usr/local/sbin/e2fsck" else