Update env.sh

This commit is contained in:
superconvert 2022-07-28 06:15:43 +08:00 committed by GitHub
parent 086e021b00
commit 1cf88370da
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 bridge-utils qemu-system docker.io
apt -y install gcc g++ make autoconf automake 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 bridge-utils qemu-img qemu-kvm qemu-kvm-tools docker
yum -y install gcc gcc-c++ make autoconf auotmake gawk bison elfutils-libelf bridge-utils qemu-img qemu-kvm qemu-kvm-tools docker
fi