chore(tools): add bootstrap support for Centos/RHEL8/fedora (#713)

Co-authored-by: kejianchi <kejianchi@tencent.com>
This commit is contained in:
Chiichen
2024-04-10 18:58:54 +08:00
committed by GitHub
parent 15b94df01a
commit 4b0170bd6b
2 changed files with 41 additions and 3 deletions

View File

@ -38,8 +38,8 @@ export OBJCOPY=objcopy
if [ -d ${grub_dir_i386_efi}/bin ] && [ -d ${grub_dir_i386_legacy}/bin ] && [ -d ${grub_dir_x86_64_efi}/bin ] ; then
exit 0
fi
#仅支持Ubuntu/Debain, Arch下的自动安装
supported_package_manager="apt-get pacman"
#仅支持Ubuntu/Debain, Arch, Centos/RHEL8/Fedora下的自动安装
supported_package_manager="apt-get pacman dnf"
packages=("make binutils bison gcc gettext flex bison automake autoconf wget gawk" \
"make binutils bison gcc gettext flex bison automake autoconf wget gawk")
update_options=("update" \