mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-22 02:04:23 +08:00
14 lines
441 B
Bash
Executable File
14 lines
441 B
Bash
Executable File
#!/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"
|