mirror of
https://github.com/superconvert/smart-os.git
synced 2025-07-06 01:05:25 +08:00
Update env.sh
This commit is contained in:
7
env.sh
7
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
|
||||||
|
|
||||||
|
if [ -f "/usr/bin/apt" ]; then
|
||||||
apt -y install gcc g++ make gawk bison libelf-dev
|
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
|
||||||
|
Reference in New Issue
Block a user