mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-29 14:05:55 +08:00
14 lines
441 B
Bash
14 lines
441 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
rm work/kernel_install/ work/glibc_install/ work/busybox_install/ work/libgcc_install work/binutils_install -rf
|
||
|
|
||
|
if [ -f "/usr/bin/apt" ]; then
|
||
|
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 bridge-utils qemu-img qemu-kvm qemu-kvm-tools docker
|
||
|
fi
|
||
|
|
||
|
echo "Run the next script: 01_build_src.sh"
|