]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/cdrom
xz: Performance and compression tuning (V2) - fine tuning
[people/pmueller/ipfire-2.x.git] / lfs / cdrom
index 58e754f87b9db39c828994f100fcea7bb7dd1684..cdb7b07dab15613136d4bf3507de611485f75914 100644 (file)
--- a/lfs/cdrom
+++ b/lfs/cdrom
@@ -32,7 +32,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 ifeq "$(BUILD_PLATFORM)" "arm"
        TAR_OPTIONS =
 else
-       TAR_OPTIONS = --lzma
+       TAR_OPTIONS = --xz
 endif
 
 ###############################################################################
@@ -78,7 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        tar -x -C /tmp -f /$(SNAME).tar
        rm -f /$(SNAME).tar
        @mkdir /tmp/sys
-       cd /tmp && tar  cf /install/cdrom/distro.img $(TAR_OPTIONS) * && rm -rf *
+       cd /tmp && XZ_OPT="$(XZ_OPT)" tar cf /install/cdrom/distro.img $(TAR_OPTIONS) * && rm -rf *
 
        # Other files
        touch /install/cdrom/$(SNAME)-$(VERSION)-core$(CORE).media