update workflows
See https://github.com/n-hys/illumos-gate/wiki
git clone -b osport/v2021.07 --recursive https://github.com/n-hys/illumos-gate.git
mkdir data
docker run -it --rm -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro \ -u $(id -u $USER):$(id -g $USER) \ -v `pwd`/illumos-gate:"$HOME"/illumos-gate -v `pwd`/data:/data \ ghcr.io/n-hys/illumos-build:main bash
rm -rf /data/proto/root_aarch64/* /tmp/solaris/ && \ make -C "$HOME"/illumos-gate/usr/src tools && \ make -C "$HOME"/illumos-gate/usr/src clobber -j MACH=aarch64 && \ time make -C "$HOME"/illumos-gate/usr/src -j MACH=aarch64 2>&1 | \ tee "$HOME"/illumos-gate/usr/src/build.aarch64.log
rm -rf /data/proto/root_riscv64/* /tmp/solaris/ && \ make -C "$HOME"/illumos-gate/usr/src tools && \ make -C "$HOME"/illumos-gate/usr/src clobber -j MACH=riscv64 && \ time make -C "$HOME"/illumos-gate/usr/src -j MACH=riscv64 2>&1 | \ tee "$HOME"/illumos-gate/usr/src/build.riscv64.log
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
A Docker container for building illumos porting
See https://github.com/n-hys/illumos-gate/wiki
How to build the illumos in docker container
In the linux shell
Clone repository
Create a output directory
Run docker container
In the docker container
Build illumos for aarch64
Build illumos for riscv64