X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2FConfig;h=415766d123da4b2bbd5ab7c87fa8ffda8b4b906b;hp=2bc07547340197df985c595905db7897a1ae192c;hb=6f67c28d995d1dcf08cd2b874fa02aef6e5dba00;hpb=6c22de5561913d751954df791ebf29e00c33f867 diff --git a/lfs/Config b/lfs/Config index 2bc075473..415766d12 100644 --- a/lfs/Config +++ b/lfs/Config @@ -57,8 +57,6 @@ DIR_CONF = $(LFS_BASEDIR)/config DIR_INFO = $(LFS_BASEDIR)/log DIR_TMP = /tmp -KGCC = gcc - ############################################################################### # Common Macro Definitions ############################################################################### @@ -68,7 +66,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 +94,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 +189,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