From mboxrd@z Thu Jan 1 00:00:00 1970 From: Natanael Copa Date: Wed, 01 Feb 2012 20:11:36 +0000 Subject: [PATCH] make: support for tar without -J option Message-Id: <1328127096-13293-1-git-send-email-ncopa@alpinelinux.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 --- 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