Update env.sh

This commit is contained in:
superconvert 2022-07-27 14:53:16 +08:00 committed by GitHub
parent 47d876c279
commit 63bc85463d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
env.sh
View File

@ -3,9 +3,9 @@
rm work/kernel_install/ work/glibc_install/ work/busybox_install/ -rf
if [ -f "/usr/bin/apt" ]; then
apt -y install gcc g++ make gawk bison libelf-dev qemu-system docker.io
apt -y install gcc g++ make gawk bison libelf-dev bridge-utils qemu-system docker.io
fi
if [ -f "/usr/bin/yum" ]; then
yum -y install gcc gcc-c++ make gawk bison elfutils-libelf
yum -y install gcc gcc-c++ make gawk bison elfutils-libelf bridge-utils qemu-img qemu-kvm qemu-kvm-tools docker
fi