summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt
AgeCommit message (Collapse)Author
2022-03-02quilt: Disable external sendmail for deterministic buildRobert Yang
Otherwise, the build results would be different w/o host's /usr/sbin/sendmail: 1) The /usr/share/quilt/compat/sendmail will be genrated if no /usr/sbin/sendmail on host 2) No /usr/share/quilt/compat/sendmail if host's has /usr/sbin/sendmail Use --without-sendmail to make it always generate /usr/share/quilt/compat/sendmail. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25quilt: upgrade 0.66 -> 0.67wangmy
Changelog: ========= - Call pager with original LANG environment variable - Consistently complain early if no series file is found - Fix handling of symbolic links by several commands - Tighten the patch format parsing - Reuse the shell (performance) - Document the series file format further - Document that quilt loads /etc/quilt.quiltrc - configure: Make stat configurable - series: Minor optimizations - setup: Don't obey the settings of any englobing .pc - setup: Default to fast mode - quilt.el: Fix documentation of quilt-pc-directory - quilt.el: Load /etc/quilt.quiltrc if ~/.quiltrc doesn't exist - quilt.el: Fix quilt-editable when QUILT_PATCHES_PREFIX is set Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16quilt: Be determnistic about column presenceRichard Purdie
I've seen local differences in the quilt output depending on whether the column binary was available in the sysroot. Fix determinism issues by being specific about configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-10meta: simplify over descriptive descriptions in devtoolsMaxime Roussin-Bélanger
fix commandline -> command-line typo. according to: https://en.wikipedia.org/wiki/Command-line_interface https://wiki.debian.org/Apt Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-07meta: add missing some description in devtoolsMaxime Roussin-Bélanger
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-22quilt: added less to RDEPENDS listTrevor Gamblin
The quilt "series" option relies on "less -R" but, since that option is not enabled by busybox in oe-core by default, hard-code the dependency on 'less'. >From 'man less': -r or --raw-control-chars Causes "raw" control characters to be displayed. ... -R or --RAW-CONTROL-CHARS Like -r, but only ANSI "color" escape sequences are output in "raw" form. ... In 2018, BusyBox's less added: 8528d3d4f less: optional support of -R but it is not enable by default for oe-core. While we could enable the option, all known use-cases involve larger, more developer-oriented recipes such as quilt or man pages. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-22quilt: Export QUILT_PC variable in ptest MakefileTrevor Gamblin
The quilt ptest uses a custom Makefile to implement the "make check" rule, but the ptest Makefile does not export the variable QUILT_PC, which is user-settable and normally defaults to ".pc". This causes failures e.g. import.test with "rm -rf patches/ %{QUILT_PC}/", evaluating to "rm -rf patches/ /" if the variable is not set by the Makefile. These ptests broke in: 73d6034f6b quilt: update to 0.66 when the upstream quilt developers enabled users to specify their own QUILT_PC string. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02quilt: update to 0.66Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27quilt: run-ptest remove Interactive InputChangqing Li
adduser in busybox and adduser under meta-openembeded have different behavior, adduser under meta-openembeded need Interactive Input like below if you manually run ptest. Enter the new value, or press ENTER for the default Full Name []: Room Number []: ... remove the "Interactive Input" by add --gecos "" to align the behavior also it is better for automation without interactive input Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01quilt: Add patch depends for quilt-ptestRichard Purdie
This fixes the ptest to work in minimal images. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-17quilt: Merge recipe files into a more coherent formRichard Purdie
The style of this recipe is dated, move most of the code into the main shared include file, making some of the configuration much clearer using modern overrides to do so. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-17quilt-native: Remove RDEPENDS on util-linux-nativeRichard Purdie
This code is actually inactive and inaccurate. If we fix other code to enable native RDEPENDS handling, this then breaks. quilt-native is early in the dependency tree and can't depend on util-linux-native which may need to applu patches. The pieces of util-linux which quilt needs are long established as part of HOSTTOOLS. The other RDEPENDS are already part of ASSUME_PROVIDED. util-linux-native doesn't belong there since it has multiple components and is used as a valid dependency elsewhere in the codebase. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06quilt.inc: minor recipe formatting tweaksAndre McCurdy
Minor comment update and re-order variables to align more closely to the OE style-guide. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-06quilt.inc: avoid using += with an over-ride (drop unmaintained darwin support)Andre McCurdy
Using += with an over-ride can be a source of confusion so try to avoid the construct in core recipes. In this case, the _darwin over-ride seems to be unmaintained. It was added in early 2013 but has not been accounted for in subsequent updates to the recipe and (from inspection) now appears to be broken. Remove the _darwin over-ride rather than try to debug or fix it. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10quilt: don't patch in an old acinclude.m4, just excude aclocalRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-05quilt: Fix paths for patch and perlJussi Kukkonen
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 Purdie
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 Purdie
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 Yang
* 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 Lopez
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 Du
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. John
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 Yang
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 Yang
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 Yang
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 Lu
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 Bae
* 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 Purdie
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 Liu
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 Lu
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 Lu
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 Eggleton
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 Purdie
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 Ertsaas
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-15quilt: Remove non-gnu.patch, and added configure flags for darwin.Martin Ertsaas
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie
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 Wold
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 Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-26quilt: fix perl path in target perl scriptsNitin A Kamble
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 Wold
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 Wold
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 Oberritter
* 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 Kamble
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 Kamble
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 Wold
[YOCTO #1214] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-13recipes: Update upstream-status of patchesNitin A Kamble
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 He
fixes [YOCTO #969] Signed-off-by: Qing He <qing.he@intel.com>
2011-03-08quilt: add autotools inheritanceSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>