Linux Hotplug development
 help / color / mirror / Atom feed
* [PATCH] make: support for tar without -J option
@ 2012-02-01 20:11 Natanael Copa
  2012-02-12 21:36 ` Kay Sievers
  2012-02-13 16:53 ` Natanael Copa
  0 siblings, 2 replies; 3+ messages in thread
From: Natanael Copa @ 2012-02-01 20:11 UTC (permalink / raw)
  To: linux-hotplug

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


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

end of thread, other threads:[~2012-02-13 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01 20:11 [PATCH] make: support for tar without -J option Natanael Copa
2012-02-12 21:36 ` Kay Sievers
2012-02-13 16:53 ` Natanael Copa

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