Skip to content

Commit

Permalink
修复bootstrap.sh未能自动更换gcc镜像源, 未能自动安装docker的问题 (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
fslongjin authored Nov 3, 2023
1 parent d470019 commit 8058ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ install_ubuntu_debian_pkg()

if [ -z "$(which docker)" ] && [ -n ${dockerInstall} ]; then
echo "正在安装docker..."
sudo apt install docker.io docker-compose
sudo apt install -y docker.io docker-compose
elif [ -z ${dockerInstall} ]; then
echo "您传入--no-docker参数生效, 安装docker步骤被跳过."
elif [ -n "$(which docker)" ]; then
Expand Down Expand Up @@ -227,7 +227,7 @@ cargo install dadk || exit 1
# 创建磁盘镜像
bash create_hdd_image.sh
# 编译安装GCC交叉编译工具链
bash build_gcc_toolchain.sh
bash build_gcc_toolchain.sh -cs
# 编译安装grub
bash grub_auto_install.sh

Expand Down

0 comments on commit 8058ccb

Please sign in to comment.