mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +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:
parent
558901acb4
commit
f2ccb702e8
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
export PATH="/opt/homebrew/opt/e2fsprogs/sbin:$PATH"
|
export PATH="/opt/homebrew/opt/e2fsprogs/sbin:$PATH"
|
||||||
|
|
||||||
E2FSCK="e2fsck"
|
E2FSCK="e2fsck"
|
||||||
|
RESIZE2FS_PATH="resize2fs"
|
||||||
elif [ "$(uname -s)" = "SerenityOS" ]; then
|
elif [ "$(uname -s)" = "SerenityOS" ]; then
|
||||||
E2FSCK="/usr/local/sbin/e2fsck"
|
E2FSCK="/usr/local/sbin/e2fsck"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue