mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] old tar
@ 2011-12-17 10:15 Erwin Rol
  2011-12-17 17:07 ` Robert Schwebel
  2012-01-04 11:03 ` Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Erwin Rol @ 2011-12-17 10:15 UTC (permalink / raw)
  To: ptxdist

Hey all,

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.


- Erwin

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] old tar
  2011-12-17 10:15 [ptxdist] old tar Erwin Rol
@ 2011-12-17 17:07 ` Robert Schwebel
  2012-01-04 11:03 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Schwebel @ 2011-12-17 17:07 UTC (permalink / raw)
  To: ptxdist

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.

Tar has xz support since early 2009. However, we could add a
compatiblity option. Care to send a patch?

rsc
-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] old tar
  2011-12-17 10:15 [ptxdist] old tar Erwin Rol
  2011-12-17 17:07 ` Robert Schwebel
@ 2012-01-04 11:03 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2012-01-04 11:03 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-04 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-17 10:15 [ptxdist] old tar Erwin Rol
2011-12-17 17:07 ` Robert Schwebel
2012-01-04 11:03 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox