summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt/quilt.inc
Commit message (Collapse)AuthorAgeFilesLines
* quilt: Fix paths for patch and perlJussi Kukkonen2017-04-051-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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]. (From OE-Core rev: 4b667d268fe410a21cacaecd1b5e3bfbbe7d53d8) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: Avoid hardcoding paths into outputRichard Purdie2017-03-101-0/+2
| | | | | | | | | | | Avoids: quilt-0.65-r0 do_package_qa: QA Issue: /usr/lib/quilt/ptest/quilt/scripts/edmail contained in package quilt-ptest requires /media/build1/poky/build/tmp/hosttools/perl, but no providers found in RDEPENDS_quilt-ptest? [file-rdeps] (From OE-Core rev: e0188f6ccebaaf7c9948c771d3da5b07eed09a94) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: Don't add hardcoded links to utilitiesRichard Purdie2017-03-101-0/+5
| | | | | | | | | | This triggers warnings about absolute symlink paths with the PATH changes. In reality we simply don't need/care about these so just remove/disable them. (From OE-Core rev: b319e43b9fee62f30c11d266a23cea4ff30addcd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: 0.64 -> 0.65Robert Yang2017-01-051-4/+3
| | | | | | | | | | | * Removed install.patch since it is already in the patch. * Fix indent for file://test.sh (From OE-Core rev: bd8b1d79b50819486e5882db05abb6b358b7392a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29Mariano Lopez2016-08-101-4/+4
| | | | | | | | | | | | | | | 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 <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: run ptest as normal userDengke Du2016-03-281-1/+3
| | | | | | | | | | | | | | | | | | | When the user is root, run quilt ptest, the faildiff.test failed. Because in the faildiff.test, we drop the read permission of the file test.txt, we can't "quilt refresh" as normal user, so we got the following: >~ .*diff:test\.txt: Permission denied > Diff failed on file 'test.txt', aborting But when the user is root, we can access the file, so we got the following: > Nothing in patch patchs/test.diff So the faildiff.test was failed. We should create a normal user to run the ptest in the run-ptest scripts to slove the problem. (From OE-Core rev: f7d52d12f943b9e1f79b32758308607036d6a760) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: fix the deps for ptestMaxin B. John2015-08-161-2/+3
| | | | | | | | | | | | quilt ptest requires getopt and perl-module-overloading. [YOCTO #8062] (From OE-Core rev: 9dce5c79354359c0c7c513b6650891a6efce0e66) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: 0.63 -> 0.64Robert Yang2015-02-211-0/+61
| | | | | | | | | | quilt-0.63.inc -> quilt.inc: we don't have multiple quilt-xxx.inc, so use quilt.inc rather than quilt-0.63.inc. (From OE-Core rev: 941be822ee7772b70fe78e6b61278bb8567bc905) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt upgreade from 0.48 to 0.50Nitin A Kamble2012-01-031-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | gnu_patch_test_fix.patch : this patch removed as it is already upstream now. Renamed quilt.inc to quilt-0.50.inc and moved the dupicate information from native & target recipe files into the quilt-0.50.inc file. Clean up the unpackaged files warning These warnings are avoided: WARNING: For recipe quilt, the following files/directories were installed but not shipped in any package: WARNING: /usr/bin/quiltrc WARNING: /usr/share/emacs WARNING: /usr/share/emacs/site-lisp WARNING: /usr/share/emacs/site-lisp/quilt.el The /usr/bin/quiltrc is purposely not packaged, as it is needed for native recipe only. (From OE-Core rev: ffb10e51dae3e360822f26d1425c3327213a7e81) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: Add RDEPENDS on bashSaul Wold2011-07-081-0/+2
| | | | | | | | | [YOCTO #1214] (From OE-Core rev: 73787e1a1feb8b8e8e3401ff772452ac6f9bbf4b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "quilt: fix patch version detection"Richard Purdie2011-02-011-2/+1
| | | | | | | | This reverts commit bc31351f6989372c7feb403f23532afd1f510fb1. This change is already applied against configure, not configure.ac. This change forces a reautoconf of quilt-native before we've built autoconf and if "git-desc" isn't present it can result in further problems. The simplest solution is to revert this change.
* quilt: fix patch version detectionQing He2011-02-011-1/+2
| | | | | | Fixes [BUGID #690] Signed-off-by: Qing He <qing.he@intel.com>
* Correct LIC_FILES_CHKSUM typosDarren Hart2010-12-101-1/+1
| | | | | | | An investigation into undocumented variables uncovered a handful of LIC_FILES_CHKSUM spelling errors Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* quilt: Fixed configure test for patch --version.Beth Flanagan2010-11-101-1/+2
| | | | | | | OpenSuSE 11.3 uses GNU patch 2.6.1.81-5b68 which breaks quilt's configure test for patch version. Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+27
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>