1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

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
This commit is contained in:
Gunnar Beutner 2022-10-27 13:50:07 +02:00 committed by Linus Groh
parent 558901acb4
commit f2ccb702e8

View file

@ -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