]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
quilt: Fix paths for patch and perl
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 30 Mar 2017 16:49:28 +0000 (19:49 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 11:36:45 +0000 (12:36 +0100)
commit4b667d268fe410a21cacaecd1b5e3bfbbe7d53d8
tree48e52a366206b7bcd5359037a501b073fd327112
parentf0425c0a0f1c98f65bf61fd9aa7e023ed41a35fa
quilt: Fix paths for patch and perl

Currently some shebang lines end up as
    #! /usr/bin/env perl -w
env does not like the argument. Also the current sed to insert env
does not cover the copies ptests use. Fix these issues by:
 - using --with-perl to insert "env"
 - Replacing "-w" in shebang lines with a new "use warning;" line

Remove a EXTRA_OECONF_append_class_target from the native recipe.
Don't overwrite EXTRA_OECONF in native: the values should be correct
for native as well.

--with-patch is used within the gnu patch wrapper only: before this
commit the wrapper contained a (build host) path to native patch.

Also tweak one test so busybox mv output is accepted.

All ptests should now pass: Fixes [YOCTO #11221].

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/quilt/quilt-native.inc
meta/recipes-devtools/quilt/quilt.inc
meta/recipes-devtools/quilt/quilt/0001-tests-Allow-different-output-from-mv.patch [new file with mode: 0644]
meta/recipes-devtools/quilt/quilt_0.65.bb