]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/Config
firewall: Allow accessing port forwardings from internal networks.
[people/teissler/ipfire-2.x.git] / lfs / Config
index 2bc07547340197df985c595905db7897a1ae192c..fb0f2e9a2f92c2f2238e14e8b0e9b10164db1396 100644 (file)
@@ -68,7 +68,7 @@ KGCC = gcc
 #
 define FIND_FILES
        cd $(ROOT)/ && find -mount \
-       -not -path './tools*' -not -path './tmp*' -not -path './usr/src*' \
+       -not -path './tools*' -not -path './tmp*' -not -path './usr/src*' -not -path './run/*' \
        -not -path './dev*' -not -path './proc*' -not -path './install*' | sort
 endef
 
@@ -96,6 +96,8 @@ endif
 #
 ifeq "$(ROOT)" ""
 define POSTBUILD
+       @echo "Updating linker cache..."
+       @type -p ldconfig >/dev/null && ldconfig || :
        @echo "Install done; saving file list to $(TARGET) ..."
        @$(FIND_FILES) > $(DIR_SRC)/lsalrnew
        @diff $(DIR_SRC)/lsalr $(DIR_SRC)/lsalrnew | grep '^> ' | sed 's/^> //' > $(TARGET)_diff
@@ -189,7 +191,7 @@ define PAK
        tar xf /install/packages/package/files.tmp -C /install/packages/package/tmp/ \
                -p --numeric-owner
        rm -f /install/packages/package/files.tmp
-       cd /install/packages/package/tmp/ && tar -c -p --numeric-owner -f /install/packages/package/files *             
+       cd /install/packages/package/tmp/ && tar -c -p --numeric-owner -J -f /install/packages/package/files.tar.xz *           
        rm -r /install/packages/package/tmp
        -cat /install/packages/package/ROOTFILES | grep -v "#" > /install/packages/package/ROOTFILES.tmp
        mv /install/packages/package/ROOTFILES.tmp /install/packages/package/ROOTFILES