From ca4822a145f0a2189a11b9365f5e126e3802a463 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Thu, 31 Mar 2022 09:27:12 +0000 Subject: [PATCH] Core Update 167: Hardlink any identical firmware files on existing installations as well MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/167/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rootfiles/core/167/update.sh b/config/rootfiles/core/167/update.sh index 2c96b445c6..2371478202 100644 --- a/config/rootfiles/core/167/update.sh +++ b/config/rootfiles/core/167/update.sh @@ -330,6 +330,9 @@ GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --import /opt/pakfire/pakfire-2022.key # Filesytem cleanup /usr/local/bin/filesystem-cleanup +# Hardlink any identical files to save space +hardlink -c -vv /lib/firmware + # Regenerate all initrds dracut --regenerate-all --force -- 2.39.5