From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] old tar
Date: Wed, 4 Jan 2012 12:03:53 +0100 [thread overview]
Message-ID: <20120104110353.GI21393@pengutronix.de> (raw)
In-Reply-To: <4EEC6BC9.6020707@erwinrol.com>
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
prev parent reply other threads:[~2012-01-04 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-17 10:15 Erwin Rol
2011-12-17 17:07 ` Robert Schwebel
2012-01-04 11:03 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120104110353.GI21393@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox