diff --git a/README.md b/README.md index 8575d176c..7ef45c34a 100644 --- a/README.md +++ b/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 ``` -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. diff --git a/README_CN.md b/README_CN.md index 01054adaf..bd5fafd98 100644 --- a/README_CN.md +++ b/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 ``` -3. 在容器内,进入项目文件夹构建并运行星绽。 +3. 从源码编译安装 Asterinas OSDK ```bash -make build -make run +make install_osdk +``` + +4. 在容器内,进入项目文件夹构建并运行星绽。 + +```bash +cargo osdk build +cargo osdk run ``` 如果一切顺利,星绽现在应该在一个虚拟机内运行起来了。