summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* documentation: Updates to try to fix CentOS docs build errorsScott Rifenbark2015-04-018-8/+8
| | | | | | | | | | | | The docs are not building on CentOS and we think it is due to the XSL templates being called for the Eclipse parts. I located all the "current" templates and switched them out for "1.76.1" version as are used by the mainstream doc builds. (From yocto-docs rev: afbddde6524630433dfec973bbe886de32395bc8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Added footnote crediting Trevor Woerner for devtool addition.Scott Rifenbark2015-04-011-0/+10
| | | | | | | | | | | | Trevor wrote a nice paper (tutorial) on the use of devtool that I found to be very helpful in developing the information for this new workflow. I decided to publicly credit this effort with a small footnote near the top of the section. (From yocto-docs rev: 97d234f2d535f85e5a50ac4e7f0c0a79579cd004) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Applied review edits to the devtool section.Scott Rifenbark2015-04-012-108/+130
| | | | | | | | | Paul Eggleton reviewed the section. (From yocto-docs rev: 82d9750b4349b3c54f73118ec7d65f0bb96e3f7a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mega-manual: Added two figures to the figures directory.Scott Rifenbark2015-04-012-0/+0
| | | | | | | | | The figures I added are for the Toaster manual. (From yocto-docs rev: fb9bb83e48afd2e7d24d68f0c167d8d64f5d25fd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mega-manual: Updated the chapter structure for the toaster manual.Scott Rifenbark2015-04-011-0/+3
| | | | | | | | | | Added the reference chapter in so it is included as part of the mega-manual. (From yocto-docs rev: 90a6ebabd0657d6dd7381a8c1fc7db5ea8b26a1f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Makefile: Added figures to the mega-manual TARFILE listScott Rifenbark2015-04-011-3/+5
| | | | | | | | | | | Added the three Toaster Manual figures to the list of mega-manual figures so they will be included in the tarball generated for mega-manual. (From yocto-docs rev: 2190bc43dfc20c0c0ef5da82c85570f9294e1788) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Makefile: Added additional PNG files to toaster TARFILE list.Scott Rifenbark2015-04-011-1/+3
| | | | | | | (From yocto-docs rev: b662062cd575f187918f6841983d5682426b266e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster-manual: Draft of Manual.Scott Rifenbark2015-04-019-294/+2084
| | | | | | | | | Fixes [YOCTO #6901] (From yocto-docs rev: 258b46b0f3e23045b5fb8c97d03dceb69db5ce20) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_alias.inc: update/sort alias information.Beth Flanagan2015-03-311-6/+45
| | | | | | | | | | | | | | | | | | | | | Added new package data, and cleaned up whitespace. I've also corrected some packaged data (replacement-tar from my reading of the recipe is the tar normally found in distros). One issue this patch exposed st I haven't had a chance to track down is that when you attempt to get distrodata from gcc-crosssdk-initial-x86_64. The produced .csv in tmp/log is missing the Distro information. bitbake -e shows that DISTRO_PN_ALIAS isn't even getting set in this case. My guess here is that something is happening with the "_" along the way, I've just not found it yet. (From meta-yocto rev: 8c0ff20efbe7649e5790227e265b0119b0c8bc02) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bin/image-writer: Add ext4 as a deployable image typeRichard Purdie2015-03-311-1/+1
| | | | | | | | | | | | | This is particularly problematic since qemu images switched to ext4 by default and now cannot work properly with UIs like hob. This patch adds in ext4 to the appropriate variable fixing this. [YOCTO #7426] (Bitbake rev: a1431b1b85bf90ed5f771552d0ce91de288047d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Ensure bbappend files are processed in a determistic orderRichard Purdie2015-03-311-7/+9
| | | | | | | | | | | | | | | | | | | | | self.appendlist is a dict and as such unordered. This can lead to cases where appends with different names (e.g. x_%.bbappend vs. x_123.bbappend) can be reordered in application which in turn reorders the variables that those bbappend files might touch. Reorderd variables changes the sstate cache signatures causing real world issues. To avoid this, use a list for the append files instead. This patch is conservative and just adds a new data structure alongside the existing one and uses it to resolve the core issue. Later patches (post release) can handle some of the wider but less problematic ones (e.g. issues in bitbake-layers flatten). [YOCTO #7511] (Bitbake rev: f980f060cd0d1e7fe5011f3c325c1b254f05eccf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Add missing ext4 supportRichard Purdie2015-03-311-1/+2
| | | | | | | | | | | | | This is particularly problematic since qemu images switched to ext4 by default and now cannot work properly with UIs like hob. This patch adds in ext4 to the appropriate IMAGE* variables fixing this. [YOCTO #7426] (From OE-Core rev: e6aab245623b6ba1ca5f06632d1028c863cef737) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Revert "toaster: machine not searchable in all builds/projects"Alexandru DAMIAN2015-03-311-1/+1
| | | | | | | | | | | | | This reverts commit 1a86ed8f95649c5f5a3a66984ce36978d93b0e01. Bug [YOCTO #7334] was incompletly fixed, and the proper fix is not straightfoward. Consequently we revert the partial fix, as a incomplete fix is worse than no fix. (Bitbake rev: 3d838ddc2f1f92e2dd940e43c3467f6ba4ba043d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: add ext4 option for IMAGE_FSTYPESAlexandru DAMIAN2015-03-311-1/+1
| | | | | | | | | | This patch adds "ext4" as a selectable option in IMAGE_FSTYPES, to keep in sync with the OE-Core capabilities. (Bitbake rev: e5a44e1096ba62b50bed4eee191f109c4f2c4105) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: rename 'targets' to 'recipes'Belen Barros Pena2015-03-316-39/+39
| | | | | | | | | | | | | | | | | | | | A recent round of informal user feedback has revealed that the term 'target' is quite problematic. For all the users we spoke to the word refers to the target arch. In Toaster, it refers to the software you build. This patch replaces the word 'target' with 'recipe' across the Toaster interface. This is by no means self-explanatory, but at least it cannot be confused with target hardware, and it is also consistent with the terminology we use in the analysis portion of the interface. (Bitbake rev: f4a64c2386a534aae9522629afde219d2aa00817) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: prevent error on empty build listAlexandru DAMIAN2015-03-311-2/+8
| | | | | | | | | | | | This patch prevents errors being thrown on date limit computations if the build list is empty. [YOCTO #7513] (Bitbake rev: d028fbe76962f3b86239633a0951626dfa66b8af) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: Add baremetal mappings to the QA arch testRichard Purdie2015-03-311-0/+7
| | | | | | | | | Add mappings for i586-elf, x86_64-elf and arm-eabi to binary lookup table which allows for a variety of baremetal toolchain generation. (From OE-Core rev: bf628a2fb1da704ff2a0f24c774eafdd12a081fb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Add x86_64-elf supportRichard Purdie2015-03-311-0/+1
| | | | | | | | Teach siteinfo about x86_64-elf so that baremetal toolchains parse/build. (From OE-Core rev: 15ce2e6af8911db9d3d5181efdd924666eca928d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.hardware: clarify NFS requirements for edgerouterPaul Eggleton2015-03-311-4/+7
| | | | | | | | | You don't need NFS/TFTP for a plain USB setup. (From meta-yocto rev: 904facdf56028d63d938e07c459169cbe78ef8fe) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster: updating toasterconf.json for fido releaseBelen Barros Pena2015-03-311-5/+20
| | | | | | | | | | | | | | | | | | We update the toasterconf.json file for the fido release. A small update to the release help text in the toasterconf.json file shipped with the meta-yocto layer. We now make explicit that Toaster will build with the tip of the selected branch. We also link the Yocto Project Dizzy release to the git repository, and not to the release page on the website. (From meta-yocto rev: 8b4367e3b56285add7c8080a6a99e5005d03c8b7) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Log the "Preparing build system" stepRandy Witt2015-03-311-1/+1
| | | | | | | | | | | | | When using bitbake to do the setscene as part of sdk setup, it would be useful to have a log in the case where it fails. The log is called preparing_build_system.log and is in the top level directory of the extracted sdk. (From OE-Core rev: 698019f6bb1f72f079cc2cb051e665620bf551a3) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: Avoid 'file changed' errors from tarRichard Purdie2015-03-312-0/+56
| | | | | | | | | | | | Hardlink count duing do_package_write_deb can change causing dpkg-deb failures. We don't care about this error case so avoid it by checking the tar exit code. [YOCTO #7529] (From OE-Core rev: 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: Make SystemD D-Bus config conditionalOtavio Salvador2015-03-311-2/+3
| | | | | | | | | | The SystemD D-Bus configuration should only to be installed when SystemD support is enabled. (From OE-Core rev: e54f2569f4fb880387edc6a99d790b765ae33080) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: fix rename image errorChunrong Guo2015-03-311-58/+43
| | | | | | | | | | | Resolve mismatch between U-Boot configs and uboot image name. The ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} may alway be false and repeat compile or install so we need to check if ${type} match ${config} (From OE-Core rev: c3c7265aa3931d47af53433f3c2d25f0e447d52e) Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libart-lgpl: add art_config.h for armeb/aarch64be/aarch64be_32Krishnanjanappa, Jagadeesh2015-03-313-0/+30
| | | | | | | | | | | | | | | | The preprocessor macro values present in art_config.h differ for individual architectures, basically libart-lgpl recipe will pick up correct art_config.h file based on ART_CONFIG = "${HOST_ARCH}/art_config.h" and thereby having correct preprocessor macros definition of each architectures. (From OE-Core rev: b4c927392cbf97556a654baa83ceb4bb27faba98) Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* combo-layer: fix file_exclude for empty commitsPatrick Ohly2015-03-311-0/+4
| | | | | | | | | | | | | | | The code detecting empty patches after removing files with file_exclude failed for commits which were already empty before (like the initial commit in some repos): such patches are completely empty files, without a From line. Detect that case and just let the normal empty patch detection deal with it. (From OE-Core rev: 3e310b8cd603539a2de115b2b73e1db35403b426) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* combo-layer: fix file_exclude for dest_dir = .Patrick Ohly2015-03-311-4/+7
| | | | | | | | | | | | | | | | "filterdiff -x ./some/file" does not remove changes for some/file. We must be more careful about constructing the path name and only add the prefix when it really means a directory. While at it, also better normalize the path in copy_selected_files() early on, to handle double slashes. Useful should the function ever gets used for something other that dest_dir (which gets normalized in sanity_check()). (From OE-Core rev: 8ea63c6c920c39e5a4ba176223fe472f92e2632a) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* combo-layer: clean up dest_dir checkingPatrick Ohly2015-03-311-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Empty dest_dir is basically undocumented behavior. The sample conf only mentions using just a dot for the current directory. In practice, the empty string does not work because of code like this: def action_splitpatch(conf, args): ... if dest_dir != ".": filerange_root = '%s -x "%s/*"' % (filerange_root, dest_dir) However, the empty string was not explicitly checked for, leading to strange errors when trying to apply patches: [12:50:23] Applying: foobar: xyz fatal: unable to stat newly created file '/foobar': No such file or directory This patch turns the empty string into an alias for the dot. This seems more user-friendly than throwing an error. This alias is intentionally not document in the sample conf, because the dot is clearer and works also with older copies of combo-layer. Instead of checking for both all the time and normalizing the path when needed (as done in some places), rewrite the value in sanity_check() and then only check for '.'. (From OE-Core rev: f8cdbe749755dc769150d3a6c2c54318c80e1562) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-testing: Specify location of c++ header filesJuro Bystricky2015-03-311-1/+18
| | | | | | | | | | | | | | | | | | | | | | | Glibc test suite contains several c++ files. They are built with g++ -nostdinc. In this case the location of c++ include files needs to be specified explicitly, or the programs may fail to build. The header locations are assumed to be: sysroot/usr/include/c++/<version> sysroot/usr/include/c++/<version>/<machine> The new code parses "configparms" to get the actual CXX and sysroot used for the glibc test suite, then it queries CXX to determine CXX <version> and CXX <machine>. With the known values for <version> and <machine> the code composes a new value for c++-sysincludes and appends "configparms" with that value. [YOCTO #7081] (From OE-Core rev: 35cd410bd3cfcd072df29e36cfe66b2c14cd3841) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-git-proxy: Redirect error messages to STDERRJuro Bystricky2015-03-311-1/+1
| | | | | | | | | | | | | | | | | | | oe-git-proxy script needs socat. If socat is not found, an error message is issued on STDOUT. This leads to a misleading git message: fatal: protocol error: bad line length character: ERRO instead of the intended message: ERROR: socat binary not in PATH Redirecting the error message to STDERR fixes this issue. (From OE-Core rev: 960a7f7ae24e72efc165a431f8b91b3f3b176916) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools: Avoid find race for S = "${WORKDIR}"Richard Purdie2015-03-311-1/+1
| | | | | | | | | | | | | | | | | For recipes with PACKAGES_remove = "${PN}", the find which removes .la files can race against deletion of other directories in WORKDIR e.g.: find: '/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/sstate-build-populate_lic': No such file or directory | WARNING: /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/temp/run.do_configure.6558:1 exit 1 from | find /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7 -name \*.la -delete The simplest fix is to add the find option which ignores these kind of races. [YOCTO #7522] (From OE-Core rev: dd8099ca3092fbd5c685e5ef1b1c5a8185a6893d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Tweak arm multilib endian patch for baremetalRichard Purdie2015-03-311-8/+16
| | | | | | | | | In a baremetal build, TARGET_ENDIAN_OPTION isn't set leading to build failures. Add in ifdefs to avoid this. (From OE-Core rev: 3a50ec5f0142cc3a74b405dbdff264f8f862edfa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: merge duplicate kernel_configme task definitionsRoss Burton2015-03-312-3/+1
| | | | | | | | | | | | | The kernel_configme task was added twice (once in the .bbclass, one in a .inc) with different ordering constraints. Change this to be just one definition in the bbclass with the stronger ordering constraints. (From OE-Core rev: b9646b9d31c3e0c70337a8c10ebfc087a0e2b829) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: add kern-tools-native to kernel_metadata dependsRoss Burton2015-03-312-2/+1
| | | | | | | | | | | | | | | | | | The autobuilder failed like this: temp/run.do_kernel_metadata.25242: line 165: createme: command not found createme is provided by kern-tools-native. do_patch has a dependency on kern-tools-native, but do_kernel_metadata runs before do_patch. So move the dependency from do_patch to do_kernel_metadata, moving the statement from the .inc to the class so it's alongside the task definition. [ YOCTO #7531 ] (From OE-Core rev: 4a0371847ff0c30d9b60db63559d89dddfcb009f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster: update toasterconf.json for fido releaseBelen Barros Pena2015-03-311-5/+20
| | | | | | | | | | | | | | | | | | We update the toasterconf.json for the 1.8 "fido" release. A small update to the release help text in the toasterconf.json file shipped with the openembedded-core layer. We now make explicit that Toaster will build with the tip of the selected branch, and we add links to the OpenEmbedded repository. (From OE-Core rev: f5af78cabb693692fa369730af4b0c70cca9bc91) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster.bbclass: do not add symbolic links to artifactsAlexandru DAMIAN2015-03-311-1/+1
| | | | | | | | | | | This patch removes the symbolic links from the artifact list. [YOCTO #7184] (From OE-Core rev: cbb64f85dabefe267519e4b983d73c864b41e876) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: fix CVE-2015-1197Robert Yang2015-03-312-1/+156
| | | | | | | | | | | | | | | | | | | Additional directory traversal vulnerability via symlinks cpio CVE-2015-1197 Initial report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774669 Upstream report: https://lists.gnu.org/archive/html/bug-cpio/2015-01/msg00000.html And fix the indent in SRC_URI. [YOCTO #7182] (From OE-Core rev: af18ce070bd1c73f3619d6370928fe7e2e06ff5e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2015-1196Robert Yang2015-03-312-0/+201
| | | | | | | | | | | | | | | | A directory traversal flaw was reported in patch: References: http://www.openwall.com/lists/oss-security/2015/01/18/6 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227 https://bugzilla.redhat.com/show_bug.cgi?id=1182154 [YOCTO #7182] (From OE-Core rev: 4c389880dc9c6221344f7aed221fe8356e8c2056) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: Add 1.8 to sanity tested distro listRichard Purdie2015-03-251-0/+1
| | | | | | (From meta-yocto rev: acfd794fe6e45790a1021b0533cab45d14368e6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Flip DISTRO_VERSION for post 1.8 releaseBeth Flanagan2015-03-251-2/+2
| | | | | | | | | Flipping DISTRO_VERSION for post fido. (From meta-yocto rev: 924e4f47c0da14aa9e9f4d71659e8cee44f5b678) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Update to version 1.27.0 post 1.26 releaseRichard Purdie2015-03-252-2/+2
| | | | | | (Bitbake rev: 0153e0b4e089f62a7d5a92ca6be2fa5a8f61a6e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Update to version 1.26.0Richard Purdie2015-03-252-2/+2
| | | | | | (Bitbake rev: 14da7bc06bc6ea6fd051c0afd8d4839d96f415e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: enable sanity checkerAlexandru DAMIAN2015-03-251-1/+1
| | | | | | | | | | | Since toasterui acts as the user-facing UI, we need to run sanity checks in order to let the GUI display proper warnings and stop the build if something is wrong. (Bitbake rev: 260dd77fa771ae3b777134f4178d344e96b6f3d6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: most-build-targets bug fixesDave Lerner2015-03-253-6/+26
| | | | | | | | | | | | | | | | | | | | | | Fixes for the following for the "Most built targets" section of the project page: 1) limit the number of most built targets to 5, 2) order the list of most built targets by build count, 3) select only those builds that had build status of 'fail', 'success', or a BuildRequest of 'failed', 4) if there are no layers in the project then (on refresh) all of the checkboxes in the 'Most built targets' list are disabled. Note that per agreement with UI designer, the only sort on the most target list is build count as described in (3) above; secondary sorting is random. [YOCTO #7177] (Bitbake rev: dda2f07193e740860f4497c3761d340d8c5c2b41) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: PACKAGE_CLASSES variable does not show current value when ↵David Reyna2015-03-251-13/+27
| | | | | | | | | | | | | editing A typo in some element selectors caused the package_rpm setup to break. [YOCTO #7448] (Bitbake rev: 0479faa46f0364df6d8e151be34e1834076df49d) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: small changes to empty statesBelen Barros Pena2015-03-256-85/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit: * Makes some changes to the layout and styles of the landing.html template * Adds the empty state to layers.html * Changes the message of the empty state of machines.html to use the same wording used in all other pages * Adds the project name and the right styles to the empty state of the project.html template * Makes small changes in style and wording to the empty state of targets.html * Updates all "configure a layer source" links to point to the new Toaster manual. (Bitbake rev: d886db3add1351a806ab58ec7519d2321687187b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: hide right column if emptyBelen Barros Pena2015-03-251-0/+5
| | | | | | | | | | | | In the layer details page, if the background information about the layer that shows in the right hand column is completely empty, remove it altogether. (Bitbake rev: fe9fff960d0a6fc24e0e177e5194f93a7be9456b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: Improve messaging for empty layer detailsBelen Barros Pena2015-03-251-2/+4
| | | | | | | | | | Explain that, if information is found during the build process, it will appear in the layer details page. (Bitbake rev: 40b46ce28b0b93241f9ce581f1e295e95bbff284) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: hide release when only one existsBelen Barros Pena2015-03-251-3/+2
| | | | | | | | | | | | | | | | | | | | | If only one release has been set up in Toaster, any project you create defaults to that release, and we simply don't show the release selection menu when creating projects. However, we were still showing the release information in the project page, which would leave users wondering what that release thing is since they never were exposed to it. This patch hides the release information in the project page when only one release has been set up in Toaster. (Bitbake rev: 0bd81be04c88104d7d460f913d0500e5fa9755fe) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: update links to Toaster manualBelen Barros Pena2015-03-253-7/+8
| | | | | | | | | | | Set the links to the Toaster manual in the base.html and landing_not_managed.html templates to the URL of the new Toaster manual. (Bitbake rev: 88b1201a2f6dec53970b120cc8e13c0eb5ae21e1) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>