From: Michael Tremer Date: Wed, 10 Jul 2024 17:02:24 +0000 (+0000) Subject: intel-microcode: Hardlink all files to save space X-Git-Tag: v2.29-core188~10^2~260 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e410a35a84102e8564c7d097d06be3c3687111b5;p=ipfire-2.x.git intel-microcode: Hardlink all files to save space This will save about 3 MiB. Signed-off-by: Michael Tremer --- diff --git a/lfs/intel-microcode b/lfs/intel-microcode index 8cf0af29c8..44e57a5df6 100644 --- a/lfs/intel-microcode +++ b/lfs/intel-microcode @@ -74,7 +74,12 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && mkdir -p $(DIR_APP) && tar axf $(DIR_DL)/$(DL_FILE) + # Copy the firmware files into the right position cd $(DIR_APP) && cp -R intel-ucode /lib/firmware/ + + # Hardlink any identical files + hardlink -c -vv /lib/firmware/intel-ucode + @rm -rf $(DIR_APP) @$(POSTBUILD)