From 9441b216087c7d234df85b99c9fddd28c960204e Mon Sep 17 00:00:00 2001 From: "Balasankar \"Balu\" C" Date: Mon, 4 Jul 2022 19:18:21 +0530 Subject: [PATCH] Install essential packages in UBI Signed-off-by: Balasankar "Balu" C --- scripts/install-essentials | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/install-essentials b/scripts/install-essentials index 038cc9d..e25b84e 100755 --- a/scripts/install-essentials +++ b/scripts/install-essentials @@ -78,7 +78,17 @@ function prepare_debian_environment() { } function prepare_ubi_environment() { - echo "UBI preparation scripts" + yum update -y + + yum install -by --nodocs \ + autoconf cmake gcc gcc-c++ make patch perl bzip2 \ + libedit ncurses uuid libarchive curl-devel \ + libicu-devel libffi-devel libuuid-devel openssl-devel \ + ncurses-devel pcre2-devel zlib-devel libstdc++-static \ + libevent-devel redhat-lsb-core procps-ng + + yum autoremove -y + yum clean -y all } if [[ $1 =~ debian ]]; then