Skip to content

Commit cb71efa

Browse files
include cve fixes from redhat-8
1 parent c4cec89 commit cb71efa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/redhat-9/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export LANG=en_US.utf8
2929
# Install utility packages
3030
microdnf -y --nodocs install wget sudo shadow-utils procps tar make gcc \
3131
openssl-devel libffi-devel findutils libssh-devel \
32-
libcurl-devel glib2-devel ncurses-devel diffutils
32+
libcurl-devel ncurses-devel diffutils
3333
# Patch security updates
3434
microdnf -y --nodocs update gnutls kernel-headers libdnf librepo libnghttp2 nettle \
3535
libpwquality libxml2 systemd-libs lz4-libs curl \
@@ -65,7 +65,7 @@ ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip3
6565
# Install splunk-ansible dependencies
6666
cd /
6767
/usr/bin/python3.9 -m pip install --upgrade pip
68-
pip -q --no-cache-dir install --upgrade "requests_unixsocket<2.29" "requests<2.29" six wheel Mako "urllib3<2.0.0" certifi jmespath future avro cryptography lxml protobuf setuptools ansible
68+
pip -q --no-cache-dir install --upgrade requests_unixsocket requests six wheel Mako "urllib3<2.0.0" certifi jmespath future avro cryptography lxml protobuf setuptools ansible
6969

7070
# Remove tests packaged in python libs
7171
find /usr/lib/ -depth \( -type d -a -not -wholename '*/ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf '{}' \;
@@ -74,7 +74,7 @@ find /usr/lib/ -depth \( -type f -a -name 'wininst-*.exe' \) -exec rm -rf '{}' \
7474
ldconfig
7575

7676
# Cleanup
77-
microdnf remove -y make gcc openssl-devel findutils glib2-devel glibc-devel cpp \
77+
microdnf remove -y make gcc openssl-devel findutils glibc-devel cpp \
7878
libffi-devel libcurl-devel libssh-devel libxcrypt-devel \
7979
ncurses-devel zlib-devel
8080
microdnf clean all

0 commit comments

Comments
 (0)