mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Meta+Documentation: Don't rebuild disk image for every run on OpenBSD
This commit is contained in:
parent
68e4e7923a
commit
6dee1e91be
Notes:
sideshowbarker
2024-07-17 21:59:36 +09:00
Author: https://github.com/tuftedocelot Commit: https://github.com/SerenityOS/serenity/commit/6dee1e91bef Pull-request: https://github.com/SerenityOS/serenity/pull/11398 Reviewed-by: https://github.com/bgianfo ✅ Reviewed-by: https://github.com/linusg
2 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,7 @@ apk add cmake e2fsprogs grub-bios samurai mpc1-dev mpfr-dev gmp-dev ccache rsync
|
||||||
## OpenBSD prerequisites
|
## OpenBSD prerequisites
|
||||||
|
|
||||||
```console
|
```console
|
||||||
doas pkg_add bash cmake g++ gcc git gmake gmp ninja ccache rsync coreutils qemu sudo
|
doas pkg_add bash cmake g++ gcc git gmake gmp ninja ccache rsync coreutils qemu sudo e2fsprogs
|
||||||
```
|
```
|
||||||
|
|
||||||
## FreeBSD prerequisites
|
## FreeBSD prerequisites
|
||||||
|
|
|
@ -118,6 +118,7 @@ use_genext2fs=0
|
||||||
if [ "$(uname -s)" = "Darwin" ]; then
|
if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
mount_cmd="fuse-ext2 _disk_image mnt -o rw+,allow_other,uid=501,gid=20"
|
mount_cmd="fuse-ext2 _disk_image mnt -o rw+,allow_other,uid=501,gid=20"
|
||||||
elif [ "$(uname -s)" = "OpenBSD" ]; then
|
elif [ "$(uname -s)" = "OpenBSD" ]; then
|
||||||
|
VND=$(vnconfig _disk_image)
|
||||||
mount_cmd="mount -t ext2fs "/dev/${VND}i" mnt/"
|
mount_cmd="mount -t ext2fs "/dev/${VND}i" mnt/"
|
||||||
elif [ "$(uname -s)" = "FreeBSD" ]; then
|
elif [ "$(uname -s)" = "FreeBSD" ]; then
|
||||||
MD=$(mdconfig _disk_image)
|
MD=$(mdconfig _disk_image)
|
||||||
|
|
Loading…
Reference in a new issue