From 262c81e3ca2583be2d44b7195747f1a42a10a9f3 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Fri, 5 Aug 2016 11:25:20 +0000 Subject: quilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29 Starting from tar 1.29 the --exclude option won't work anymore if is not used before the path. There are some recipes that copy the ptest using tar and --exclude option. This fixes these for OE-Core recipes. [YOCTO #9763] (From OE-Core rev: 2ba55933c81f78f4e4c36e21c59e935f74ce0f52) Signed-off-by: Mariano Lopez Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-extended/sed/sed-4.2.2/sed-add-ptest.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-extended/sed') diff --git a/meta/recipes-extended/sed/sed-4.2.2/sed-add-ptest.patch b/meta/recipes-extended/sed/sed-4.2.2/sed-add-ptest.patch index 105e8b745b..0293900fbf 100644 --- a/meta/recipes-extended/sed/sed-4.2.2/sed-add-ptest.patch +++ b/meta/recipes-extended/sed/sed-4.2.2/sed-add-ptest.patch @@ -54,7 +54,7 @@ index d80e72c..b05f01e 100644 # dummy targets for $(TESTS) so that make does not complain. +install-ptest: -+ cd $(BUILDDIR); tar -cf - $(TESTDIR) --exclude *.o | ( cd $(DESTDIR) && tar -xf - ) ++ cd $(BUILDDIR); tar -c --exclude=*.o $(TESTDIR) | ( cd $(DESTDIR) && tar -xf - ) + for i in $(EXTRA_DIST) tst-regex2.c; do install $(srcdir)/$$i $(DESTDIR)/$(TESTDIR); done + sed -e 's/^Makefile:/_Makefile:/' -e 's/^srcdir = \(.*\)/srcdir = ./' -e 's/bash/sh/' -i $(DESTDIR)/$(TESTDIR)/Makefile + for i in `grep -rl "../sed/sed" $(DESTDIR)/$(TESTDIR)`; do sed -e 's/..\/sed\/sed/sed/' -i $$i; done -- cgit v1.2.3-54-g00ecf