mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +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
Notes:
sideshowbarker
2024-07-17 04:48:03 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/f2ccb702e8 Pull-request: https://github.com/SerenityOS/serenity/pull/15918
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…
Reference in a new issue