mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-22 18:20:30 +08:00
12 lines
390 B
Bash
12 lines
390 B
Bash
#!/bin/sh
|
|
|
|
rm work/kernel_install/ work/glibc_install/ work/busybox_install/ -rf
|
|
|
|
if [ -f "/usr/bin/apt" ]; then
|
|
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 autoconf auotmake gawk bison elfutils-libelf bridge-utils qemu-img qemu-kvm qemu-kvm-tools docker
|
|
fi
|