]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
11 years agouser-manual-metadata.xml: General cleanup to "Parsing and Execution"
Scott Rifenbark [Fri, 7 Feb 2014 23:31:43 +0000 (17:31 -0600)] 
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.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits to "Variable Flags" section
Scott Rifenbark [Fri, 7 Feb 2014 20:39:47 +0000 (14:39 -0600)] 
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.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Rewrite of the "Tasks" section.
Scott Rifenbark [Wed, 5 Feb 2014 22:31:46 +0000 (16:31 -0600)] 
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".

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Rewrite of the "Functions" section.
Scott Rifenbark [Wed, 5 Feb 2014 22:29:54 +0000 (16:29 -0600)] 
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.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Edits to SRC_URI.
Scott Rifenbark [Wed, 5 Feb 2014 14:15:37 +0000 (08:15 -0600)] 
user-manual-ref-variables.xml: Edits to SRC_URI.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Edits to BBCLASSEXTEND.
Scott Rifenbark [Wed, 5 Feb 2014 14:06:59 +0000 (08:06 -0600)] 
user-manual-ref-variables.xml: Edits to BBCLASSEXTEND.

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

Applied some review edits from Paul to the section.

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

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

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoasterui: fix task identification
Alexandru DAMIAN [Wed, 5 Mar 2014 14:59:55 +0000 (14:59 +0000)] 
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.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: fix issues in the build table
Alexandru DAMIAN [Fri, 21 Feb 2014 15:23:52 +0000 (15:23 +0000)] 
toaster: fix issues in the build table

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

[YOCTO #5455]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoasterui: fix status update on failed sstate tasks
Alexandru DAMIAN [Fri, 21 Feb 2014 11:59:38 +0000 (11:59 +0000)] 
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.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: update database schema
Alexandru DAMIAN [Thu, 20 Feb 2014 12:47:55 +0000 (12:47 +0000)] 
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]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Move long content toggle to main.js
Belen Barros Pena [Wed, 19 Feb 2014 21:08:15 +0000 (21:08 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: implement the configuration pagedreyna/configure-detail-view
David Reyna [Fri, 28 Feb 2014 13:55:46 +0000 (05:55 -0800)] 
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]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
11 years agotoaster: View detailed information about a task
Ravi Chintakunta [Tue, 18 Feb 2014 04:30:41 +0000 (23:30 -0500)] 
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]

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>
11 years agotoaster: Bug fix in reload page with parameters
Ravi Chintakunta [Tue, 18 Feb 2014 04:26:10 +0000 (23:26 -0500)] 
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.

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agotoaster: Fix breadcrumb date format in detail pages
Belen Barros Pena [Wed, 19 Feb 2014 10:57:56 +0000 (10:57 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Sort packages and dependencies in recipe.html
Belen Barros Pena [Wed, 19 Feb 2014 10:35:27 +0000 (10:35 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Change popover headings in recipes table
Belen Barros Pena [Wed, 19 Feb 2014 09:54:47 +0000 (09:54 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Change help text for Section
Belen Barros Pena [Wed, 19 Feb 2014 09:45:24 +0000 (09:45 +0000)] 
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"

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Hide the applied filter tooltip on click
Belen Barros Pena [Wed, 19 Feb 2014 09:32:23 +0000 (09:32 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Add .muted class to disabled checkboxes
Belen Barros Pena [Wed, 19 Feb 2014 00:38:28 +0000 (00:38 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Set the right styles for definition lists
Belen Barros Pena [Tue, 18 Feb 2014 14:29:26 +0000 (14:29 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Set correct string for missed sstate attempts
Belen Barros Pena [Tue, 18 Feb 2014 12:08:40 +0000 (12:08 +0000)] 
toaster: Set correct string for missed sstate attempts

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

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Remove inline styles in h1
Belen Barros Pena [Thu, 6 Feb 2014 18:57:56 +0000 (18:57 +0000)] 
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.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: extend Tasks to include Time, Disk IO, and CPU Usage
David Reyna [Fri, 14 Feb 2014 22:58:20 +0000 (14:58 -0800)] 
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]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
11 years agotoasterui: add asserts on expected values
Alexandru DAMIAN [Wed, 19 Feb 2014 17:26:18 +0000 (17:26 +0000)] 
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]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoasterui: task data structure in toasterui
Alexandru DAMIAN [Tue, 18 Feb 2014 18:41:47 +0000 (18:41 +0000)] 
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.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agobb/ui: store_dependency_information optimization
Marius Avram [Tue, 18 Feb 2014 14:39:24 +0000 (16:39 +0200)] 
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.

Signed-off-by: Marius Avram <marius.avram@intel.com>
11 years agotoaster: array-assignment fix from Chome
Alexandru DAMIAN [Mon, 10 Feb 2014 14:24:48 +0000 (14:24 +0000)] 
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.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: mark dependency packages
Alexandru DAMIAN [Mon, 10 Feb 2014 14:26:12 +0000 (14:26 +0000)] 
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]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoasterui: adding new task outcome empty
Alexandru DAMIAN [Thu, 13 Feb 2014 13:12:39 +0000 (13:12 +0000)] 
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]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoastergui: fix task executed status display
Alexandru DAMIAN [Thu, 13 Feb 2014 13:36:54 +0000 (13:36 +0000)] 
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]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agofetch2/wget: Fix downloadfilename functionality
Richard Purdie [Sun, 9 Mar 2014 18:11:30 +0000 (11:11 -0700)] 
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Fix typo
Richard Purdie [Thu, 6 Mar 2014 22:34:33 +0000 (22:34 +0000)] 
runqueue: Fix typo

slef.self is clearly meant to be self, fix typo.

Otavio spotted and reported, thanks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodata: add vardepvalueexclude varflag
Paul Eggleton [Mon, 3 Mar 2014 16:54:31 +0000 (16:54 +0000)] 
data: add vardepvalueexclude varflag

On rare occasions it's useful to be able to exclude a part of a
variable's value from the variable's signature; for example if you want
to add an item to a list sometimes and not have the signature of the
variable change depending on whether the item is in the list or not. The
initial intended use case for this in OpenEmbedded is to allow adding a
function to SSTATEPOSTINSTFUNCS in buildhistory.bbclass and not have
that change any task signatures (so adding and removing
INHERIT += "buildhistory" won't lead to any rebuilds).

Part of the fix for [YOCTO #5897].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2: Drop svk fetcher
Richard Purdie [Fri, 28 Feb 2014 17:43:49 +0000 (17:43 +0000)] 
fetch2: Drop svk fetcher

The svk fetcher never appears to be used by anyone and the development
on svk appears to have stopped in 2010. We might as well drop support
for it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocodeparser: Fix var_execs to append to execs, not references
Richard Purdie [Fri, 28 Feb 2014 17:38:15 +0000 (17:38 +0000)] 
codeparser: Fix var_execs to append to execs, not references

When using the "execs" information in new code, it became clear that
the returned data was incorrect and there were missing exec'd functions.
This corrects the error and changes one of the test results to match
the correct behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch/wget: Separate out download and checkstatus functions
Richard Purdie [Fri, 28 Feb 2014 17:26:20 +0000 (17:26 +0000)] 
fetch/wget: Separate out download and checkstatus functions

These two functions have little in common, separate them out.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch/wget: Start to clean up command construction
Richard Purdie [Fri, 28 Feb 2014 17:25:21 +0000 (17:25 +0000)] 
fetch/wget: Start to clean up command construction

Start to clean up wget fetcher command construction to allow clearer
and more extensible code structure. Drops support for ${URI} and
${FILE} directly in the commands.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowget: Drop usage of old style *COMMAND variables
Richard Purdie [Fri, 28 Feb 2014 17:56:04 +0000 (17:56 +0000)] 
wget: Drop usage of old style *COMMAND variables

These variables were dropped from OE-Core some time ago, drop their
usage from the fetcher as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch/svk: Drop usage of old style *COMMAND variable and MKTEMPDIRCMD
Richard Purdie [Fri, 28 Feb 2014 17:24:24 +0000 (17:24 +0000)] 
fetch/svk: Drop usage of old style *COMMAND variable and MKTEMPDIRCMD

Clean up some horrible old code and drop usage of the old style *COMMAND
variable and MKTEMPDIRCMD whilst in here. This means we don't need to touch
OVERRIDES either.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch/perforce: Drop usage of old style *COMMAND variable and MKTEMPDIRCMD
Richard Purdie [Fri, 28 Feb 2014 17:23:45 +0000 (17:23 +0000)] 
fetch/perforce: Drop usage of old style *COMMAND variable and MKTEMPDIRCMD

Clean up some horrible old code and drop usage of the old style *COMMAND
variable and MKTEMPDIRCMD whilst in here. This means we don't need to touch
OVERRIDES either.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch/git: Separate out an ls-remote function
Richard Purdie [Fri, 28 Feb 2014 17:22:54 +0000 (17:22 +0000)] 
fetch/git: Separate out an ls-remote function

There is other code which can want to run ls-remote style commands with
different parameters so split out the function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotests: add test for gitsm fetcher
Paul Eggleton [Mon, 24 Feb 2014 18:50:05 +0000 (18:50 +0000)] 
tests: add test for gitsm fetcher

Use a newly created "git-submodule-test" repo on git.yoctoproject.org
which currently contains one submodule (the bitbake repository).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotests: add missing import
Paul Eggleton [Mon, 24 Feb 2014 18:50:04 +0000 (18:50 +0000)] 
tests: add missing import

This was found when trying to run the data tests individually.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake-selftest: enable specifying tests to run on command line
Paul Eggleton [Mon, 24 Feb 2014 18:50:03 +0000 (18:50 +0000)] 
bitbake-selftest: enable specifying tests to run on command line

If you are just trying to fix one test at a time, it can be useful to be
able to specify an individual test(s) rather than running them all:

 bitbake-selftest bb.tests.codeparser bb.tests.cow

You can even specify the test class or function to run, e.g.:

 bitbake-selftest bb.tests.fetch.URITest
 bitbake-selftest bb.tests.fetch.FetcherNetworkTest.test_fetch

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2: fix fetching git submodules with git 1.7.9.x or older
Paul Eggleton [Mon, 24 Feb 2014 18:50:02 +0000 (18:50 +0000)] 
fetch2: fix fetching git submodules with git 1.7.9.x or older

Git versions older than 1.7.10 put absolute paths in configuration files
for the submodule repositories, leading to errors when the repository
checkout is moved. We move the repository as a matter of course in the
gitsm fetcher; the failure occurs in do_unpack). Change the absolute
paths to be relative during processing to fix this.

(At the time of writing, Ubuntu 12.04.4 LTS ships Git version 1.7.9.5,
hence the desire to fix this rather than just mandating a newer Git
version.)

Fixes [YOCTO #5525].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: append bbfiles to bblayers.conf instead of local.conf
Cristiana Voicu [Tue, 25 Feb 2014 13:30:12 +0000 (15:30 +0200)] 
hob: append bbfiles to bblayers.conf instead of local.conf

[YOCTO #5118]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: remove the code that adds hob layer to bblayers
Cristiana Voicu [Tue, 25 Feb 2014 13:30:11 +0000 (15:30 +0200)] 
hob: remove the code that adds hob layer to bblayers

[YOCTO #5118]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: create a base hob image used to create custom images
Cristiana Voicu [Tue, 25 Feb 2014 13:30:10 +0000 (15:30 +0200)] 
hob: create a base hob image used to create custom images

In order to remove hob-image.bb from meta-hob, a hob-image.bb should
be created somewhere in the build directory. I've saved it in build/recipes/images
directory, and moved the templates to recipes/images/custom (here are those
templates saved by the user).
The image is created when hob starts. Also it appends to BBFILES the directory
where it is created.

Removed images directory from meta-hob.

[YOCTO #5118]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild: filter out expanded empty strings for lockfiles flag
Stefan Stanacar [Thu, 27 Feb 2014 15:42:07 +0000 (17:42 +0200)] 
build: filter out expanded empty strings for lockfiles flag

If we have something similar to:

    LOCKFILES = "${TMPDIR}/my.lock"
    LOCKFILES_qemuall = ""

    do_task[lockfiles] += "${LOCKFILES}"

when expanded, lockfiles will be empty for qemu, resulting in

     File "/home/stefans/yocto/poky/bitbake/lib/bb/utils.py", line 630, in mkdirhier
raise e
    OSError: [Errno 2] No such file or directory: ''

This should filter out the empty expansions.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohob: replace the use of hob-toolchain with populate_sdk task
Cristiana Voicu [Tue, 25 Feb 2014 07:15:31 +0000 (09:15 +0200)] 
hob: replace the use of hob-toolchain with populate_sdk task

Now bitbake has an API to run individual task for targets.
Hob can use this to build the sdk, instead of using the hob-
toolchain.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofetch2: Fix mirror repo tarball creation
Richard Purdie [Mon, 24 Feb 2014 12:57:38 +0000 (12:57 +0000)] 
fetch2: Fix mirror repo tarball creation

A typo was meaning that the mirror creation method wasn't being called
when it should have been. Fix the type to fix mirror tarball creation.

[YOCTO #5284]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Catch ValueError from pickle.loads
Martin Jansa [Sun, 23 Feb 2014 10:02:18 +0000 (11:02 +0100)] 
runqueue: Catch ValueError from pickle.loads

* exception like this keeps spinning quite quickly generating GBs of logs
  better to kill it asap and show invalid pickle

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoast: Fix support for anonymous methods in wildcard .bbappend files
Jacob Kroon [Sat, 22 Feb 2014 16:52:29 +0000 (17:52 +0100)] 
ast: Fix support for anonymous methods in wildcard .bbappend files

When using wildcard .bbappend files with anonymous methods in them,
bitbake/python fails to parse the generated code since the '%' is encoded
in the generated method name.

Fix this by including '%' in the convert-to-underscore list during
method name mangling.

While we're at it, move the method name mangling translation table
to a class variable, as suggested by Chris Larson.

[YOCTO #5864]

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoaster: implement package summary page
David Reyna [Fri, 7 Feb 2014 05:21:58 +0000 (21:21 -0800)] 
toaster: implement package summary page

Implement the updated design for the package summay page, with pop-up
boxes for the layer commit ids, column filtering, and column sorting
support.

[YOCTO #4318]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
11 years agotoaster: implement recipe summary page
David Reyna [Fri, 7 Feb 2014 05:06:27 +0000 (21:06 -0800)] 
toaster: implement recipe summary page

Implement the updated design for the recipe summay page, with pop-up
boxes for the dependecies and layer commit ids, column filtering, and
column sorting support.

[YOCTO #4294]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
11 years agotoaster: Make popovers mutually exclusive
Belen Barros Pena [Thu, 6 Feb 2014 00:24:58 +0000 (00:24 +0000)] 
toaster: Make popovers mutually exclusive

Table popovers should be mutually exclusive (only one
of them should be open at any given time), and should
close when you click outside their area. But this is not
the default popover behaviour in Bootstrap, so some
additional javascript is needed.

The code in main.js taking care of this in the design
prototype was quite ugly and didn't get on well with
certain browsers. I have replaced it with a better
solution (although still not ideal).

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Make popovers scrollable
Belen Barros Pena [Thu, 6 Feb 2014 00:20:41 +0000 (00:20 +0000)] 
toaster: Make popovers scrollable

Some recipes and packages have a lot of dependencies.
To stop their popovers from taking over the full
height of the screen, I have given them a maximum
height and made their content scrollable in
default.css

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Make all targets links to the build dashboard
Belen Barros Pena [Wed, 5 Feb 2014 18:22:34 +0000 (18:22 +0000)] 
toaster: Make all targets links to the build dashboard

Change the build.html template to remove the conditional check
that added links to the build dashboard only to those targets
that are image recipes.

All targets should be links to their corresponding build
dashboard.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Select a radio button by default in Filter Dialog
Ravi Chintakunta [Thu, 6 Feb 2014 03:54:46 +0000 (22:54 -0500)] 
toaster: Select a radio button by default in Filter Dialog

If none of the filter options in the filter dialog are active,
then select the first radio button.

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agotoaster: Fix for task_color tag
Belen Barros Pena [Fri, 31 Jan 2014 07:08:40 +0000 (07:08 +0000)] 
toaster: Fix for task_color tag

This patch changes the task_color tag in
projecttags.py to make sure it adds the error
class to the rows corresponding to failed tasks
in the tasks table.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Apply error style to cell links
Belen Barros Pena [Fri, 31 Jan 2014 07:02:32 +0000 (07:02 +0000)] 
toaster: Apply error style to cell links

This patch changes default.css so that any anchor
tag inside a table cell with the error class applied
inherits the class styles. This ensures that the
failed tasks listed in the builds table look red
like the failed tasks in the tasks table.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
11 years agotoaster: Make "Edit columns" multiselect
Belen Barros [Tue, 4 Feb 2014 15:23:10 +0000 (15:23 +0000)] 
toaster: Make "Edit columns" multiselect

Twitter Boostrap elements with the dropdown-menu class
close by default once a selection is performed. Such
behaviour is not appropriate for our "Edit columns" menu,
since users might want to check / uncheck several
columns.

This patch adds a call to the stopPropagation() jQuery
function to main.js to stop the "Edit columns" menu
from closing every time you change a checkbox.

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
11 years agotoaster: fix javascript for table filters
Alexandru DAMIAN [Tue, 4 Feb 2014 17:38:17 +0000 (17:38 +0000)] 
toaster: fix javascript for table filters

This patch adds javascript link for resetting page filters
in the tool tip "Show all" button.

Also fixes a JS bug for when the cookie is not set yet.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Add clear filter button to filter tooltips
Belen Barros [Mon, 3 Feb 2014 15:35:47 +0000 (15:35 +0000)] 
toaster: Add clear filter button to filter tooltips

This patch modifies the basetable_top.html template to add
the 'Show all' button to the applied filter tooltip. It also
adds a delay in the tooltip dismissal in main.js to allow
users to click the button comfortably.

The patch does not add the functionality to the button (when
you click on it nothing happens). Someone else will need
to add that in.

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
11 years agotoaster: Clean up main.js
Belen Barros [Mon, 27 Jan 2014 14:05:54 +0000 (14:05 +0000)] 
toaster: Clean up main.js

Clean up main.js to leave only what is being
used in the design prototype.

Initialise the Bootstrap tooltips for any anchor tag inside
a table heading with the btn-primary class applied. This
effectively styles the title attribute of the applied
filters to look like all other Toaster tooltips.

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Clean up default.css
Belen Barros [Mon, 3 Feb 2014 11:27:02 +0000 (11:27 +0000)] 
toaster: Clean up default.css

Getting rid of all unused css declarations, grouping
and annotating to make the file more readable.

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Implementation of package detail views
Dave Lerner [Thu, 23 Jan 2014 17:47:41 +0000 (11:47 -0600)] 
toaster: Implementation of package detail views

Adds new package detail views.  The views are based on
specifications found in attachments to:
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328
specifically:
    design-1.5.1-package-details.pdf, and
    design-1.1.1-included-package-details.

This patch includes a redefinition of constant numbers for
task dependency tasks. This is needed in order to achieve
sorting criteria from the design.

This change invalidates currently dependency information for
currently existing builds, as it breaks compatibility.

[YOCTO #4328]

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Added sorting to other columns in All tasks table
Ravi Chintakunta [Sat, 25 Jan 2014 23:27:35 +0000 (18:27 -0500)] 
toaster: Added sorting to other columns in All tasks table

Added sorting to recipe, time, cpu, disk i/o and log columns of
all tasks table

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
11 years agotoaster: Fix builds view filter options to match changes in filter dialog
Ravi Chintakunta [Wed, 22 Jan 2014 02:43:33 +0000 (21:43 -0500)] 
toaster: Fix builds view filter options to match changes in filter dialog

Filter dialog uses an array of tuples for filter options.Fixed the builds view
by changing the filter options from a dictionary to a list of tuples.

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agotoaster: Filter Dialog fix to display filter options as radio buttons
Ravi Chintakunta [Fri, 17 Jan 2014 21:27:29 +0000 (16:27 -0500)] 
toaster: Filter Dialog fix to display filter options as radio buttons

- Filter options are displayed as radio buttons in the filter dialog.
- To preserve the order of the filter options, the options are passed
as tuples inside a list, instead of key/value pairs of a dictionary. Changed
the filter dialog code to use the tuple

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agotoaster: Removed unused 'disabled' css class in Filter dialog
Ravi Chintakunta [Sat, 25 Jan 2014 23:52:53 +0000 (18:52 -0500)] 
toaster: Removed unused 'disabled' css class in Filter dialog

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
11 years agobuild: fix handling of task override for tasks with underscores in their names
Paul Eggleton [Mon, 17 Feb 2014 14:07:41 +0000 (14:07 +0000)] 
build: fix handling of task override for tasks with underscores in their names

Tasks whose names contain underscores (such as do_populate_sdk in OE)
when converted to a task override do not function properly. If we
replace underscores with hyphens we can still have a working override
for these tasks.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoparse: make vars_from_file return None for non-recipes
Paul Eggleton [Mon, 17 Feb 2014 14:07:40 +0000 (14:07 +0000)] 
parse: make vars_from_file return None for non-recipes

It doesn't really make sense to set PN from .conf files, for example.
More concretely, this avoids the config hash changing unnecessarily
within Hob due to PN effectively changing (since bblayers.conf is
parsed first and then .hob.conf).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Fix silly variable overlap
Richard Purdie [Sat, 15 Feb 2014 13:49:38 +0000 (13:49 +0000)] 
runqueue: Fix silly variable overlap

A previous commit of mine used the target variable for two different uses
resulting in a lot more sstate being installed than is needed.

Fix the variable to use two different names and unbreak the setscene
behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Ensure we do run 'masked' setscene tasks if specified as targets
Richard Purdie [Thu, 13 Feb 2014 15:01:25 +0000 (15:01 +0000)] 
runqueue: Ensure we do run 'masked' setscene tasks if specified as targets

If you specify multiple targets on bitbake's commandline and some of them are
setscene tasks which are "masked" by other tasks they may not get run.

For example <image>:do_rootfs <kernel>:do_populate_sysroot

the rootfs tasks "masks" the populate_sysroot task so bitbake would currently
decide not to run it. In this case, we do really want it to be run.

The fix is not to skip anything which has been given as an explict target.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual-metadata.xml: Edits to the "Sharing Functionality" section.
Scott Rifenbark [Tue, 4 Feb 2014 19:36:11 +0000 (13:36 -0600)] 
user-manual-metadata.xml: Edits to the "Sharing Functionality" section.

Applied some review edits from Paul to the section.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits to "Conditional Syntax (Overrides)"
Scott Rifenbark [Mon, 3 Feb 2014 22:55:51 +0000 (16:55 -0600)] 
user-manual-metadata.xml: Edits to "Conditional Syntax (Overrides)"

Re-wrote this section to use clearer more described examples.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits to "Defining Pure Python Functions"
Scott Rifenbark [Mon, 3 Feb 2014 18:07:43 +0000 (12:07 -0600)] 
user-manual-metadata.xml: Edits to "Defining Pure Python Functions"

Made a review edit here to the section per Paul Eggleton.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Edits through syntax section
Scott Rifenbark [Mon, 3 Feb 2014 17:51:04 +0000 (11:51 -0600)] 
user-manual-metadata.xml: Edits through syntax section

I made some general improvements in the "Overview" and
"Basic Syntax" sections.  Additionally, I added a blank
section for "Variable Flags" that will eventually hold general
information on this concept.  Finally, come review edits to the
"Defining Pure Python Functions" section per Paul Eggleton.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-intro.xml: General edits to Introduction chapter.
Scott Rifenbark [Mon, 3 Feb 2014 13:29:54 +0000 (07:29 -0600)] 
user-manual-intro.xml: General edits to Introduction chapter.

I performed a general edit to this chapter.  Some significant changes
include changing the chapter's title to "Overview" when it was titled
"BitBake User Manual", doing some consolidation of text to eliminate
a couple sections that described methods to obtain a copy of BitBake,
and various improvements as needed.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-metadata.xml: Added "Checksums (Signatures)" section.
Scott Rifenbark [Wed, 29 Jan 2014 18:06:15 +0000 (12:06 -0600)] 
user-manual-metadata.xml: Added "Checksums (Signatures)" section.

Added this section to the end of the Metadata chapter.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Review edits to several variables in glossary.
Scott Rifenbark [Mon, 27 Jan 2014 15:01:21 +0000 (09:01 -0600)] 
user-manual-ref-variables.xml: Review edits to several variables in glossary.

ASSUME_PROVIDED
BBCLASSEXTEND
SRC_URI
PACKAGES_DYNAMIC
BB_NUMBER_THREADS
BB_DANGLINGAPPENDS_WARNONLY

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added 11 new variables to glossary.
Scott Rifenbark [Fri, 24 Jan 2014 21:44:24 +0000 (15:44 -0600)] 
user-manual-ref-variables.xml: Added 11 new variables to glossary.

SRCREV_FORMAT
BUILDNAME
BB_ENV_WHITELIST
BB_PRESERVE_ENV
BB_ENV_EXTRAWHITE
BB_ORIGENV
BB_TASKHASH
BITBAKE_UI
BBDUBUG
BB_DEFAULT_TASK
BBINCLUDED

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Edits to FILESPATH.
Scott Rifenbark [Fri, 24 Jan 2014 21:10:13 +0000 (15:10 -0600)] 
user-manual-ref-variables.xml: Edits to FILESPATH.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added 6 new variables to glossary:
Scott Rifenbark [Fri, 24 Jan 2014 15:50:29 +0000 (09:50 -0600)] 
user-manual-ref-variables.xml: Added 6 new variables to glossary:

MULTI_PROVIDER_WHITELIST
CACHE
PERSISTENT_DIR
FETCHCMD
FILE
FILESDIR

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Edits to PREFERRED_PROVIDER.
Scott Rifenbark [Fri, 24 Jan 2014 15:01:36 +0000 (09:01 -0600)] 
user-manual-ref-variables.xml: Edits to PREFERRED_PROVIDER.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added PREFERRED_PROVIDERS to glossary.
Scott Rifenbark [Fri, 24 Jan 2014 14:59:25 +0000 (08:59 -0600)] 
user-manual-ref-variables.xml: Added PREFERRED_PROVIDERS to glossary.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added FAKEROOT* variables to glossary.
Scott Rifenbark [Fri, 24 Jan 2014 13:36:15 +0000 (07:36 -0600)] 
user-manual-ref-variables.xml: Added FAKEROOT* variables to glossary.

FAKEROOT
FAKEROOTCMD
FAKEROOTBASEENV
FAKEROOTDIRS
FAKEROOTENV
FAKEROOTNOENV

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agouser-manual-ref-variables.xml: Added BB* variables to glossary.
Scott Rifenbark [Thu, 23 Jan 2014 15:59:53 +0000 (09:59 -0600)] 
user-manual-ref-variables.xml: Added BB* variables to glossary.

BB_STRICT_CHECKSUM
BB_WORKERCONTEXT
BB_SIGNATURE_EXCLUDE_FLAGS
BB_HASHBASE_WHITELIST
BB_INVALIDCONF
BB_LOGFMT
BB_RUNFMT
BB_RUNTASK
BB_HASHBASE_WHITELIST
BB_STAMP_POLICY
BB_STAMP_WHITELIST
BB_SCHEDULER
BB_SCHEDULERS
BB_SETSCENE_DEPVALID
BB_SETSCENE_VERIFY_FUNCTION
BB_SIGNATURE_HANDLER
BB_SRCREV_POLICY
BB_VERBOSE_LOGS

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
11 years agorunqueue: Fix setscene hard dependency problems
Richard Purdie [Mon, 10 Feb 2014 22:50:28 +0000 (22:50 +0000)] 
runqueue: Fix setscene hard dependency problems

Commit c54e738e2b5dc0d8e6fd8e93b284ed96e7a83051 added in the idea of hard dependencies
such as the case a setscene has a hard dependency on pseudo-native and that
dependency wasn't available from sstate for some reason.

Unfortunately the implementation was a bit too enthusiastic, causing rebuilds
of things when it wasn't necessary. A test case was:

bitbake quilt-native
bitbake quilt-native -c clean
bitbake <some-image>

and then you'd watch quilt-native get rebuilt for no good reason.

The clue to the problem is in the for loop where it never depends on
the item being iterated over.

The fix is to include the exact list of hard dependencies rather than
guessing. With these changes, the use case above works, the one in
the original commit also works.

This patch also adds in or cleans up various pieces of logging to
allow issues like this to be more easily debugged in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build.py: create separate function for shell trap creation code
Laurentiu Palcu [Mon, 3 Feb 2014 11:33:07 +0000 (13:33 +0200)] 
bitbake: build.py: create separate function for shell trap creation code

Currently, the shell trap code was created in exec_func_shell(). Split
the function so that we can create the code separately.

Also, some whitespaces were automatically deleted by my editor. Since
this is not necessarily a bad thing, leave these changes too.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodata: Account for pre/postfunc functions when calculating dependencies
Richard Purdie [Mon, 3 Feb 2014 16:09:32 +0000 (16:09 +0000)] 
data: Account for pre/postfunc functions when calculating dependencies

pre/postfuncs were not being added to checksums. This meant that when reconfiguration
occurred, tasks were not always being rerun when they should. This include
sstate functions as well as systemd's do_install function in the OE metadata.

With the addition of postfuncs, its possible a shell task can have a python
pre/postfunc so we have to guard against this when generating shell output
in emit_func.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqueue: Fix race against tasks sharing stamp files
Richard Purdie [Fri, 31 Jan 2014 11:17:34 +0000 (11:17 +0000)] 
runqueue: Fix race against tasks sharing stamp files

Shared work directories work by assuming bitbake will not run
more than one task with a specific stamp name. Recent runqueue optimisations
accidentally broke this meaning there could be races. This fixes the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouser-manual: Fix issue with previous revert
Richard Purdie [Tue, 28 Jan 2014 15:29:26 +0000 (15:29 +0000)] 
user-manual: Fix issue with previous revert

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "usermanual: Updated CC License to version 3.0"
Richard Purdie [Tue, 28 Jan 2014 14:26:08 +0000 (14:26 +0000)] 
Revert "usermanual: Updated CC License to version 3.0"

This reverts commit 0546bc19557de9263b448ceb1707884543d2de56.

This change was not discussed with the copyright holders so the license
needs to remain at version 2.5.