From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH] core177: remove rngd if the addon was not installed via pakfire Date: Fri, 28 Jul 2023 18:19:16 +0200 Message-ID: <20230728161916.9839-1-arne_f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7626623051984353722==" List-Id: --===============7626623051984353722== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable the old version is linked against the old openssl and will fail. fixes: #13197 Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/177/update.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/rootfiles/core/177/update.sh b/config/rootfiles/core/177/= update.sh index 818079940..2347afbdb 100644 --- a/config/rootfiles/core/177/update.sh +++ b/config/rootfiles/core/177/update.sh @@ -97,6 +97,15 @@ rm -f \ /opt/pakfire/db/meta/meta-squidclamav \ /opt/pakfire/db/rootfiles/squidclamav =20 +# remove old rngd if the addon is not installed +if [ ! -e "/opt/pakfire/db/installed/meta-rng-tools" ]; then + rm -rf /usr/bin/randstat \ + /usr/bin/rngtest \ + /usr/sbin/rngd \ + /etc/rc.d/init.d/rngd \ + /etc/rc.d/rc?.d/*rmgd +fi + # Extract files extract_files =20 @@ -168,3 +177,4 @@ sync =20 # Don't report the exitcode last command exit 0 + --=20 2.38.1 --===============7626623051984353722==--