public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] core177: remove rngd if the addon was not installed via pakfire
@ 2023-07-28 16:19 Arne Fitzenreiter
  2023-07-28 16:52 ` Adolf Belka
  0 siblings, 1 reply; 3+ messages in thread
From: Arne Fitzenreiter @ 2023-07-28 16:19 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

the old version is linked against the old openssl and will fail.

fixes: #13197

Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
---
 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
 
+# 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
 
@@ -168,3 +177,4 @@ sync
 
 # Don't report the exitcode last command
 exit 0
+
-- 
2.38.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-28 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28 16:19 [PATCH] core177: remove rngd if the addon was not installed via pakfire Arne Fitzenreiter
2023-07-28 16:52 ` Adolf Belka
2023-07-28 17:20   ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox