From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RiOdN-00034k-M8 for ptxdist@pengutronix.de; Wed, 04 Jan 2012 12:03:53 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1RiOdN-0007wq-L3 for ptxdist@pengutronix.de; Wed, 04 Jan 2012 12:03:53 +0100 Date: Wed, 4 Jan 2012 12:03:53 +0100 From: Michael Olbrich Message-ID: <20120104110353.GI21393@pengutronix.de> References: <4EEC6BC9.6020707@erwinrol.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4EEC6BC9.6020707@erwinrol.com> Subject: Re: [ptxdist] old tar Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Sat, Dec 17, 2011 at 11:15:37AM +0100, Erwin Rol wrote: > is there an easy (no upgrading the machine is _not_ easy) work > around for the following problem ? > > extract: pkg_src=/home/erwin/Download/ptxdist_cache//strace-4.6.tar.xz > extract: pkg_extract_dir=rootfs/platform-ECM945/build-target/strace-4.6 > tar: unrecognized option `--xz' > Try `tar --help' or `tar --usage' for more information. But the program xz is available, right? Would something like this work for you? Michael diff --git a/scripts/lib/ptxd_make_extract_archive.sh b/scripts/lib/ptxd_make_extract_archive.sh index f44f0c9..b7c1102 100644 --- a/scripts/lib/ptxd_make_extract_archive.sh +++ b/scripts/lib/ptxd_make_extract_archive.sh @@ -16,7 +16,7 @@ ptxd_make_extract_archive() { filter="--lzma" ;; *xz) - filter="--xz" + filter="--use-compress-program=xz" ;; *lzop) filter="--lzop" -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de