Linux Hotplug development
 help / color / mirror / Atom feed
From: Natanael Copa <ncopa@alpinelinux.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] make: support for tar without -J option
Date: Wed, 01 Feb 2012 20:11:36 +0000	[thread overview]
Message-ID: <1328127096-13293-1-git-send-email-ncopa@alpinelinux.org> (raw)

Not all tar implemntation has support for -J yet. For example
busybox tar.

This trivial fix makes the build work out of the box on those systems.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1de4b27..e88a243 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -315,7 +315,7 @@ src_test_udev_CPPFLAGS = $(udev_common_CPPFLAGS)
 
 # packed sysfs test tree
 test/sys/kernel/uevent_seqnum:
-	$(AM_V_GEN)mkdir -p test && tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
+	$(AM_V_GEN)mkdir -p test && unxz -c $(top_srcdir)/test/sys.tar.xz | tar -C test/ -x
 
 BUILT_SOURCES += test/sys/kernel/uevent_seqnum
 
-- 
1.7.9


             reply	other threads:[~2012-02-01 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 20:11 Natanael Copa [this message]
2012-02-12 21:36 ` [PATCH] make: support for tar without -J option Kay Sievers
2012-02-13 16:53 ` Natanael Copa

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=1328127096-13293-1-git-send-email-ncopa@alpinelinux.org \
    --to=ncopa@alpinelinux.org \
    --cc=linux-hotplug@vger.kernel.org \
    /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