mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-26 12:07:06 +08:00
Update env.sh
This commit is contained in:
parent
2d2a2a1237
commit
c98b7828c2
9
env.sh
9
env.sh
@ -1,4 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
rm work/kernel_install/ work/glibc_install/ work/busybox_install/ -rf
|
rm work/kernel_install/ work/glibc_install/ work/busybox_install/ -rf
|
||||||
apt -y install gcc g++ make gawk bison libelf-dev
|
|
||||||
|
if [ -f "/usr/bin/apt" ]; then
|
||||||
|
apt -y install gcc g++ make gawk bison libelf-dev
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "/usr/bin/yum" ]; then
|
||||||
|
yum -y install gcc gcc-c++ make gawk bison elfutils-libelf
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user