From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] core177: remove rngd if the addon was not installed via pakfire Date: Fri, 28 Jul 2023 18:20:07 +0100 Message-ID: <8DCD88EF-B660-4032-8D31-DBD9EEE35F3B@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5240683581305763278==" List-Id: --===============5240683581305763278== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thank you. Already caught it: https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dcommitdiff;h=3Dd4781c29aeb8f5a= e2323c445142e48b303fd09e5 -Michael > On 28 Jul 2023, at 17:52, Adolf Belka wrote: >=20 > Hi Arne, >=20 > See my feedback below. >=20 >=20 > On 28/07/2023 18:19, Arne Fitzenreiter wrote: >> the old version is linked against the old openssl and will fail. >>=20 >> fixes: #13197 >>=20 >> Signed-off-by: Arne Fitzenreiter >> --- >> config/rootfiles/core/177/update.sh | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >>=20 >> diff --git a/config/rootfiles/core/177/update.sh b/config/rootfiles/core/1= 77/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 > I think this is a typo. should be *rngd >=20 > Regards, > Adolf. >> +fi >> + >> # Extract files >> extract_files >> @@ -168,3 +177,4 @@ sync >> # Don't report the exitcode last command >> exit 0 >> + >=20 > --=20 > Sent from my laptop --===============5240683581305763278==--