]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
Core Update 167: Hardlink any identical firmware files on existing installations...
authorPeter Müller <peter.mueller@ipfire.org>
Thu, 31 Mar 2022 09:27:12 +0000 (09:27 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 31 Mar 2022 09:27:12 +0000 (09:27 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/167/update.sh

index 2c96b445c61b24bd9f128c5f3afa0efd50e09f34..2371478202dd3338f5293768f18260d5cce326c1 100644 (file)
@@ -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