summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rpm: don't put LDFLAGS into the .pc fileRoss Burton2015-03-102-0/+15
| | | | | | | | | | The LDFLAGS are not generally useful with pkg-config and mean that the .pc file contains references to the sysroot directory, so remove it. (From OE-Core rev: f50c4c4e26edeaf01393fe7a06c42f86fd4680a5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: Added a testcase to verify INCOMPATIBLE_LICENSE option.Lucian Musat2015-03-101-0/+11
| | | | | | | | | | Fixes bug 6933 (From OE-Core rev: 984884cbc177300a4fefd56cb027d50b2ff4510c) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oeqa/selftest/lic-checksum: Verify failure when checksum changes.Randy Witt2015-03-102-0/+33
| | | | | | | | | | | | | | The test added verifies that when a file with an absolute path in LIC_FILES_CHKSUM changes without a corresponding change to the md5sum, it triggers the license qa test again with a failure. [Yocto #6450] (From OE-Core rev: cab59ce08916c45c1d9da1cf9a92a67574f6c2c3) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Add LIC_FILES_CHKSUM files to checksum files.Randy Witt2015-03-101-0/+17
| | | | | | | | | | | | | | | | | | Previously, files with absolute paths in LIC_FILES_CHKSUM such as "file://${COMMON_LICENSE_DIR}/foo" would not result in a qa failure when the license file changed. To fix this problem, add any files with absolute paths from LIC_FILES_CHKSUM to the file-checksums varflag, so that changes in the license file are detected and cause the qa task for licenses to run. [Yocto #6450] (From OE-Core rev: 5df681259ae078c9d04d426fb5971eaa79d35ba5) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sed: Cope with ${bindir} and ${base_bindir} being the sameMike Crowe2015-03-102-4/+8
| | | | | | | | | | | ${bindir} and ${base_bindir} may be the same. If they are don't try and move files onto themselves. (From OE-Core rev: ab1452cacce6584bab27b73fc1e22d603606ecda) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: put libltdl.la in the right package.Li Zhou2015-03-101-0/+1
| | | | | | | | | | | | The libltdl libraries are put in libltdl-* packages, but libltdl.la is packaged in libtool-dev. This change puts libltdl.la in libltdl-dev package instead of libtool-dev. (From OE-Core rev: bcf1f0e18c656f75d8d1b8bbe1607bd8c722b529) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc_2.21.bb: Fix condition to skip parsing the recipe for non-glibc libcKhem Raj2015-03-101-1/+1
| | | | | | | | | | | | | The condition should be uclibc 'or' musl then we know its not glibc right now it checks with 'and' operator, that condition will never be true Change-Id: Ifc48e81fd0b3c18d8e1ef76a18c216dc6acda092 (From OE-Core rev: 6feef44751d98c55a2764d70c26d170f90b73f9d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Add -P option to CPPFLAGSKhem Raj2015-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1301822.html libgpg-error FTBFS when built with gcc-5. Here is the relevant excerpt: | Making all in src | make[4]: Entering directory '/tmp/buildd/libgpg-error/libgpg-error-1.17/src' | gawk -f ./mkstrtable.awk -v textidx=3 \ | ./err-sources.h.in >err-sources.h | gawk -f ./mkstrtable.awk -v textidx=3 \ | ./err-codes.h.in >err-codes.h | gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h | gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h | gcc -E -D_FORTIFY_SOURCE=2 _mkerrcodes.h | grep GPG_ERR_ | \ | gawk -f ./mkerrcodes.awk >mkerrcodes.h | rm _mkerrcodes.h | gcc -I. -I. -o mkerrcodes ./mkerrcodes.c | In file included from ./mkerrcodes.c:26:0: | ./mkerrcodes.h:9:5: error: expected expression before ',' token | { , "GPG_ERR_E2BIG" }, | ^ It makes invalid assumptions on undefined behaviour of gcc. To see why, let us look at the contents of the intermediate steps: _mkerrcodes.h (deleted): | ... | #ifdef E2BIG | E2BIG GPG_ERR_E2BIG | #endif | #ifdef WSAE2BIG | WSAE2BIG GPG_ERR_E2BIG | #endif | ... gcc -E -D_FORTIFY_SOURCE=2 _mkerrcodes.h | grep -v '^$': | ... | # 26 "_mkerrcodes.h" 2 | 7 | # 31 "_mkerrcodes.h" | GPG_ERR_E2BIG | # 37 "_mkerrcodes.h" 3 4 | 13 | # 37 "_mkerrcodes.h" | GPG_ERR_EACCES | ... As can be seen here, the cpp from gcc-5 can split lines and "grep GPG_ERR_" fails to account for that. Change-Id: I6f1476e4afc7163ebc3a05106ceaa3b83e3fab3e (From OE-Core rev: 3993378c9a8994688fda15a5cd05e04a435d2d54) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: rawcopy: support skippingAlexandre Belloni2015-03-101-2/+9
| | | | | | | | | | | Add support for skipping the beginning of a file with the rawcopy plugin. (From OE-Core rev: 89db37c85ac0d0035dbeb9643d7802ca28681e76) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: add fsimage pluginAlexandre Belloni2015-03-101-0/+70
| | | | | | | | | | | The fsimage plugin allows to add an already existing filesystem image in the partition layout. (From OE-Core rev: b49e5af8c6ef0abaabce36e5e7d8ddc399e02f53) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: fix fstab generationAlexandre Belloni2015-03-101-2/+3
| | | | | | | | | | | | Commit 0a6668f6e60b4195ff4163c00fc972bacdb27b4b still included some debug and is not working properly as the new fstab is generated too late. (From OE-Core rev: eea80d25c0902bb16ed3425888857d3cc5486376) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: avoid parsing error when 'networkd' is enabled in PACKAGECONFIGChen Qi2015-03-101-1/+1
| | | | | | | | | | | | | | | | | If 'networkd' is enabled in PACKAGECONFIG, the do_install variable cannot be correctly expanded. Error message is like below. Failure expanding variable do_install: ShellSyntaxError: LexToken(Fi,'fi',0,0) followed by: LexToken(NEWLINE,'\n',0,0) This patch fixes the above problem. (From OE-Core rev: 060375f0fea327d2962980045666edb6eaa5d5f0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-source: fix bug to avoid building error.Bian Naimeng2015-03-101-0/+1
| | | | | | | | | | | | | | | | gcc-source don't do do_package_write_rpm, so we should set PACKAGES = "" to avoid the building error if we want generate srpm, otherwise, we get the error as below. ERROR: Task do_deploy_archives in meta/recipes-devtools/gcc/gcc-source_4.9.bb \ depends upon non-existent task do_package_write_rpm in \ meta/recipes-devtools/gcc/gcc-source_4.9.bb (From OE-Core rev: 704fd8f1efbd7fa9368cfe4f956abf24cd58664e) Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/lib/oe/utils.py: properly implement both_contain()Cristian Iorga2015-03-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | oe.utils.both_contain() just does a find() on the value rather than splitting the value and then looking in the list of split items. The result is that if you add a feature to MACHINE_FEATURES that itself has a substring that matches one of the values looked for when building COMBINED_FEATURES, you end up with an incomprehensible error (here with "ext2i" in MACHINE_FEATURES): ERROR: Nothing RPROVIDES 'packagegroup-base-ext2' (but /home/balister/src/oe-core/oe-core/meta/recipes-core/ /packagegroups/packagegroup-base.bb RDEPENDS on or otherwise requires it) Fix [YOCTO #6888]. (From OE-Core rev: e7375f73bd8052d012e35d4ebaee09a55417581f) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* report-error: Update information on the submission processMichael Wood2015-03-101-2/+2
| | | | | | | | | | | The new send-error-report will prompt for review of items and the server is now specified by using the -s argument. (From OE-Core rev: c195d70f35ea522854dcdd53aeae60eec6b7ad7e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/send-error-report: Rework script to support new featuresMichael Wood2015-03-101-96/+178
| | | | | | | | | | | | | | | | | | | | | | - Add arguments to allow for non-prompted sending, json encoded response and link backs. - Add feature to check the server's max_log_size - Add feature to allow reviewing of the final data - Be a bit more helpful if the expected fields aren't filled in instead of exiting. - Remove the redundant urlencode - Add a user-agent so that the server can identify the encoding method. - Remove custom proxy handling - urllib should 'just work' [YOCTO #6736] [YOCTO #7245] [YOCTO #7105] (From OE-Core rev: 5e036f3fd9caaedcd2759214766b3228299e929b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: add x11 to required DISTRO_FEATURESMartin Jansa2015-03-1020-17/+63
| | | | | | | | | | | * it's not complete, but recipes depending on virtual/libx11 are easiest to spot, I've long list of PNBLACKLIST for all recipes which cannot be built in distro without x11 in DISTRO_FEATURES (From OE-Core rev: 78d269fa9a586e24ef058ba5315c696f15935f56) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker/server: Fix up 100% CPU usage at idleRichard Purdie2015-03-103-1/+7
| | | | | | | | | | | | | | | The recent inotify changes are causing a 100% cpu usage issue in the idle handlers. To avoid this, we update the idle functions to optionally report a float value which is the delay before the function needs to be called again. 1 second is fine for the inotify handler, in reality its more like 0.1s due to the default idle function sleep. This reverts performance regressions of 1.5 minutes on a kernel build and ~5-6 minutes on a image from scratch. (Bitbake rev: 0e0ba408c2dce14a0fabd3fdf61d8465a031495b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Became maintainer of python2 and python3Alejandro Hernandez2015-03-091-2/+2
| | | | | | | | (From meta-yocto rev: bbfee008946efe8e3be06dc41b6b454d4d59245c) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/runqemu: clarify help textBernhard Reutner-Fischer2015-03-091-1/+1
| | | | | | | (From OE-Core rev: 0542472969d0eb28fd44da97e4e01d69d864d157) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: add patch for BMP denial-of-service vulnerabilityJonathan Liu2015-03-092-0/+45
| | | | | | | | | | For further details, see: https://bugreports.qt.io/browse/QTBUG-44547 (From OE-Core rev: 840fccf8ec7691f03deeb167487cde941ebea8bf) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man: fix bugs of makewhatis scriptJian Liu2015-03-093-1/+30
| | | | | | | | | | | - man-1.6e-whatis2.patch does not delete the tail "fi" fix it to avoid syntax error - Use the command "which" to get the path of awk (From OE-Core rev: 9383f635858e35e8fb83fba1750a8c6e4b4274b1) Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Revalidate checksums, YOCTO #5571Clemens Lang2015-03-091-10/+102
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #5571] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=5571 The following workflow (whether accidentally or deliberately) would previously not result in a checksum error, but would be helpful to do so: - Write a recipe with correct checksums - Fetch the sources for this recipe using bitbake - Change the checksums Since the bitbake fetcher writes a done stamp after the initial download and does not verify the checksums again (even if they are changed in the recipe afterwards), the change of checksums is silently ignored. Fix this without the overhead of computing the checksums from scratch on every do_fetch by storing them in pickled format in the done stamp and verifying that they still match those in the recipe. (Bitbake rev: fbd4a0d422cf7f43db2f9eab2e47c41246a9031e) Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: cached outcome download buttonDave Lerner2015-03-091-0/+8
| | | | | | | | | | | | | | | | | When a task is executed successfully without using saved-state cache, then a button appears allowing the user to download the log file for that task. This commit allows the user to download the log file for a task that is completed by unpacking data from the saved-state cache, a task with outcome 'Cached'. The same button 'Download task log' is shown, which when pressed downloads the '_setscene' log file for that task. [YOCTO #7379] (Bitbake rev: d4ac60c41f1ee9a8c59f9ede5b0948303f793afa) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: projectapp.js - clear up jslint warningsAlexandru DAMIAN2015-03-091-81/+100
| | | | | | | | | | This patch clears up jslint warnings for the project app, and improves file readability. (Bitbake rev: 10e58867a0231c8039f6d2523b885b9ca7c7dff6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: libtoaster Fix a few warnings picked up by jshintMichael Wood2015-03-092-39/+51
| | | | | | | | | | Fix warnings and items that do not conform to strict. Also add a fairly lenient jshintrc. usage: jshint js_file (Bitbake rev: 93a1e05a5d6bd19e689126bfef0df8caa0d8bf34) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaterui: shorten the unavailable artifact messageBelen Barros Pena2015-03-091-6/+4
| | | | | | | | | | Make it slightly shorter, and separate the 'back' action so that is more visible and easier to hit. (Bitbake rev: 70c8d8f471653e6832d1bbc469914b7e59372c1b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: give some space to the download log buttonBelen Barros Pena2015-03-092-2/+3
| | | | | | | | | | In the build dashboard, the download build log button was a bit too close to the build time. (Bitbake rev: da7c450f28cdf1c851b14f7a1fac08e6cf1dd894) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: apply correct class to latest builds targetsBelen Barros Pena2015-03-091-1/+5
| | | | | | | | | | Failed builds were showing the target name with the .success class applied (cognitive disonance, anyone?). (Bitbake rev: c78a19ecd2b397ccce59c1f6b852953b04afd37a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: fix the h1 in the project builds pageBelen Barros Pena2015-03-091-14/+12
| | | | | | | | | | It was not displaying the number of search results. (Bitbake rev: df8bdd357b126a0436c15cf66a13d398df273867) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: don't open layer details in a new tabBelen Barros Pena2015-03-091-1/+1
| | | | | | | | | | In the project page, the project layer links were opening in a new tab. They should not do that. (Bitbake rev: 45d3c27e68149bce089551539f6bbdaef98b7896) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Enforce unique layer namesMichael Wood2015-03-093-62/+82
| | | | | | | | | | | | | We had some clever functionality to manage duplicate layer names by using layer versions and new revisions, unfortunately this was too opaque to the user. [YOCTO #7337] (Bitbake rev: 4590cfcb2d5e26518e04f8abc8e7c2dad973f6d2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: commit id format on layers pageDave Lerner2015-03-092-6/+21
| | | | | | | | | | | | | | | On the layers page, when a layer revision is a commit id instead of a an upstream branch name, then follow the same format for displaying the commit id as on the recipes page. That format is a button with the truncated commit SHAID which when pressed expands to the full SHAID. [YOCTO #7191] (Bitbake rev: 507d2a36e53ba2c1f49616d52e4700f6c1bca8fd) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: bring back base URLs for pages that need themAlexandru DAMIAN2015-03-095-4/+8
| | | | | | | | | | | | | | | Some URLs, although invalid on their own, are used in JS to build valid page pointers. Previous patch removed two of these URLs, breaking the display of several patches. This patch re-adds these URLs with different names, and returns 400 Bad Request empty pages on them, which is consistent with the intended usage of these URLs. (Bitbake rev: 73afee5ddb2e89dcec65854639b19b8860232d89) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: reconcile non-manage-mode landing classesDavid Reyna2015-03-092-10/+5
| | | | | | | | | | | | Remove obsolete manage-mode URLs, fix not-manage mode landing classes that have obsolete non-matching parameter lists, remove orphaned landing classes.. [YOCTO #6483] (Bitbake rev: 76c54a79c4e26cefa5e72ca1cb14bc9d46e8f9dd) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: hide special code for core vars not present, disable add ↵David Reyna2015-03-092-15/+92
| | | | | | | | | | | | | | | | | | button Hide the special config variable management sections when the respective variables are not present. Disable the variable add button after a variable is added so that blank values cannot be added, and also when a variable name managed in the project detail page (e.g. BBLAYERS and MACHINE) is entered. [YOCTO #7246] [YOCTO #7371] (Bitbake rev: 1f9aaa7747351f7b0063f80c56cf7fa2c9cc3cf9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: layer rev tooltip only if necessaryDave Lerner2015-03-091-1/+5
| | | | | | | | | | | | | | On the heading for the layer detail page, only show a tool tip on the heading revision branch/shaid field if the string is too large to fit in the 13 character field. That is, don't show a hovering tool tip with exactly the same string that is shown without the tip. [YOCTO #7312] (Bitbake rev: 8a3095a33551a96176fdff83ea33cda5b30311dd) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add sort, search, paging to recipe package pageDave Lerner2015-03-097-48/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When selecting the packages tab on a recipe detail page, the page now includes: column sort on package name and size columns, search on the package name, and pagination. Column sort is added by splitting the recipe view/html for a recipe's package list into a new url path, view name and template, so that the sorting routine, views.reload_params(), interfaces similar to other views. Search, sorting, and pagination are implemented for this detail page using three new templates. templates/detail_pagination_bottom.html templates/detail_search_header.html templates/detail_sorted_header.html views.recipe() is optimized since the recipe's package list is no longer needed by the recipe template, only the recipe's package count is required for the first page. The recipe view and template also changes to support tabbing to the right context on the recipe detail page from the recipe-package page. [YOCTO #6154] (Bitbake rev: 6cb9e853d05c2c71467af22ef459ffbe6f41de36) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: models.py do not use transactionsAlexandru DAMIAN2015-03-091-11/+23
| | | | | | | | | | | | | | This is the counterpart patch of do not use transactions if the database autocommits fix on toasterui, applied to models.py [YOCTO #7402] (Bitbake rev: 48d0d510816346073f135bb86fb7904fdb50bb27) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: xmlrpc server: delete function on errorsAlexandru DAMIAN2015-03-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | This patch makes sure to delete an idle function that raises an exception for the xmlrpc server. The counterpart functionality in the process server was added with: commit db50630948394bdcd361f3511af40c1896b1a017. duthor: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Wed Aug 20 22:31:06 2014 +0000 bitbake: process: Deal with infinite looping of the server This patch fixes [YOCTO #7316] (Bitbake rev: e7c9a6788d969c901fd6394416ac3936e62c4c72) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: make sure state is properly used to accept clientsAlexandru DAMIAN2015-03-091-3/+3
| | | | | | | | | | | | | | This patch fixes a bug where if the build is force stopped, subsequent clients cannot connect to the server due to unnecessary limits on setFeature. Additionally, we make sure that the state is properly reset even if the BuildCompleted event firing excepts for some reason. (Bitbake rev: 0b66b05169688aa4ddc4c54d175bb961b2f27fec) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: xmlrpcserver: do not connect client on errorAlexandru DAMIAN2015-03-091-0/+2
| | | | | | | | | | | We roll back the client connection if some error happens, like during setFeatures, as to leave the server accessible to other clients. (Bitbake rev: 4e4a2ee2f05f8741b2e09263e328420363975b02) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: delete test dataAlexandru DAMIAN2015-03-092-140836/+4
| | | | | | | | | | | | | | | Toaster used a test fixture to verify page rendering on known data. This fixture is outdated due to changes in the data structure, and we remove it to avoid confusions about its usage. The tests using this data are now disabled. (Bitbake rev: 8fda1b66e695ccdf98ae1c34a0bd655be2878188) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: read file watches on server idleAlexandru DAMIAN2015-03-091-7/+23
| | | | | | | | | | | | | | | | | | The inotify facility monitoring changes to the config files could be overwhelmed by massive changes to the watched files while server is running. This patch adds verification the notification watches to the server idle functions, in addition to the cooker updateCache command which executes only infrequently, thus preventing overflowing the notification buffer. [YOCTO #7316] (Bitbake rev: 996e663fd5c254292f44eca46f5fdc95af897f98) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual, ref-manual: Replaced &dash;&dash; with "--"Scott Rifenbark2015-03-064-92/+92
| | | | | | | | | | | | | | | Fixes [YOCTO #7386] Apparently, copying HTML displayed commands that have a double dash created through "&dash;&dash;" in the docbook source causes some issues in the shell. I have scrubbed the manual set to replace any "&dash;&dash;" strings with "--". Reported-by: Paul Eggleton <paul.eggleton@intel.com> (From yocto-docs rev: e88b813b71d7d6d8acd8a8638f2db71265145b64) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Added a cross-link to the wiki page for YP releases.Scott Rifenbark2015-03-061-0/+4
| | | | | | | (From yocto-docs rev: b0c30f90bc7469f3fb0686ab9ccc8b9f130af613) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Update name of build directoryRobert P. J. Day2015-03-061-1/+1
| | | | | | | | | | Tweak the manual to refer to the name of the kernel build directory as it is listed precisely in linux-yocto.inc. (From yocto-docs rev: f8c762e42a67bd84b733a5ae2512581af805a76b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsp-guide, kernel-dev, ref-manual: KERNEL_FEATURES should refer to .scc files.Robert P. J. Day2015-03-063-6/+6
| | | | | | | | | | | Tweak a number of doc lines so that the KERNEL_FEATURES variable refers directory to .scc files, and does not take advantage of potentially confusing shortcuts. (From yocto-docs rev: 6236fb098fc2d518f6f4f63e16b19a06a775d2d6) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Applied some user-input formatting for some variables.Scott Rifenbark2015-03-061-5/+5
| | | | | | | (From yocto-docs rev: 2aa26a4f32268997e730d48626ad074ef9fcd8bf) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Substituted "emenlow" example for "fri2"Scott Rifenbark2015-03-061-5/+5
| | | | | | | (From yocto-docs rev: 786f647bfb0aca98be64a5515c1cc3b645c85d3e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenPOWER on IntegriCloud