Update READMEs for OSDK change

This commit is contained in:
Zhang Junyang 2024-02-26 10:44:21 +08:00 committed by Tate, Hongliang Tian
parent 3494bc45af
commit eb42383532
2 changed files with 18 additions and 6 deletions

View File

@ -52,11 +52,17 @@ git clone https://github.com/asterinas/asterinas
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.3.1
```
3. Inside the container, go to the project folder to build and run Asterinas.
3. Install the Asterinas OSDK from source.
```bash
make build
make run
make install_osdk
```
4. Inside the container, go to the project folder to build and run Asterinas.
```bash
cargo osdk build
cargo osdk run
```
If everything goes well, Asterinas is now up and running inside a VM.

View File

@ -48,11 +48,17 @@ git clone https://github.com/asterinas/asterinas
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.3.0
```
3. 在容器内,进入项目文件夹构建并运行星绽。
3. 从源码编译安装 Asterinas OSDK
```bash
make build
make run
make install_osdk
```
4. 在容器内,进入项目文件夹构建并运行星绽。
```bash
cargo osdk build
cargo osdk run
```
如果一切顺利,星绽现在应该在一个虚拟机内运行起来了。