summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* xorg: Fix for CVE-2013-6424Kai Kang2014-04-012-0/+32
| | | | | | | | | | | | | | Integer underflow in the xTrapezoidValid macro in render/picture.h in X.Org allows context-dependent attackers to cause a denial of service (crash) via a negative bottom value. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-6424 (From OE-Core rev: 059dc5f4ef9bcf49cb6520f5f2ab1e739f4d42de) Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: add function to disable SSH DNS Lookup for QemuSaul Wold2014-04-011-0/+10
| | | | | | | | | | | | | | | | | | This function disables the reverse DNS lookup on QEMU targets to reduce the delay when using static IP address. By disabling DNS lookup we can save a great deal of time during automated testing on the autobuilder (on the order of ~400 seconds per ssh tranaction). This is seen when using the testimage, there is a delay getting logged-in from the server to target. It's enabled for all qemu imgaes by default and can be overridden by setting the SSH_DISABLE_DNS_LOOKUP variable. [YOCTO #5954] (From OE-Core rev: c93eeecb15c4acac9226a3394c93d7e99a809d6b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: changed multilib options handlingAlexandru-Cezar Sardan2014-04-011-4/+20
| | | | | | | | | | | | | Duplicate parameters in the tune args are repeated in the MULTILIB_OPTIONS variable. This leads to incorrect configurations if the order of the parameters is bad. (Eg. "mhard-float m32/mhard-float m64" leads to an incorrect config) This patch finds the common parameters and removes the duplicates. (From OE-Core rev: 90dc31c24adfa8e916a9c475ae1afc58ad179dfb) Signed-off-by: Alexandru-Cezar Sardan <alexandru.sardan@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: cooker: mark setFeatures command as read-onlyAlexandru DAMIAN2014-04-013-1/+8
| | | | | | | | | | | | | | | | This patch makes sure that the setFeatures command is marked as read-only and that it can only run if the cooker is in the initial state. Additionally, remove logging from the XMLRPC module in favor of sending the exception to the client for easy processing. [YOCTO #6089] (Bitbake rev: f0a1a3e24757f7658d272035620465f92a3e4c3c) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updates to get rid of PRINC variable.Scott Rifenbark2014-04-015-14/+169
| | | | | | | | | | | | | I did not eliminate this variable but rather changed the description to indicate that it has been deprecated and that the user should now use a PR Service to do this stuff. There were several areas in the YP manual set that used the variable in code. I just deleted those lines from the code. (From yocto-docs rev: 88a075e6306349e5f8c0d53b5288ef1e64956cd3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updates to the IMAGE_TYPES variable description.Scott Rifenbark2014-04-011-1/+1
| | | | | | | | | | | The "sum.jffs2" option was renamed to "jffs2.sum" to better reflect its purpose. I updated the list of options for the IMAGE_TYPES variable to reflect the change. (From yocto-docs rev: 4226ff4aa96eed1d51753d5dee72c6264ee2d7f7) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated to PACKAGE_GROUP and addition of FEATURE_PACKAGES.Scott Rifenbark2014-04-011-22/+41
| | | | | | | | | | | | | The PACKAGE_GROUP variable was renamed to FEATURE_PACKAGES. I added that fact to the description and pointed the reader off to the new FEATURE_PACKAGES variable. Added a new variable description for FEATURE_PACKAGES. (From yocto-docs rev: f7a0a17c211cfc8f885771a5221bf3b59bc6bf95) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the build/tmp/work-shared directory.Scott Rifenbark2014-04-011-0/+14
| | | | | | | | | | | Added a brief explanation of this temporary directory to the chapter that presents the structure of the Source Directory. The explanation is based on Paul Eggleton's input. (From yocto-docs rev: 688c36aec57bb283d03ffb7e1d9448563cb1496c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the build/tmp/sstate-control directoryScott Rifenbark2014-04-011-0/+16
| | | | | | | | | | | I added this directory to the chapter that presents the Source Directory structure. The explanation is based on Paul Eggleton's input. (From yocto-docs rev: 425df89935f2cd07ecbc3050d273100d57e3ab3d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the meta/conf/machine-sdk directoryScott Rifenbark2014-04-011-0/+15
| | | | | | | | | | | This directory was missing from the chapter that presents the Source Directory structure. I have added a brief explanation of it based on Paul Eggleton's information. (From yocto-docs rev: 5c3d392c64f386a3a29922629387c199db2b7ad1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual, ref-manual: Removed meta-hob layer from docs.Scott Rifenbark2014-04-012-13/+1
| | | | | | | | | | Hob no longer uses this layer so I removed the two instances in the YP set where it appeared. (From yocto-docs rev: 37e3f261bd61a96a2929a525f9896c39658d26f8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added top-level meta-selftest directoryScott Rifenbark2014-04-011-0/+16
| | | | | | | | | | Placed a short description of this top-level directory in the chapter. (From yocto-docs rev: 49f8cf264d10e37933502067c522f1c2e3ffe751) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: secondary sort key as table's default orderDavid Reyna2014-04-011-11/+16
| | | | | | | | | | | | Provide for a secondary sort key based on the table's default ordering when doing sort on alternate columns. [YOCTO #5920] (Bitbake rev: 1a0defce1499fdc320bcb27b41e06bea2ca2aef2) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: unbuilt package dependency formatsDave Lerner2014-04-011-42/+33
| | | | | | | | | | | | | | | [YOCTO 6057] For a package shown on the package build dependency page, the dependent packages may be unbuilt packages, as indicated with the dependent package's size set to -1. This fix changes the build template to use the same formatting functions for unbuilt dependent packages as the include package templates use for unbuilt dependent packages. (Bitbake rev: b095ab30a827a50f66a06ac9170d33fae2670736) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Update help text in format_vpackage_namehelp tagBelen Barros Pena2014-04-011-1/+1
| | | | | | | | | The text now says that the package has not been built. (Bitbake rev: 4b64f4452aa2da4dcc0491cefa6f1a07f7dd173f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Match search results form to no results formBelen Barros Pena2014-04-011-1/+1
| | | | | | | | | | | | In the search results form, add the btn class to the clear search button and set its tabindex to -1 so that you don't accidentally clear the search when you want to search again. (Bitbake rev: 1cd01dbf3cd59bac6b62fe91ba2bafa0c62fd7f1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Increase animation durationBelen Barros Pena2014-04-011-1/+1
| | | | | | | | | | Increase the duration of the blue highlight animation from 7 to 10 seconds. (Bitbake rev: 0d48cec969a68f9b70e04be6d86b078df8f1ec5b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix the fade out animationBelen Barros Pena2014-04-011-2/+1
| | | | | | | | | | | Apply the animation to any element with the class .highlight (Bitbake rev: b228739888cf8bac99da4aada3c040aac40f784d) 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: toaster: Small tweaks to the packages included interfaceBelen Barros Pena2014-04-012-5/+5
| | | | | | | | | | | | | | | * Capitalise correctly the label "Reverse runtime dependencies" * Change dependency popover labels to match the rest of the interface * Make sure that dependency links go to the initial tab of the installed package details pages (Bitbake rev: 80df010c12f7ba19649a7bbda9d788217cabc57a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove trailing spaces from 'name'Belen Barros Pena2014-04-011-3/+3
| | | | | | | | | | Remove all trailing spaces from 'name' because they show up in the filter headings, which I find incredibly annoying. (Bitbake rev: 263eae9d2d7acf62240320765c80f60f3553f620) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Show "No builds found" in the builds tableBelen Barros Pena2014-04-011-3/+3
| | | | | | | | | | | Making sure the h1 of build.html shows "No builds found" instead of "0 builds found" when a search returns no results. This matches the builds table to all other Toaster tables. (Bitbake rev: c8495c38b892d22a1f85286f34b0fdbc17febf78) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: disable configvar sorts for value and filesDavid Reyna2014-04-011-4/+0
| | | | | | | | | | | | | | Disable the sort on files because it sorts on the file array's first (and invisible) element. Disable the sort on values because the raw ASCII sort looks wrong to the general user, especially for values with leading spaces. [YOCTO #6004] (Bitbake rev: 800cbddd612c977960aa4dd93b24c22aac4bfae0) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: use deploy_dir var to obtain the license.manifest pathCristiana Voicu2014-04-011-1/+1
| | | | | | | | [YOCTO #6051] (Bitbake rev: 6dd8133b06bbda5cce50de39123f429a6a3f772d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Display task descriptionRavi Chintakunta2014-04-013-2/+9
| | | | | | | | | | | Display task description as content of help bubble for a task. [YOCTO #5748] (Bitbake rev: 4ffc380d11cff4e1d32d2bf5fb6c7cda6f7e22e6) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix timezone detectionAlexandru DAMIAN2014-04-011-3/+17
| | | | | | | | | | | | | | | This patch replaces faulty timezone detection with a version that simply reads the TZ environment variable if it is set. If the TZ is not set, we do a reverse match search among known timezone definitions and take the first match. [YOCTO #5499] (Bitbake rev: 3a0a556a65368f02635606e4eb707ca08e25007a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: update saving sstate task dataAlexandru DAMIAN2014-04-011-1/+16
| | | | | | | | | | This is an update on the sstate file saving data. It saves both found and missed sstate tasks. (Bitbake rev: 60c577b1080219b795d3c8ab4e149e929cf9ce14) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Address issues with incomplete sstate setsRichard Purdie2014-04-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first part of the sstate code checks en-mass whether given checksums are available. The next part of the code then either triggers those setscene tasks either running them or skipping them if they've been covered by others. The problems was that this second part would always skip a task if it was unavailable in the first part, even if it would have otherwise been covered by other tasks. This mean the mere presence of an artefact (or lack of presence) could cause a different build failure. The issue reproduces if you run a build and populate an sstate feed, then run a second build off that feed, then run a third build off the sstate feed of the second build (which is reduced in size). The fix is rather than immediately skipping tasks if the checksum is unavailable, create a list of missing tasks, then, if that task cannot be covered by others we can skip it later. The deferral makes the behaviour the same even when the cache is "incomplete". [YOCTO #6081] (Bitbake rev: 5edb1a3e3f454ba6e65551174d86229db2f99636) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Fix sstate task dependency problemsRichard Purdie2014-04-011-0/+4
| | | | | | | | | | | | | If a setscene task has [depends], its possible they may still get executed out of order. The issue is that the dependencies are set to set() for all tasks involved. This patch adds back in explict dependencies within these chains to avoid the setscene task failures. [YOCTO #6069] (Bitbake rev: 724c889eed3b03d3199810c185086d3973af826c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beaglebone: fix typo in the U-Boot config nameDenys Dmytriyenko2014-03-311-1/+1
| | | | | | | (From meta-yocto rev: be083ee47192e11d16612f22fc600fd9e49d2893) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: Bump layer version after the BSP changesRichard Purdie2014-03-311-1/+1
| | | | | | (From meta-yocto rev: e4369b7f9f5c5cb533dbaa40a1e8a88d79c2b2f1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop beagleboard, replaced by beagleboneRichard Purdie2014-03-318-202/+0
| | | | | | (From meta-yocto rev: b125761e5e31fc506f7b5b87308850cd573ab1b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample: Update for beagleboard -> beagleboneRichard Purdie2014-03-311-1/+1
| | | | | | (From meta-yocto rev: f42c0c8b84acaad6bae4e46faba68d173a9859f2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beaglebone: Switch to linux-yocto 3.14Richard Purdie2014-03-311-2/+2
| | | | | | (From meta-yocto rev: c178be238b92212dc866f8e039aaa84003aaafda) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beaglebone: add OE machine definition for use with linux-yocto kernelsDenys Dmytriyenko2014-03-311-0/+37
| | | | | | | | | | | Kernel support is now in linux-yocto-dev and will be moved to a versioned recipe once 3.14 is released. (From meta-yocto rev: ba78fa236b4993efd4c2502413e92fa659c2f28b) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: add edgerouter information to README.hardwareYang Wei2014-03-311-0/+81
| | | | | | | | | | | Adding the summary, preparation and boot information for the newly introduced edgerouter BSP. (From meta-yocto rev: cc8c7a3c94d2cafe899adc7f8199237d4a72f205) Signed-off-by: Yang Wei <Wei.Yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsps: edgerouter: explicitly set preferred versionBruce Ashfield2014-03-311-1/+2
| | | | | | | | | | Switch the edgerouter from linux-yocto-dev, to the 3.14 linux-yocto BSP. (From meta-yocto rev: a1d02927130842c45201c1af46180e8231dcea1c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsps: Add a new BSP to support edgerouterYang Wei2014-03-311-0/+21
| | | | | | | | | | | | | | | | | | | | | | | The EdgeRouter Lite is part of the EdgeMax series. It is an MIPS64 router(Cavium Octeon) with 512MB of RAM, which uses a USB pendrive for storage. Setup instructions ------------------ You will need the following: * NFS root setup on your workstation * TFTP server installed on your workstation * Straight-thru 9-conductor serial cable (DB9, M/F) connected from your PC to UART1 * Ethernet connected to the first ethernet port on the board The rest of the details can be found in the BSP kernel config, and README.hardware. (From meta-yocto rev: 473067887b9e04366c370ab123bcd14eff33fd9a) Signed-off-by: Yang Wei <Wei.Yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsps: update reference BSPs to v3.10.34Bruce Ashfield2014-03-311-5/+5
| | | | | | | (From meta-yocto rev: 285b31ab27474c2463fdfa08a9fb02c3ff6dc20b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: set qemu BSPs preferred version to 3.14Bruce Ashfield2014-03-311-7/+7
| | | | | | | (From meta-yocto rev: 7b91dccab24fff4ae5e3392336601fdc8f5ce1db) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: populate 3.14 bbappendBruce Ashfield2014-03-311-0/+17
| | | | | | | | | | | | The 3.14 kernel supports the generic-x86, edgerouter and beaglebone black. All other reference BSPs stay in the 3.10 kernel until boot and regression testing can be performed. (From meta-yocto rev: 2a5918b141a41ebf4f8b47c35249319cb9478d48) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: remove 3.10 recipeBruce Ashfield2014-03-314-154/+0
| | | | | | | | | | | 3.14 is now the reference for libc-headers. After building and booting 3.x based BSPs against the 3.14 headers, we can safely remove the old version and patches that are now part of the mainline kernel. (From OE-Core rev: ade26bc63fdf89f297bec5f67bfff108e90438fc) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-headers: set TC default to 3.14Bruce Ashfield2014-03-311-1/+1
| | | | | | | (From OE-Core rev: acd025cbeef533137522e60dd2cc5a6a4300d1b5) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: add 3.14 libc headersBruce Ashfield2014-03-311-0/+7
| | | | | | | | | | | | | Introduce the 3.14 linux-libc-headers recipe, now that the 3.14 kernel is available, and the default for the qemu reference BSPs. The three patches which were required for the previous 3.10 libc-headers are not required for 3.14 and can be ignored. (From OE-Core rev: 6b25918ecce6d555632d9576e16ad443b5d1780a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: make compression format configurableBruce Ashfield2014-03-311-1/+3
| | | | | | | | | | | | As of the 3.13 kernel bz2 compressed tarballs are not available. To support older header tarballs, and newer ones that require the 'xz' compressed bundles, we can break out a variable that allows versioned libc headers to select the archive format that works. (From OE-Core rev: 116228fceca7fc2a7b557133b1f8f28f41af1ee5) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: introduce versioned recipesBruce Ashfield2014-03-312-0/+58
| | | | | | | | | | The release kernel for Yocto 1.6 is the 3.14 kernel, so we introduce the versioned recipes here. (From OE-Core rev: 92776093766d4b0bb2613214274fa28dc59b6126) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "zisofs-tools-native: Add missing dependency on zlib-native"Richard Purdie2014-03-311-2/+0
| | | | | | | | This reverts commit c581059df88d5801cc20ab24a096e4a67b737d49. The same thing was already applied at a slightly different place in the file. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oeqa: add a test target controller for EFI targetsStefan Stanacar2014-03-312-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this module is to deploy a test image on a EFI-enabled hardware and run our runtime tests. A bit of background: - testimage.bbclass uses the concept of TEST_TARGET which is a class name that is responsible for target deploying. A layer can provide it's own TEST_TARGET. Right now has OE-core has a QemuTarget and a SimpleRemoteTarget (ssh into an already up and running machine and run tests), the default one being qemu. - basically testimage does something like: target.deploy() try: target.start() runTests() finally: target.stop() This module assumes a running EFI machine with gummiboot as bootloader and core-image-testmaster installed (or similar). Also your hardware under test has to be in a DHCP-enabled network that gives it the same IP for each reboot. One time setup (master image): - build core-image-testmaster with EFI_PROVIDER = "gummiboot" - install the image on the target Test image setup: - build your test image, e.g core-image-sato as you usually do, but with these in local.conf: IMAGE_FSTYPES += "tar.gz" - Now run the tests: INHERIT += "testimage" TEST_TARGET = "GummibootTarget" TEST_TARGET_IP = "192.168.2.3" bitbake core-image-sato -c testimage Other notes: - TEST_POWERCONTROL_CMD (togheter with TEST_POWERCONTROL_EXTRA_ARGS) can be a command that runs on the host and does power cycling. The test code passes one argument to that command: off, on or cycle (off then on). In my case I use something like TEST_POWERCONTROL_CMD="powercontrol.exp test 10.11.12.1 nuc1" in local.conf. Basically my expect script does: 'ssh test@10.11.12.1 "pyctl nuc1 <arg>" and runs a python script there that controls power for a label called nuc1'. The reason why my expect script has to ssh into another machine is because of network topology, and that machine is the one actually connected to the test rack and the power strip. That's why TEST_POWERCONTROL_CMD and _ARGS need to be customized for one's setup, the only requirement being that it accepts: on/off/cycle as the last argument. - if no command is defined it would use classic reboot. This is fine as long as the machine actually reboots (as in the ssh test hasn't failed), but it's useful for "simple-setup-with-one-board-on-the-desk" scenario, where some manual interaction is okay from time to time. [YOCTO #5614] (From OE-Core rev: e00f888a88d0851b088c232dec66418e575a2e90) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: add master image for testing purposesStefan Stanacar2014-03-312-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | Add a custom recipe with custom initramfs and installers, that makes it easy to deploy a master image for testing purposes. We need a master image running on the target hardware, that should be a known good build, with a set of utilities installed so that we use it to deploy the images under test. This core-image-testmaster recipe isn't a requirement per se, any image can be used as long as the required conditions are met. The test code assumes: - that the device has a second rootfs labeled as testrootfs - it has a properly configured bootloader entry (called test) for the second kernel and rootfs - the master image has a /etc/masterimage file so it can differentiate between master and test images - the master image has tar, mount, bash (basically the normal linux utilities not the busybox ones) [YOCTO #5614] (From OE-Core rev: dea237ccd9407288cd3a73e1deca270619dd6d4a) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: add install scripts with a second rootfsStefan Stanacar2014-03-314-0/+438
| | | | | | | | | | | | | | | | These are meant to be used by a master image, for a simple initial setup. The install scripts are similar to the default ones, but: - custom partitioning, replaces the swap partiton with a second root filesystem - adds labels to the partitions - preconfigures a boot loader entry for the second rootfs Part of [YOCTO #5614] (From OE-Core rev: 39fcab00cd3b85d40966689e31b4c7748f630739) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: build without libbsdJoe Slater2014-03-311-0/+6
| | | | | | | | | | | | | We do not DEPEND on libbsd, so we do not want to build with it just because libutil.h is found by configure. As noted in the patch, specifying --disable-libutil to configure does not work, so we provide "cached" configure variables. (From OE-Core rev: 103ef2295c728e427acc27bb071e786946c459f2) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>