PostgreSQL. In a browser. FTW.
- At this time, postgres runs using the older buildroot release (the default setup for
browser-vm
) - Switching to the latest buildroot (2022.05.1) compiles the
v86-linux.iso
file and the iso includes postgres, but postgres crashes with a segfault on startup - Additional changes may need to be made to the
buildroot-v86
folder before building this, or we need some other changes in menuconfig??
git clone https://github.com/humphd/browser-vm
cd browser-vm
Modify Dockerfile line 4:
ARG BUILD_ROOT_RELEASE=2022.05.1
docker build -t buildroot .
docker run \
--rm \
--name build-v86 \
-v $PWD/dist:/build \
-v $PWD/buildroot-v86/:/buildroot-v86 \
-ti \
--platform linux/amd64 \
--entrypoint "bash" \
buildroot
make BR2_EXTERNAL=/buildroot-v86 v86_defconfig
make menuconfig
- Toolchain -> Enable WCHAR support
- Target Packages -> Libraries -> Database -> postgresql & postgresql-full
- save configuration & exit
make
make legal-info