scm/bb/tizen-distro.git
10 years agobitbake: user-manual: Review edits from Richard (second draft)
Scott Rifenbark [Tue, 25 Feb 2014 23:56:24 +0000 (17:56 -0600)]
bitbake: user-manual: Review edits from Richard (second draft)

Applied the comprehensive set of review comments from Richard
Purdie.  All files affected.  One major point here was that the
"BitBake Command" chapter was eliminated.  This information was
folded into various areas of the book.  Consequently, the bits
including the file for make had to be updated.

(Bitbake rev: 8ec38c6b456a92a0e0b9b04c2793a5b148be5027)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual: Added "Hello World" Appendix.
Scott Rifenbark [Wed, 19 Feb 2014 22:15:38 +0000 (16:15 -0600)]
bitbake: user-manual: Added "Hello World" Appendix.

I took Bill's chapter and made it into an appendix.  I did some
re-writing to make it not so much like a getting-started feel,
although it still leans way that way for an appendix.  The content
is not complete.

Had to add in a line to the user-manual.xml file so that the
new appendix would be part of the book.

Had to use a different form of the command in the
user-manual-cusomization.xsl file in order to not through a bunch
of errors for an unrecognized parameter value.  I commented out
the existing one.

(Bitbake rev: 80e9306c288ca2ab42585f99fb0f396253cb8253)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching.xml: Re-write of the Fetching chapter.
Scott Rifenbark [Tue, 18 Feb 2014 23:43:15 +0000 (17:43 -0600)]
bitbake: user-manual-fetching.xml: Re-write of the Fetching chapter.

Based on a Richard Purdie re-write.

(Bitbake rev: fad9a6258f8c04bbe0168e46898dd27b86c39ee0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Title change, sections lifted.
Scott Rifenbark [Tue, 18 Feb 2014 20:50:13 +0000 (14:50 -0600)]
bitbake: user-manual-metadata.xml: Title change, sections lifted.

Changed the title of the chapter to "Syntax and Operators".  It
was called "Metadata".

Removed the bulk the "Checksums (Signatures)" section and the
placeholder for "Setscene".  These are now in the "Execution"
chapter.

Created a more appropriate overview blurb to start the chapter.

(Bitbake rev: f955171d8468ed987f92146d39f52d9af4a03dbb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching.xml: Removed a link.
Scott Rifenbark [Tue, 18 Feb 2014 20:48:46 +0000 (14:48 -0600)]
bitbake: user-manual-fetching.xml: Removed a link.

The link no longer applied as it was linking to a removed
section from the "Execution" chapter.

(Bitbake rev: de1c316a3f5f382c66b58ad2539b4fadb0f000db)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-execution.xml: Review edits applied.
Scott Rifenbark [Tue, 18 Feb 2014 20:46:13 +0000 (14:46 -0600)]
bitbake: user-manual-execution.xml: Review edits applied.

Significant review changes implemented from Richard Purdie.

* Eliminated the lifted text from the "Closer Look" chapter
  of the YP ref-manual.

* Added the "BitBake" chapter in from the YP ref-manual.

* Significant re-writes and suggestions throughout the
  entire chapter.

(Bitbake rev: 4a740385a4720e040af3d329d9c7cc77b03e7f46)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro.xml: Review edits to Introduction chapter.
Scott Rifenbark [Tue, 18 Feb 2014 13:49:12 +0000 (07:49 -0600)]
bitbake: user-manual-intro.xml: Review edits to Introduction chapter.

Applied review edits to the introduction chapter as suggested
by Richard Purdie.

(Bitbake rev: c6c912cf875766036b91af785f257f64ff07146c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-execution.xml: Draft of "Execution" chapter
Scott Rifenbark [Fri, 14 Feb 2014 19:55:42 +0000 (13:55 -0600)]
bitbake: user-manual-execution.xml: Draft of "Execution" chapter

This is a rough draft of the chapter.  Major sections are in
place.  We need to scrub content now.

Seems like the discussion of BBFILES fit better in this
execution flow chapter.  So, I moved it above the parsing
section.

(Bitbake rev: 6c4c6fb689b88dbefe63f0062b78d8403fb80d41)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro.xml: Added sections
Scott Rifenbark [Fri, 14 Feb 2014 19:55:03 +0000 (13:55 -0600)]
bitbake: user-manual-intro.xml: Added sections

Added the append files and layer subsections.

(Bitbake rev: 38c3ead4ac8036ac88e83a938aa4ce484d4a6a84)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-bitbakecommand.xml: Added anchor tag for the chapter.
Scott Rifenbark [Fri, 14 Feb 2014 13:46:01 +0000 (07:46 -0600)]
bitbake: user-manual-bitbakecommand.xml: Added anchor tag for the chapter.

(Bitbake rev: 5aa6679aa8b5b6b8bf4b43cabde04072498ccea4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-fetching.xml: Re-write of "File Download Support" chapter.
Scott Rifenbark [Wed, 12 Feb 2014 02:00:02 +0000 (20:00 -0600)]
bitbake: user-manual-fetching.xml: Re-write of "File Download Support" chapter.

Basic re-write to clean up text and flow.

(Bitbake rev: 0f82dc4c22ce015bef87fd5aae0b6fa3e429016e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual: Added new chapter to cover BB execution.
Scott Rifenbark [Tue, 11 Feb 2014 19:45:54 +0000 (13:45 -0600)]
bitbake: user-manual: Added new chapter to cover BB execution.

This commit added need files, cleaned up bogus links, and
adjusted the build file, which is user-manual.xml.

The new chapter file is "user-manual-execution.xml". The file
has base text from the bitbake section from the "Closer Look"
chapter of the YP ref-manual.  This means that I had to initially
include some figures from that book for now.  I am not including
them as part of this commit though as they will likely get renamed.
I made sure that all links were removed that were specific to the
YP ref-manual.

Another change was in the user-manual.xml file to include
the new chapter as part of the build.

Another block of text for the new chapter was the "Running a Task"
section from the user-manual-metadata.xml file.  Consequently, that
section was deleted from the "Metafile" chapter.

Another block of text for the new chapter was the "Parsing
and Execution" section from the user-manual-metadata.xml file.
Consequently, that section was deleted from the "Metafile chapter.

(Bitbake rev: f3b21d1fb711f9625d2ac92d4f4fe0f269242bd7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-intro.xml: Added an introduction to the manual.
Scott Rifenbark [Tue, 11 Feb 2014 13:21:58 +0000 (07:21 -0600)]
bitbake: user-manual-intro.xml: Added an introduction to the manual.

Describes purpose and qualifies some stuff.

(Bitbake rev: b9704a367cccd85931fa4fb779d273a27361d503)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Added a note qualifying the variables.
Scott Rifenbark [Tue, 11 Feb 2014 13:11:07 +0000 (07:11 -0600)]
bitbake: user-manual-ref-variables.xml: Added a note qualifying the variables.

The note provides some information in general about the variables
that are part of the glossary.

(Bitbake rev: 8bcc6d1f1ef4e647ad6153ed7a9e0bd5bc62cf0b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: WIP - Some edits in the checksum area.
Scott Rifenbark [Tue, 11 Feb 2014 13:02:14 +0000 (07:02 -0600)]
bitbake: user-manual-metadata.xml: WIP - Some edits in the checksum area.

(Bitbake rev: f74045d9ac88aece1d6f8d6a95389d01971ffdac)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Rewrite "Accessing Datastore Variables Using Python"
Scott Rifenbark [Tue, 11 Feb 2014 02:25:53 +0000 (20:25 -0600)]
bitbake: user-manual-metadata.xml: Rewrite "Accessing Datastore Variables Using Python"

Rewrote this section.  Used a table instead of the funky list
that was there.  I still need to format it some.

Also fixed up the term "datastore".  It should not be "data store"

(Bitbake rev: ee23839596102ccd58e028c10471438f2eb37feb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Re-write the "Dependencies" section.
Scott Rifenbark [Mon, 10 Feb 2014 22:18:47 +0000 (16:18 -0600)]
bitbake: user-manual-metadata.xml: Re-write the "Dependencies" section.

General edits and dumping of the useless "Overview" section.

(Bitbake rev: b11ad97b9334a86b2f3b10bdf5597910854475bd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Re-write of "Variants - Class Extension Mechanism...
Scott Rifenbark [Mon, 10 Feb 2014 18:31:56 +0000 (12:31 -0600)]
bitbake: user-manual-metadata.xml: Re-write of "Variants - Class Extension Mechanism" section.

Some general rewrites here.

(Bitbake rev: 7149ab6f6e936c19d681f05aa64b123c10f2f3da)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Added BBVERSIONS variable.
Scott Rifenbark [Mon, 10 Feb 2014 18:31:21 +0000 (12:31 -0600)]
bitbake: user-manual-ref-variables.xml: Added BBVERSIONS variable.

(Bitbake rev: 0ee8e8db8475903754d519c5e6d7ec8e52ba9c85)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Re-write of "Events" section.
Scott Rifenbark [Mon, 10 Feb 2014 14:11:58 +0000 (08:11 -0600)]
bitbake: user-manual-metadata.xml: Re-write of "Events" section.

General cleanup of the text.

(Bitbake rev: 112dd4279826dc7587e1b8acb4a107374b5bd0fd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: General cleanup to "Parsing and Execution"
Scott Rifenbark [Fri, 7 Feb 2014 23:31:43 +0000 (17:31 -0600)]
bitbake: user-manual-metadata.xml: General cleanup to "Parsing and Execution"

I went through and created links for variables we reference that
are in the glossary.  I also re-wrote much of the text to just
clean it up.

(Bitbake rev: dd9a4422d387da45f6de945eb4944c2a06bc98a0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Edits to "Variable Flags" section
Scott Rifenbark [Fri, 7 Feb 2014 20:39:47 +0000 (14:39 -0600)]
bitbake: user-manual-metadata.xml: Edits to "Variable Flags" section

Worked through this section with Richard providing an interactive
review.  The changes are after the review.  There was also a
small edit to the "Tasks" section.

(Bitbake rev: cba57f8d900d7c3ed8da9fcab0697e3047476325)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Rewrite of the "Tasks" section.
Scott Rifenbark [Wed, 5 Feb 2014 22:31:46 +0000 (16:31 -0600)]
bitbake: user-manual-metadata.xml: Rewrite of the "Tasks" section.

I cleaned up this section with some general improvements.

I also broke this up into a couple sub-sections where it seemed
to logically fall.  Also, stole some metadata concept from the
next section ("Running Tasks") that really should be lumped under
"Tasks".

(Bitbake rev: 9673acda2239807e31f4fcda1574b3e5e2d013a6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Rewrite of the "Functions" section.
Scott Rifenbark [Wed, 5 Feb 2014 22:29:54 +0000 (16:29 -0600)]
bitbake: user-manual-metadata.xml: Rewrite of the "Functions" section.

Re-organized this around the 3 types of functions that we seem
to be show-casing here.  The original organization was not very
good.

(Bitbake rev: 77ef63e5c4a9ea633a1be0f9f90366e0ecf555fa)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Edits to SRC_URI.
Scott Rifenbark [Wed, 5 Feb 2014 14:15:37 +0000 (08:15 -0600)]
bitbake: user-manual-ref-variables.xml: Edits to SRC_URI.

(Bitbake rev: b8472f81387f8b8110cd560d61a4563d53d26859)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-ref-variables.xml: Edits to BBCLASSEXTEND.
Scott Rifenbark [Wed, 5 Feb 2014 14:06:59 +0000 (08:06 -0600)]
bitbake: user-manual-ref-variables.xml: Edits to BBCLASSEXTEND.

(Bitbake rev: bc2a13ba86a5e01b457209b72608403e6aa12003)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Edits to "Sharing Functionality"
Scott Rifenbark [Tue, 4 Feb 2014 19:36:11 +0000 (13:36 -0600)]
bitbake: user-manual-metadata.xml: Edits to "Sharing Functionality"

Applied some review edits from Paul to the section.

(Bitbake rev: f4dc71a3ff2c7f2ca6093b751883a1244f8d3847)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Add bare bones of a scheduler section
Richard Purdie [Mon, 10 Mar 2014 01:48:14 +0000 (18:48 -0700)]
bitbake: user-manual-metadata.xml: Add bare bones of a scheduler section

(Bitbake rev: cf0ccb26cc7af9f29704bb4c7ada6bf8ef5b0ee6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Add details about general variables used by BitBake
Richard Purdie [Mon, 10 Mar 2014 01:47:48 +0000 (18:47 -0700)]
bitbake: user-manual-metadata.xml: Add details about general variables used by BitBake

(Bitbake rev: 7e78785a53e259225b632c161a70d82fe66eb672)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: user-manual-metadata.xml: Add details about environment variables used by...
Richard Purdie [Mon, 10 Mar 2014 01:47:30 +0000 (18:47 -0700)]
bitbake: user-manual-metadata.xml: Add details about environment variables used by BitBake

(Bitbake rev: 91d3e60a48d2269adfd0084eb6f1bcdb211dbce1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: fix task identification
Alexandru DAMIAN [Wed, 5 Mar 2014 14:59:55 +0000 (14:59 +0000)]
bitbake: toasterui: fix task identification

This patch adds extra checks when selecting and writing
task and recipe objects to the database.

The patch fixes several issues where tasks may have been
misidentified between virtual-native and target tasks,
or spurious task objects may have been created.

(Bitbake rev: a6e597e690b3c6c6fa2af6db8cd871c02fc80421)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix issues in the build table
Alexandru DAMIAN [Fri, 21 Feb 2014 15:23:52 +0000 (15:23 +0000)]
bitbake: toaster: fix issues in the build table

This patches fixes minor issues in the sorting functionality
of the build table.

[YOCTO #5455]

(Bitbake rev: 47196039bd8bac2eddb1c19ad4fc2e285dc23ee3)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: fix status update on failed sstate tasks
Alexandru DAMIAN [Fri, 21 Feb 2014 11:59:38 +0000 (11:59 +0000)]
bitbake: toasterui: fix status update on failed sstate tasks

This patch fixes a logical error when updating task information
based on the corresponding sstate task state.

(Bitbake rev: 777458a20a7f686881e525a4d81b286c486ead6a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update database schema
Alexandru DAMIAN [Thu, 20 Feb 2014 12:47:55 +0000 (12:47 +0000)]
bitbake: toaster: update database schema

This patch updates the database schema to resolve a
number of issues discovered while implementing the
UI interface.

We do not expect that all the data will come in valid
at this point.

[YOCTO #5453]
[YOCTO #5833]
[YOCTO #5836]
[YOCTO #5811]
[YOCTO #5812]
[YOCTO #5820]

(Bitbake rev: f8ad96d10a095e21fd2ce424c45e17f54642fb54)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Move long content toggle to main.js
Belen Barros Pena [Wed, 19 Feb 2014 21:08:15 +0000 (21:08 +0000)]
bitbake: toaster: Move long content toggle to main.js

I have move all javascript needed for toggling very long
values for bitbake variables to main.js. I have changed the
names of the classes involved to make them more generic,
since I hope we'll be able to reuse them in other parts
of the Toaster interface.

.full-variable is now .full
.full-variable-hide is now full-hide
.full-variable-show is now full-show

I have also removed all the inline scripting in base.html, since
it is no longer needed.

(Bitbake rev: 73828f047385ced160c7900cad24535aa8d325cd)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: implement the configuration pagedreyna/configure-detail-view
David Reyna [Fri, 28 Feb 2014 13:55:46 +0000 (05:55 -0800)]
bitbake: toaster: implement the configuration pagedreyna/configure-detail-view

Update the configuration page with the file list pop-up, implement the file and description filters.

[YOCTO #4259]

(Bitbake rev: 54a767809960b66b2fe2d3bc46aa9c7e040c4ae3)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: View detailed information about a task
Ravi Chintakunta [Tue, 18 Feb 2014 04:30:41 +0000 (23:30 -0500)]
bitbake: toaster: View detailed information about a task

Information about a task is displayed depending on it's execution
status and outcome status.

Edited to iterate through all possible entries for related setscene
tasks.

[YOCTO #4282]

(Bitbake rev: 62f502b1237d4060df6be1ee4f4865db5fa39a6a)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Bug fix in reload page with parameters
Ravi Chintakunta [Tue, 18 Feb 2014 04:26:10 +0000 (23:26 -0500)]
bitbake: toaster: Bug fix in reload page with parameters

Fix the bug in reload_params function that was failing when
the page URL did not have any parameters.

(Bitbake rev: 8cba40daf521d1740687f9a030f8472f980a4563)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix breadcrumb date format in detail pages
Belen Barros Pena [Wed, 19 Feb 2014 10:57:56 +0000 (10:57 +0000)]
bitbake: toaster: Fix breadcrumb date format in detail pages

The template basebuilddetailpage.html had the completed
on date in the breadcrumb set to naturaltime. Changed to
d/m/y H:i to match the date format in the basebuildpage.html
template, so that breadcrumbs display the same date format across
all pages.

(Bitbake rev: 188c12901c9573285956cded76f27a0d6330c82e)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Sort packages and dependencies in recipe.html
Belen Barros Pena [Wed, 19 Feb 2014 10:35:27 +0000 (10:35 +0000)]
bitbake: toaster: Sort packages and dependencies in recipe.html

The tables in the Packages, Build dependencies and
Reverse build dependencies tabs in the recipe details
pages (template recipe.html) should be sorted by package
name and recipe name respectively.

This change adds the sorting.

(Bitbake rev: ff6c448c7b5bc7bf4fe75e15e66c4e02f07f7618)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Change popover headings in recipes table
Belen Barros Pena [Wed, 19 Feb 2014 09:54:47 +0000 (09:54 +0000)]
bitbake: toaster: Change popover headings in recipes table

In the recipes table, dependencies and reverse dependencies
are shown inside a popover. The popover headings did not
match the table headings, so changed to "dependencies" and
"reverse dependencies" as per the design spec.

(Bitbake rev: 05f19e5cd8cca48e6e52f4b3ea1cd25d2ba4ac1c)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Change help text for Section
Belen Barros Pena [Wed, 19 Feb 2014 09:45:24 +0000 (09:45 +0000)]
bitbake: toaster: Change help text for Section

The help text for the Section information in the
recipes table and the recipe details page said
"packages" instead of recipes, and it said there
were 5 possible values for the SECTION variable
(which is not true).

Changed to "The section in which recipes should
be categorised"

(Bitbake rev: 984273e07126674c674ad8b400418117ae087860)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Hide the applied filter tooltip on click
Belen Barros Pena [Wed, 19 Feb 2014 09:32:23 +0000 (09:32 +0000)]
bitbake: toaster: Hide the applied filter tooltip on click

When you apply a filter, we show you a tooltip on hover
that tells you which filter you have applied and allows you
to clear it quickly. That tooltip does not disappear
straight away if you click on the filter button: it hangs
in there because the tooltip has a delay specified on
hide. The effect is quite annoying.

This change to main.js makes sure the tooltip disappears when
you click the filter button.

(Bitbake rev: 5928d2f3cba4524966a34d8c845a04627b9b310b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add .muted class to disabled checkboxes
Belen Barros Pena [Wed, 19 Feb 2014 00:38:28 +0000 (00:38 +0000)]
bitbake: toaster: Add .muted class to disabled checkboxes

In the edit columns menu, the checkboxes for the columns in the
minimum table are disabled. To better communicate visually
the disabled state, this change applies the .muted class
to the labels of those checkboxes.

(Bitbake rev: 125a3da654ac7742a93ac93f4f23336ecd251a61)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Set the right styles for definition lists
Belen Barros Pena [Tue, 18 Feb 2014 14:29:26 +0000 (14:29 +0000)]
bitbake: toaster: Set the right styles for definition lists

In the task details page, our labels are quite long and
the default width of the dt elements in the .dl-horizontal
class is too small. Changing the width to 200px, and the
left margin of the dd element to 220px.

Changing the bootstrap.min.css file is not ideal (ok, is
a pretty bad hack), but it is the only way to keep the
nice responsive styles for those definition lists.

(Bitbake rev: 1e655eb121173b4441a9a4e9005fe8c1f235dfbb)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Set correct string for missed sstate attempts
Belen Barros Pena [Tue, 18 Feb 2014 12:08:40 +0000 (12:08 +0000)]
bitbake: toaster: Set correct string for missed sstate attempts

Replace 'Missed' with 'File not in cache'in models.py

(Bitbake rev: cb76a1d39ce36a36dc398a0422bcfac1c72f9c2b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Remove inline styles in h1
Belen Barros Pena [Thu, 6 Feb 2014 18:57:56 +0000 (18:57 +0000)]
bitbake: toaster: Remove inline styles in h1

The templates bpackage.html, recipes.html and build.html included
an inline style declaration in the div containing the h1
tag to add a top margin of 40px. The extra top margin
is unnecessary in bpackage.html and recipes.html, but nicely
separates the Recent builds and All builds sections in build.html.

The changes remove the inline style declaration and create
a .top-air class in default.css to include the extra top margin
when needed, i.e. in the build.html template.

(Bitbake rev: 2841f0740024a8351606452a5f803b9b7f70c783)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: extend Tasks to include Time, Disk IO, and CPU Usage
David Reyna [Fri, 14 Feb 2014 22:58:20 +0000 (14:58 -0800)]
bitbake: toaster: extend Tasks to include Time, Disk IO, and CPU Usage

Update the All Tasks page to also cover the Time, Disk I/O, and
CPU Usage pages. Add filter count header support, and fix minor column
enablements.

[YOCTO #4387]

(Bitbake rev: 7e78836ebbddf0240094fd79a18cb057d6c4f322)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: add asserts on expected values
Alexandru DAMIAN [Wed, 19 Feb 2014 17:26:18 +0000 (17:26 +0000)]
bitbake: toasterui: add asserts on expected values

We add assert statements that validate expectations of
correct values and context when the data collection code is running.

These checks will help pinpointing unexpected data or
call flows, reducing debugging time.

Also contains a couple of very small fixes discovered through
these checks, including a virtual:native conflict with
regular tasks.

[YOCTO #5553]

(Bitbake rev: e2fbd5c6fa6b53514e2cb23d42aa639020d8a475)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: task data structure in toasterui
Alexandru DAMIAN [Tue, 18 Feb 2014 18:41:47 +0000 (18:41 +0000)]
bitbake: toasterui: task data structure in toasterui

We update the structure used to hold interm task data,
before it is written to the database, to lower the changes
of key collision.

This will also lead to a cleaner data structure and easier
inspection.

(Bitbake rev: 49cb9f543526a161bc4c097f94422ea08b491ef9)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bb/ui: store_dependency_information optimization
Marius Avram [Tue, 18 Feb 2014 14:39:24 +0000 (16:39 +0200)]
bitbake: bb/ui: store_dependency_information optimization

This optimization is in support of the bug #5485. The function called
at the beginning of every build: store_dependency_information was taking
approximately 20sec and it was delaying the arrival of events from the
event queue. The change minimizes the calls to _save_a_task(),
reducing the time to half.

(Bitbake rev: b86fd2be40303d886fdb9ad3009355584d285acc)

Signed-off-by: Marius Avram <marius.avram@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: array-assignment fix from Chome
Alexandru DAMIAN [Mon, 10 Feb 2014 14:24:48 +0000 (14:24 +0000)]
bitbake: toaster: array-assignment fix from Chome

Apparently the JS engine in Chrome can't handle assignments to an array,
so I'm patching this up by using an intermediate array to hold the
values.

(Bitbake rev: 47f5fde1bd8cf2e6f7e5c4ec2534a2f9599c4ea2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: mark dependency packages
Alexandru DAMIAN [Mon, 10 Feb 2014 14:26:12 +0000 (14:26 +0000)]
bitbake: toaster: mark dependency packages

We need to mark the package entries that are
created solely for dependency tracking purposes.

In order to avoid altering the database schema,
we mark the dependency targets with size = -1, since
this is not a valid size anyway and makes for easy
filtering.

[YOCTO #5803]

(Bitbake rev: d11ed273dd6c520b16e9ccfe79476f340006a55d)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: adding new task outcome empty
Alexandru DAMIAN [Thu, 13 Feb 2014 13:12:39 +0000 (13:12 +0000)]
bitbake: toasterui: adding new task outcome empty

In order to separate tasks with invalid states from the
no exec tasks, we add a new value OUTCOME_EMPTY for the tasks.

OUTCOME_EMPTY has the same value as OUTCOME_NA as to maintain
compatibility with already existing builds. New value for
OUTCOME_NA can be used to detect tasks with invalid states, i.e.
it should never appear after finishing a build.

Fixing noexec tasks outcomes.

[YOCTO #5763]

(Bitbake rev: 475643ad78796835bf2e731b9d0fa5794ec80dd1)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: fix task executed status display
Alexandru DAMIAN [Thu, 13 Feb 2014 13:36:54 +0000 (13:36 +0000)]
bitbake: toastergui: fix task executed status display

The proper way to get a display-able value
in Django is to use a model method instead of clutter
the template with if/else.

[YOCTO #5641]

(Bitbake rev: bb21b71dab70db163b804c7ebf27b85c59a39112)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/wget: Fix downloadfilename functionality
Richard Purdie [Sun, 9 Mar 2014 18:11:30 +0000 (11:11 -0700)]
bitbake: fetch2/wget: Fix downloadfilename functionality

Some of the previous cleanups broke the downloadfilename functionality.
This change fixes the code to ensure the commandline is correctly built.

Thanks Kristof Robot <krirobo@gmail.com> for reporting the issue.

(Bitbake rev: e008d9bb07e5d1a3584cc04ca2cd3dd906fd5759)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster.bbclass: read list of files in image
Alexandru DAMIAN [Thu, 6 Mar 2014 16:29:46 +0000 (16:29 +0000)]
toaster.bbclass: read list of files in image

We read the list of files in a built image and send it
over with the same event for packages in image.

(From OE-Core rev: 21bb659beca69c8bb379af2bf10afc843f529e57)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/uboot-config: ignore doc varflag
Paul Eggleton [Fri, 7 Mar 2014 14:48:48 +0000 (14:48 +0000)]
classes/uboot-config: ignore doc varflag

The doc varflag on UBOOT_CONFIG should be ignored by this code; without
this the recent addition of the UBOOT_CONFIG[doc] to documentation.conf
causes errors when UBOOT_MACHINE is used.

(From OE-Core rev: e41aa22d7938c200f4150155589f5e23ed0331ce)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation.conf: sync with the Yocto Project reference manual
Belen Barros Pena [Thu, 6 Mar 2014 16:46:12 +0000 (16:46 +0000)]
documentation.conf: sync with the Yocto Project reference manual

Make sure variables listed in the Glossary section of the reference
manual are listed here. There are still some listed here that aren't in
the manual; this should be fixed in the manual.

(From OE-Core rev: 954e7050f602acf3dd401ca84a1b9a3b78b0ca28)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation.conf: drop obsolete variables
Paul Eggleton [Thu, 6 Mar 2014 16:46:11 +0000 (16:46 +0000)]
documentation.conf: drop obsolete variables

These haven't been used for some time (and DESTDIR was never a BitBake
variable at all).

(From OE-Core rev: a78f6b1454598e74bdd229b0a26bbdcdfa991aa2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg/dpkg: remove the postinstalls
Laurentiu Palcu [Thu, 6 Mar 2014 12:15:42 +0000 (14:15 +0200)]
opkg/dpkg: remove the postinstalls

Just use the run-postinsts recipe for running first boot postinstalls.

[YOCTO #5666]

(From OE-Core rev: 2dadf775f619571c273ea20eb8d3fdd7ba656052)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorun-postinsts: use it for opkg/dpkg too
Laurentiu Palcu [Thu, 6 Mar 2014 12:15:41 +0000 (14:15 +0200)]
run-postinsts: use it for opkg/dpkg too

Currently, opkg/dpkg have their own postinstalls that create a
run-postinsts script which is run at first boot.

This commit prepares the run-postinsts recipe/script to be used by
opkg/dpkg when DISTRO_FEATURES includes package-management.

[YOCTO #5666]

(From OE-Core rev: f33555f52a4ee83f0bd205cdf483045fcd0578b2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: add oe's kernel name to the conf file
Robert Yang [Mon, 3 Mar 2014 14:49:50 +0000 (22:49 +0800)]
grub-efi: add oe's kernel name to the conf file

Our kernel's name is bzImage, we need add it to grub.d/10_linux.in so
that the grub-mkconfig and grub-install can work correctly on the
target.

(From OE-Core rev: 1dd9a16030bc2dc673c7b121dea6e78f2681f55e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub git: add oe's kernel name to the conf file
Robert Yang [Mon, 3 Mar 2014 14:49:49 +0000 (22:49 +0800)]
grub git: add oe's kernel name to the conf file

Our kernel's name is bzImage, we need add it to grub.d/10_linux.in so
that the grub-mkconfig and grub-install can work correctly on the
target.

(From OE-Core rev: 6677bb09ae64e878b12552caef999b60bc99d0e4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub 2.00: add oe's kernel name to the conf file
Robert Yang [Mon, 3 Mar 2014 14:49:48 +0000 (22:49 +0800)]
grub 2.00: add oe's kernel name to the conf file

Our kernel's name is bzImage, we need add it to grub.d/10_linux.in so
that the grub-mkconfig and grub-install can work correctly on the
target.

(From OE-Core rev: c972e122066aa80550155feea619908f6d3c3176)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodo_rootfs: Add PACKAGE_FEED_URIS as a vardep
David Nyström [Thu, 27 Feb 2014 20:20:38 +0000 (21:20 +0100)]
do_rootfs: Add PACKAGE_FEED_URIS as a vardep

A bit uncertain on where to put this, suggestions welcome.
Needed to automatically rebuild do_rootfs when PACKAGE_FEED_URIS
change.

(From OE-Core rev: c779bf78f2e1f66f3c8a6b02054e39bee4ea88a5)

Signed-off-by: David Nyström <david.c.nystrom@gmail.com>
Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodo_rootfs: Added PACKAGE_FEED_URIS functionality
David Nyström [Thu, 27 Feb 2014 20:20:37 +0000 (21:20 +0100)]
do_rootfs: Added PACKAGE_FEED_URIS functionality

Adding a common interface to add predefined package manager
channels to prebuilt rootfs:es.

Adding PACKAGE_FEED_URIS = "http://myre.po/repo/, will
assume repo directories named (rpm,ipk,deb) as subdirectories
and statically add them to the rootfs, using the same PKG_ARCHs
as the build which produced the images.

Tested with RPM, IPK and DEB.

deb feed functionality seem broken, is anyone using this ?

(From OE-Core rev: 9b8811045546ad67b4695d980f09636d5506e50c)

Signed-off-by: David Nyström <david.c.nystrom@gmail.com>
Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.py: use subprocess.Popen for rpmdeps call
Martin Jansa [Sun, 23 Feb 2014 10:44:22 +0000 (11:44 +0100)]
package.py: use subprocess.Popen for rpmdeps call

* I've noticed errors like this in log.do_package:

  DEBUG: Executing python function package_do_filedeps
  sh: 1: Syntax error: "(" unexpected
  sh: 1: Syntax error: "(" unexpected
  DEBUG: Python function package_do_filedeps finished

  which are actually caused by some filenames included in package
  containing '()' characters

  Maybe we should change meta/classes/package.bbclass to
  fail when some filedeprunner call fails like this and fix
  filedeprunner to escape '()' and other possibly dangerous chars
  it's called like this:
  processed = list(pool.imap(oe.package.filedeprunner, pkglist))

* don't use shell=True
* show the command when it fails and let do_package task to fail

(From OE-Core rev: 148c04c1bf39ca0d21288fdce61c51dc8e1c3226)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane: Special case kernel modules for x32 targets
Nitin A Kamble [Tue, 4 Mar 2014 18:17:52 +0000 (10:17 -0800)]
insane: Special case kernel modules for x32 targets

The Kernel module packages for x32 target have 64 bit binaries, which
breaks the QA_check expecting all the packages to be 32bit.

Make a special case for kernel module packages for x32 targets, to avoid
this false error.

Fixes Bug:
[YOCTO #5903]

(From OE-Core rev: a4261ab92735abfba835e916931d2e920f335aaa)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager.py: make list_installed() list pkg dependencies too
Laurentiu Palcu [Wed, 5 Mar 2014 11:53:56 +0000 (13:53 +0200)]
package_manager.py: make list_installed() list pkg dependencies too

list_installed("deps") will now return the package dependencies.

(From OE-Core rev: b16cd9eaa8190dc678af9d98a9bc4fb690809c5f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodhcp-client: fix invoke dhclient-script failed on Read-only file system
Hongxu Jia [Wed, 5 Mar 2014 08:38:29 +0000 (16:38 +0800)]
dhcp-client: fix invoke dhclient-script failed on Read-only file system

In read-only file system, '/etc' is on the readonly partition,
and '/etc/resolv.conf' is symlinked to a separate writable
partition.

In this situation, we should use shell variable to instead of
the temp file '/etc/resolv.conf.dhclient'.

[YOCTO #5624]
(From OE-Core rev: df793f4356b411cbb92445c4559c9b21eb6d99fc)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: use autotools-brokensep
Saul Wold [Tue, 4 Mar 2014 18:35:12 +0000 (10:35 -0800)]
grub-efi: use autotools-brokensep

(From OE-Core rev: ee4a68dd11d6c18681a6d3fdbcd7428136eaaf62)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoncurses: use lnr instead of python code
Ross Burton [Mon, 3 Mar 2014 20:23:35 +0000 (20:23 +0000)]
ncurses: use lnr instead of python code

Drop the use of custom Python code and instead use the new lnr script to
generate relative symlinks.

(From OE-Core rev: efe328d3713f60257358cab5d7c6a1d38d1a8d88)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts: add lnr (link relative)
Ross Burton [Mon, 3 Mar 2014 20:23:34 +0000 (20:23 +0000)]
scripts: add lnr (link relative)

lnr is a simple script to generate relative symlinks from absolute paths,
similar to "ln -r" but without requiring coreutils 8.16 (Ubuntu 12.04 and others
currently ship 8.13).

(From OE-Core rev: 6ae3b85eaffd1b0b6914422e8de7c1230723157d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane: check packages for absolute symlinks to the tmpdir
Ross Burton [Mon, 3 Mar 2014 20:23:33 +0000 (20:23 +0000)]
insane: check packages for absolute symlinks to the tmpdir

Add a sanity test that checks for symlinks in packages that point into the
TMPDIR on the host.

(From OE-Core rev: 9e28808a6d6f47dc10ad87b878c7e912c2bbe16f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: force some values in local.conf for _sstatetests_noauto.py
Corneliu Stoicescu [Thu, 6 Mar 2014 16:35:56 +0000 (18:35 +0200)]
oe-selftest: force some values in local.conf for _sstatetests_noauto.py

1) Some values should have default values in order for tests like sstate relocation to be relevant
   - SSTATE_DIR needs to have default value
   - SSTATE_MIRRORS need to be unset (we need the sstate files to be created)
   - TMPDIR needs to be in default location

2) Added conf/auto.conf to list of ported files to secondary build directories

(From OE-Core rev: 3b98de79e14c44e70fd72ed94493a674444bdba2)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: optimize code in _sstatetests_noauto.py module
Corneliu Stoicescu [Thu, 6 Mar 2014 16:35:55 +0000 (18:35 +0200)]
oe-selftest: optimize code in _sstatetests_noauto.py module

1) Some of the checks made when creating new directories are unnecessary beacause
the test will fail anyway if os.mkdir() fails, with the appropriate error message.

Removing this code.

2) Moved the adding to tracked paths for deletion of temporary build directories
and sstate-cache directories to after they are created. This makes more sense
and prevents deletion of these directories if they allready exist and may contain
useful data.

(From OE-Core rev: d002bcf7f80fd9652d3f310957c99bd1e6c8b3a1)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconsolekit: fix console-kit-log-system-start.service startup
Jonathan Liu [Fri, 28 Feb 2014 00:15:27 +0000 (11:15 +1100)]
consolekit: fix console-kit-log-system-start.service startup

console-kit-log-system-start.service fails to to start if the
/var/log/ConsoleKit directory does not exist. Normally it is created
automatically but as we mount a tmpfs at /var/log, we need to add
a tmpfiles.d entry to create it.

(From OE-Core rev: 2a9a14bf400fe0c263c58aa85b02aba7311b1328)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: run rpc.statd as rpcuser:rpcuser instead of rpcuser:root
Jackie Huang [Tue, 4 Mar 2014 03:39:00 +0000 (11:39 +0800)]
nfs-utils: run rpc.statd as rpcuser:rpcuser instead of rpcuser:root

For security policy, change the group of running rpc.stdtd to rpcuser,
just like Radhat does.

(From OE-Core rev: 7f922a7b65690fcc110413b83953d466d46e977b)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpcbind: add rpc user and run rpcbind daemon with rpc user
Jackie Huang [Tue, 4 Mar 2014 10:07:57 +0000 (18:07 +0800)]
rpcbind: add rpc user and run rpcbind daemon with rpc user

For security policy, change to run rpcbind daemon with rpc user
just like Redhat does, so set the --with-rpcuser to rpc and add rpc user.

(From OE-Core rev: 52f7a1b403eabc52ca104f752484ec1572f2d9dd)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: don't use oe.path.relative
Ross Burton [Tue, 4 Mar 2014 16:46:02 +0000 (16:46 +0000)]
perf: don't use oe.path.relative

Instead of using oe.path.relative, use the Python Standard Library function
os.path.relpath.

(From OE-Core rev: 01f640f2e878ef86db4138f422fdf74f5f41c8c5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross: don't use oe.path.relative
Ross Burton [Tue, 4 Mar 2014 16:46:01 +0000 (16:46 +0000)]
gcc-cross: don't use oe.path.relative

Instead of using oe.path.relative, use the Python Standard Library function
os.path.relpath.

(From OE-Core rev: 90c3a0401c566e26d89a5c0410b2a51fe27b95b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe: drop custom implementation of oe.path.relative
Ross Burton [Mon, 3 Mar 2014 20:26:19 +0000 (20:26 +0000)]
lib/oe: drop custom implementation of oe.path.relative

As we now require Python 2.7 and os.path.relpath() was added in 2.6 we can now
drop the reimplementation in oe.path.

oe.path.relative is simple now a wrapper that changes the order of the arguments
and it's use discouraged.

(From OE-Core rev: 1a03cd16401d2926bba902ffc5df30911b5c9394)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopango: Fix postinst by adding missing qemu-native dependency
Martin Jansa [Sat, 1 Mar 2014 20:52:47 +0000 (21:52 +0100)]
pango: Fix postinst by adding missing qemu-native dependency

* postinst_prologue calls qemu_run_binary but there is no
  dependency on qemu-native which causes postinst to sometimes
  fail which is fatal for building read-only rootfs

(From OE-Core rev: fc14983ae62dc4eb9f08e8f172ac51faaa6bcae2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcc: make sure symlinks are created in a valid directory
Alexandru-Cezar Sardan [Mon, 3 Mar 2014 17:45:38 +0000 (19:45 +0200)]
libgcc: make sure symlinks are created in a valid directory

When adding extra symlinks, we have to make sure that the directory
that the links are created in is valid. Added a check for this.

This is an incremental addition to commit
97f2a81d6796ddaf7bbaab86c2ab9039673c732c

(From OE-Core rev: ea297e807f4f84c281e0f8c6c4470ee3f3fa949b)

Signed-off-by: Alexandru-Cezar Sardan <alexandru.sardan@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-numpy: fix build for qemumips and qemuppc
Chen Qi [Tue, 4 Mar 2014 01:51:33 +0000 (09:51 +0800)]
python-numpy: fix build for qemumips and qemuppc

When building python-numpy for qemumips or qemuppc, the following error
appeared.

cp: cannot stat `xxx/python-numpy/1.7.0-r1/*config.h': No such file or directory

This is because for qemumips or qemuppc, there are no such files in SRC_URI.

This patch fixes this compiling error by adding necessary files to the SRC_URI.

(From OE-Core rev: 15582a25f964e53d28ca0b5c94df3a803c366fed)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer: Fix valgrind determism problem in the same way as gstreamer 0.10
Richard Purdie [Thu, 6 Mar 2014 10:58:58 +0000 (10:58 +0000)]
gstreamer: Fix valgrind determism problem in the same way as gstreamer 0.10

(From OE-Core rev: 81006fe51340bba284131fa9ebc45da129b9a4ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpgrade to systemd-stable v208
Khem Raj [Tue, 4 Mar 2014 23:22:15 +0000 (15:22 -0800)]
Upgrade to systemd-stable v208

Additional changes in ptest code since now
we have directories and not only bunch of files
under test/ dir so a simple install does not
work anymore we have to cp the files

(From OE-Core rev: e201f291b269c70d732778b34de01529aca387b5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/buildhistory: fix task signatures changing
Paul Eggleton [Mon, 3 Mar 2014 15:45:57 +0000 (15:45 +0000)]
classes/buildhistory: fix task signatures changing

Fix task signatures for recipes that add to SSTATEPOSTINSTFUNCS changing
when adding and removing INHERIT += "buildhistory" (really this time!)

This relies on the BitBake vardepvalueexclude feature, however it will
not fail without it - signatures will be changed in that case though.

Part of the fix for [YOCTO #5897].

(From OE-Core rev: 27c8a9a282358b9a8a330252ee2104b250777b38)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: add new vardepvalueexclude varflag to BB_SIGNATURE_EXCLUDE_FLAGS
Paul Eggleton [Mon, 3 Mar 2014 15:44:34 +0000 (15:44 +0000)]
bitbake.conf: add new vardepvalueexclude varflag to BB_SIGNATURE_EXCLUDE_FLAGS

We don't want the value of this varflag itself entering any signatures,
ever.

Part of the fix for [YOCTO #5897].

(From OE-Core rev: 1497d3d4b10844aa19ce6dcceed25aa36454160f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-utils: Update to latest git master
Paul Barker [Fri, 7 Mar 2014 00:57:02 +0000 (00:57 +0000)]
opkg-utils: Update to latest git master

The latest commit in opkg-utils allows packages created by opkg-build to be read
by dpkg-deb again.

(From OE-Core rev: 219944af2700ce9dbc425fac384cd32b0a802123)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Add upstream fix for gcc bug 58595
Tom Zanussi [Fri, 7 Mar 2014 04:26:22 +0000 (22:26 -0600)]
gcc: Add upstream fix for gcc bug 58595

Fix for internal compiler error hit when building lttng-tools_4.2.0:

 kernel-consumer.c:324:1: internal compiler error: in gen_movsi, at
   config/arm/arm.md:5539

(From OE-Core rev: ec1d5bdf4cc0a7a3e4747b42b7b95805752bea07)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-ust: Disable doc/examples in the build
Tom Zanussi [Fri, 7 Mar 2014 04:26:21 +0000 (22:26 -0600)]
lttng-ust: Disable doc/examples in the build

Don't build the doc examples - we don't need them and in fact they
never successfully built in previous iterations of the lttng-ust
recipe anyway.

(From OE-Core rev: d798bd1d25ae0e57b65758c54f033afda96c14e1)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: Fix 3.14 bio tracepoints
Tom Zanussi [Fri, 7 Mar 2014 04:26:20 +0000 (22:26 -0600)]
lttng-modules: Fix 3.14 bio tracepoints

The mainline 3.14 commit 'block: Astract out bvec iterator' broke the
lttng-modules tracepoints.  Fix them here.

(From OE-Core rev: c11b29ff4f24af0445c3c6a694b8dc2037dcd7e4)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: Exclude arm
Tom Zanussi [Fri, 7 Mar 2014 04:26:19 +0000 (22:26 -0600)]
lttng-modules: Exclude arm

lttng-modules and gcc-4.8 don't mix, according to the lttng ML
'current_thread_info() not respecting program order with gcc 4.8.x',
so remove it from arm builds.

(From OE-Core rev: ccf687de7b856dbe6f347956743f07ff05c2533a)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-ust: Add version 2.4.0
Tom Zanussi [Fri, 7 Mar 2014 04:26:18 +0000 (22:26 -0600)]
lttng-ust: Add version 2.4.0

This updates lttng-ust to 2.4.0, codenamed Époque Opaque, needed
for interoperability with lttng-modules and the 3.14 (dev) kernel.

(From OE-Core rev: b4ae73a86ccf62a508faa76dc349bbab02540c37)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: Add version 2.4.0
Tom Zanussi [Fri, 7 Mar 2014 04:26:17 +0000 (22:26 -0600)]
lttng-tools: Add version 2.4.0

This updates lttng-tools to 2.4.0, codenamed Époque Opaque, needed
for interoperability with lttng-modules and the 3.14 (dev) kernel.

(From OE-Core rev: da5aaafa8c47d9daadb34adbddc93e0f18ec6259)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: Add version 2.4.0
Tom Zanussi [Fri, 7 Mar 2014 04:26:16 +0000 (22:26 -0600)]
lttng-modules: Add version 2.4.0

This updates lttng-modules to 2.4.0, codenamed Époque Opaque, needed
for interoperability with the 3.14 (dev) kernel.

(From OE-Core rev: bc9a310f920ae17330c749f2263f884423e9b050)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agojs: remove
Paul Eggleton [Thu, 6 Mar 2014 15:26:01 +0000 (15:26 +0000)]
js: remove

This is a very old version of Mozilla's Javascript engine, isn't
actually used by anything in OE-Core now that web is gone, and in public
layers outside of OE-Core is apparently only used by mediatomb within
meta-baryon.

(From OE-Core rev: 8b94925adf4428c4e155ef9fd79d33703968d9da)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agozaurusd: remove
Paul Eggleton [Thu, 6 Mar 2014 15:26:00 +0000 (15:26 +0000)]
zaurusd: remove

Despite the fact that it's currently specific to the Sharp Zaurus, we
kept this in OE-Core up to now as a potential basis for better handling
of device-specific customisations for a wider range of devices. Whilst
moving device-specific customisations to a more central point is still
a laudable goal, these days such functionality probably wouldn't be
implemented on top of zaurusd or even in the same way as zaurusd, and
thus it makes sense to leave its recipe to be maintained in the
meta-handheld layer (where a current recipe already exists.)

(From OE-Core rev: 3255b9de49c8b4d74cce3a2a0e750d3d3e698b59)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>