summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/quilt
AgeCommit message (Collapse)AuthorFiles
2017-04-05quilt: Fix paths for patch and perlJussi Kukkonen4
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>
2017-03-10quilt: Avoid hardcoding paths into outputRichard Purdie2
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-10quilt: Don't add hardcoded links to utilitiesRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-22quilt: 0.64 -> 0.65Robert Yang4
* Removed install.patch since it is already in the patch. * Fix indent for file://test.sh Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-10quilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29Mariano Lopez1
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] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-26quilt: run ptest as normal userDengke Du3
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. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-16quilt: fix the deps for ptestMaxin B. John1
quilt ptest requires getopt and perl-module-overloading. [YOCTO #8062] Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-21quilt: 0.63 -> 0.64Robert Yang3
quilt-0.63.inc -> quilt.inc: we don't have multiple quilt-xxx.inc, so use quilt.inc rather than quilt-0.63.inc. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16quilt: set CLEANBROKENRobert Yang1
Fix when rebuild: | DEBUG: Executing shell function autotools_preconfigure | Please run ./configure | make: *** [Makefile] Error 1 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-08-28run-ptest: fix bashismRobert Yang2
These script use /bin/sh as the interpreter, but contains bashism: recipes-devtools/insserv/files/run-ptest recipes-devtools/quilt/quilt/run-ptest recipes-devtools/tcltk/tcl/run-ptest recipes-extended/gawk/gawk-4.1.1/run-ptest recipes-support/beecrypt/beecrypt/run-ptest Fixed: "==" -> "=" (should be -eq when integer) "&>log" -> ">log 2>&1" And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-21quilt: Update to 0.63 versionChong Lu3
Upgrade quilt to 0.63 version and add perl-module-text-parsewords to RDEPENDS of ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-11mirrors.bbclass: Add mirror site for savannahChanghyeok Bae1
* The SRC_URI is not accessible. So need to add mirror site referred by the original site. * The problem is that http://download.savannah.gnu.org/releases redirects to closest mirror and few mirrors (e.g. .jp) weren't working correctly while http://download-mirror.savannah.gnu.org/releases/ seems to be reliable. * Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf. * Change the SRC_URI using the new variable. Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie1
This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for nativeMing Liu2
A issue was fixed in target recipe with commit: 95893404 [ quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold <sgw@linux.intel.com> ] But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-06quilt: enable ptest supportChong Lu3
Install quilt test suite and run it as ptest. Exclude delete.test and mail.test. delete.test need execute with normal user and mail.test need depend on mail agent, else these test cases will fail. So exclude them order to make ptest all pass. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02quilt: upgrade to 0.61Chong Lu3
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton1
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-10-30recipes: Remove PR = r0 from all recipesRichard Purdie1
Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-15quilt: Don't use BUILD_ROOT on darwin.Martin Ertsaas1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-15quilt: Remove non-gnu.patch, and added configure flags for darwin.Martin Ertsaas3
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie1
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARSSaul Wold1
On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03quilt: upgrade from 0.51 to 0.60Nitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-26quilt: fix perl path in target perl scriptsNitin A Kamble1
While building on distros like fedora17, which has /bin/perl, the target perl scripts get perl path also as /bin/perl. And that is not correction path of perl on the target. This commit avoids this error. | error: Failed dependencies: | /bin/perl is needed by quilt-0.51-r2.i586 NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-24quilt: move empty quiltrc to native sysconfdirSaul Wold4
patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty version to ensure that no user setting were picked up, change this to /etc/quiltrc in the Native sysroot since we now have a native sysconfdir. Make sure that the quiltrc is actually installed in the Native sysconfdir, not the target, so fix this after the recipe split. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-14quilt: Fix docs packaging warningsSaul Wold2
WARNING: For recipe quilt, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/doc WARNING: /usr/share/doc/quilt WARNING: /usr/share/doc/quilt/README WARNING: /usr/share/doc/quilt/quilt.pdf WARNING: /usr/share/doc/quilt/README.MAIL Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-08bzip2: split into binary and library packagesAndreas Oberritter1
* Create libbz2 (and -dev, -staticdev), which can be installed without the bzip2 executables. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-03quilt: upgrade from 0.50 to 0.51Nitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03quilt upgreade from 0.48 to 0.50Nitin A Kamble6
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. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-07-08quilt: Add RDEPENDS on bashSaul Wold2
[YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-13recipes: Update upstream-status of patchesNitin A Kamble4
python: update upstream-status for patches binutils: update upstream-status for patches gcc 4.5.1 4.6.0: update upstream-status for patches autoconf: update upstream-status for patches automake: update upstream-status for patches bison: update upstream-status for patches distcc: update upstream-status of patches fstests: update upstream-status for patches gdb: update upstream-status of patches intltool: update upstream-status of patches libtool: update upstream status of patches linux-libc-headers: update upstream-status for patches make: update upstream-status for patches perl: update upstream-status for patches python-pycurl: update upstream-status for patches python-pygobject: update upstream status for patches python-pyrex: update upstream-status for patches quilt: update upstream-status of patches tcl: update upstream-status for patches gnu-config: update upstream-status for patches gmp: update upstream-status for patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-04-26quilt: fix test for target buildQing He2
fixes [YOCTO #969] Signed-off-by: Qing He <qing.he@intel.com>
2011-03-08quilt: add autotools inheritanceSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-01Revert "quilt: fix patch version detection"Richard Purdie4
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.
2011-02-01quilt: fix patch version detectionQing He4
Fixes [BUGID #690] Signed-off-by: Qing He <qing.he@intel.com>
2010-12-10Correct LIC_FILES_CHKSUM typosDarren Hart1
An investigation into undocumented variables uncovered a handful of LIC_FILES_CHKSUM spelling errors Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-02quilt:Add license checksum and update the GPL informationMei Lei1
Add COPYING file checksum to bb file and add "GPLv2" information according to the COPYING file Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-11-10quilt: Fixed configure test for patch --version.Beth Flanagan2
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>
2010-08-27Major layout change to the packages directoryRichard Purdie7
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>