Browse Source

修复当系统中不存在dosfstools时,无法正确格式化磁盘镜像的问题 (#117)

* 修复当系统中不存在dosfstools时,无法正确格式化磁盘镜像的问题
login 2 years ago
parent
commit
978043e47d
2 changed files with 2 additions and 1 deletions
  1. 1 0
      docs/introduction/build_system.md
  2. 1 1
      tools/bootstrap.sh

+ 1 - 0
docs/introduction/build_system.md

@@ -44,6 +44,7 @@ bash bootstrap.sh
 - fdisk
 - lsb-release
 - git
+- dosfstools
 - Rust以及其工具链
 
 **请留意,若您的Linux系统是在虚拟机中运行的,还请您在您的VMware/Virtual Box虚拟机的处理器设置选项卡中,开启Intel VT-x或AMD-V选项,否则,DragonOS将无法运行。**

+ 1 - 1
tools/bootstrap.sh

@@ -38,7 +38,7 @@ install_ubuntu_debian_pkg()
         gnupg \
         lsb-release \
         llvm-dev libclang-dev clang gcc-multilib \
-        gcc build-essential fdisk
+        gcc build-essential fdisk dosfstools
     
     if [ -z "$(which docker)" ]; then
         echo "正在安装docker..."