smart-os/00_build_env.sh
2022-10-09 13:52:51 +00:00

14 lines
443 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"