From d299333da359bf8e7c751cab67560b117dc3dfdc Mon Sep 17 00:00:00 2001 From: Jonathan Dowland Date: Fri, 11 Jun 2021 15:29:01 +0100 Subject: [PATCH] ubi-clean module: Add an explanatory comment Signed-off-by: Jonathan Dowland --- jboss/container/util/ubi-clean/configure.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jboss/container/util/ubi-clean/configure.sh b/jboss/container/util/ubi-clean/configure.sh index aef51057..8c611729 100755 --- a/jboss/container/util/ubi-clean/configure.sh +++ b/jboss/container/util/ubi-clean/configure.sh @@ -1,5 +1,12 @@ #!/bin/sh +# This list of packages was arrived at by running the following in a +# UBI/OpenJDK container, in an environment *without any redhat entitlements* to +# be sure the repodata is ONLY that available via normal UBI channels and not +# the wider RHEL8 or anything else: +# rpm -qa --queryformat "%{NAME}\n" \ +# | while read pkg; do microdnf repoquery $pkg 2>/dev/null | grep -q $pkg || echo $pkg; done + microdnf remove grub2-common \ dejavu-sans-mono-fonts \ memstrack \