summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2022-10-27 13:50:07 +0200
committerLinus Groh <mail@linusgroh.de>2022-11-04 09:05:36 +0000
commitf2ccb702e82635cb869558e0a4404adbdcda8637 (patch)
treeae4246e03dab91d6c1a19766c0d10dc5929b6898 /Meta
parent558901acb4568401fe4494e47b5e622daf960346 (diff)
downloadserenity-f2ccb702e82635cb869558e0a4404adbdcda8637.zip
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
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/build-image-qemu.sh1
1 files changed, 1 insertions, 0 deletions
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