Discussion:
[PATCH] make: support for tar without -J option
Natanael Copa
2012-02-01 20:11:36 UTC
Permalink
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 <***@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

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Kay Sievers
2012-02-12 21:36:47 UTC
Permalink
Not all tar implementation has support for -J yet. For example
busybox tar.
This should now only be needed to run the tests, not to build udev.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Natanael Copa
2012-02-13 16:53:50 UTC
Permalink
On Sun, 12 Feb 2012 22:36:47 +0100
Post by Kay Sievers
Not all tar implementation has support for -J yet. For example
busybox tar.
This should now only be needed to run the tests, not to build udev.
perfect.

Thanks!

-nc
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...