Core Update 167: Update linker config before calling GPG

This avoids log messages like:
ldconfig: /lib/ld-linux-x86-64.so.2 is not a symbolic link

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-04-08 15:59:25 +00:00
parent c9b5a4756f
commit 490e86f403

View File

@@ -310,9 +310,6 @@ rm -rvf \
/usr/share/zoneinfo/US/Pacific-New \
/var/lib/GeoIP
# Delete old 2007 Pakfire key from GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617
# Stop services
/etc/init.d/ipsec stop
@@ -322,6 +319,9 @@ extract_files
# update linker config
ldconfig
# Delete old 2007 Pakfire key from GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617
# Add new 2022 Pakfire key to GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --import /opt/pakfire/pakfire-2022.key