Update READMEs for OSDK change
This commit is contained in:
parent
3494bc45af
commit
eb42383532
12
README.md
12
README.md
|
|
@ -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
|
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
|
```bash
|
||||||
make build
|
make install_osdk
|
||||||
make run
|
```
|
||||||
|
|
||||||
|
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.
|
If everything goes well, Asterinas is now up and running inside a VM.
|
||||||
|
|
|
||||||
12
README_CN.md
12
README_CN.md
|
|
@ -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
|
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.3.0
|
||||||
```
|
```
|
||||||
|
|
||||||
3. 在容器内,进入项目文件夹构建并运行星绽。
|
3. 从源码编译安装 Asterinas OSDK
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make build
|
make install_osdk
|
||||||
make run
|
```
|
||||||
|
|
||||||
|
4. 在容器内,进入项目文件夹构建并运行星绽。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo osdk build
|
||||||
|
cargo osdk run
|
||||||
```
|
```
|
||||||
|
|
||||||
如果一切顺利,星绽现在应该在一个虚拟机内运行起来了。
|
如果一切顺利,星绽现在应该在一个虚拟机内运行起来了。
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue