]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
12 years agobitbake: wget: Only use -O option when not spidering
Richard Purdie [Thu, 14 Feb 2013 21:33:04 +0000 (21:33 +0000)] 
bitbake: wget: Only use -O option when not spidering

If we pass the -O option whilst spidering, empty files are created which is not
desired. We also need to ensure any subdirectories are created when using the
downloadfilename parameter.

(Bitbake rev: d5f78e98d5aba36c95288fbaac267c2d54537b02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: codeparser: Track bb.utils.contains usage
Richard Purdie [Thu, 14 Feb 2013 21:59:21 +0000 (21:59 +0000)] 
bitbake: codeparser: Track bb.utils.contains usage

The bb.utils.contains function usage is getting increasingly used in the metadata
but isn't handled automatically by the python dependency tracking code. This patch
changes that and also adds the "OE" names for the functions.

Whilst there are reasons this is a bad idea, its likely outweighed by the
shear number of these references and the current holes in dependency information
which we're now relying heavily upon.

(Bitbake rev: 0b9d117631ce909312d53b93289e61defc6be01c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: codeparser: Track appendVar and prependVar calls as we do for getVar
Richard Purdie [Thu, 14 Feb 2013 21:57:36 +0000 (21:57 +0000)] 
bitbake: codeparser: Track appendVar and prependVar calls as we do for getVar

We need to track appendVar and prependVar calls just as we do for getVar in order
to ensure we're not missing variable dependencies.

(Bitbake rev: 767b4751232f4ee3979deb4d3f733fcf9ee2bd44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopoky.conf: Add Ubuntu 12.04.2 to sanity tested distros
Khem Raj [Wed, 6 Feb 2013 05:38:53 +0000 (05:38 +0000)] 
poky.conf: Add Ubuntu 12.04.2 to sanity tested distros

I have been running poky master on this distro for some time
now, this fix will avoid the warning about validated distros
during bitbake parse phase.

(From meta-yocto rev: 09bb10c11c00ed802ec6947add93efe25b001bb9)

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>
12 years agoSolved package namespace errors in PRS
Emilia Ciobanu [Thu, 14 Feb 2013 15:51:40 +0000 (17:51 +0200)] 
Solved package namespace errors in PRS

Removed some beta versioning the system reported
for the socat package and the development version
reported by PRS for foomatic-filters.

(From meta-yocto rev: 8a9bf7963df1bc001458341106b36af5df146e16)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzcode/tzdata: Update to 2012j
Saul Wold [Fri, 8 Feb 2013 18:50:57 +0000 (18:50 +0000)] 
tzcode/tzdata: Update to 2012j

Readme update to indicate status of project and authorship

(From OE-Core rev: 6c6568e47d6b3b0edaba569bfa4e38f9d72b5122)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: Simplify code removing not used cases
Otavio Salvador [Fri, 8 Feb 2013 14:52:20 +0000 (14:52 +0000)] 
tzdata: Simplify code removing not used cases

We shouldn't have an use-case where we'd use 'FUBAR' timezone so
instead of adding postinst handling for this use case we handle it at
install time and keep the Universal as fallback if user did something
wrong.

This also ensure the /etc/localtime file is kept as a symbolic link.
This will make timezone not available when /usr is in separated
partition (and not mounted) however the applications ought to fallback
to GMT timezone in this case and when /usr is made availble timezone
will work fine.

Change-Id: I9a4f05db7a0bdc06511deb5693d1d16569d2fc63
(From OE-Core rev: 4b5e1757224085deac54b2583853fc779dc70614)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: We shouldn't override the localtime if it is valid
Otavio Salvador [Fri, 8 Feb 2013 14:52:19 +0000 (14:52 +0000)] 
tzdata: We shouldn't override the localtime if it is valid

The code where mistakenly replacing the localtime file setting so we
end with a copy of file instead of a symbolic link. This fixes it so
now, we'll only do that in case the link is pointing to invalid data.

Change-Id: I16dfa5ea4f293c48bb396f4e23a2ea53e6c9e745
(From OE-Core rev: a9b42c8e85332a65788b1434f926186d4887b287)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSolved package namespace errors in PRS
Emilia Ciobanu [Thu, 14 Feb 2013 15:52:40 +0000 (17:52 +0200)] 
Solved package namespace errors in PRS

For some packages PRS reported incorrect upstream version
as it was either the raw string or it mismatched some
alternative groups.

(From OE-Core rev: 6f3ace8ba75eed891aa4844a6830bedca3d8b70e)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: remove unused variable
Ross Burton [Thu, 14 Feb 2013 18:02:02 +0000 (18:02 +0000)] 
insane: remove unused variable

(From OE-Core rev: 1165a0b161ffc32258b0726e6ef3082d97dfb32a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoremake: do not create po files
Saul Wold [Thu, 14 Feb 2013 22:12:51 +0000 (14:12 -0800)] 
remake: do not create po files

The 'make update' was using wget to get the gmo and other gnu files from
upstream, since need to work cleanly in a non-networked or proxy environment
this does not so well.  Remove the list of languages from the LINGUAS file.

[YOCTO #3745]

(From OE-Core rev: 9987f210e3faf31bfeab35ae56606c8a577b3aa0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-docs: Fixup a couple of merge issues
Richard Purdie [Thu, 14 Feb 2013 17:30:09 +0000 (17:30 +0000)] 
yocto-docs: Fixup a couple of merge issues

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Revision of "Team Environment" section.
Scott Rifenbark [Tue, 12 Feb 2013 23:03:25 +0000 (17:03 -0600)] 
dev-manual: Revision of "Team Environment" section.

Fixes YOCTO #3274

First draft of a re-written section that describes best
practices for scaling the YP over a large development
effort.  this draft is based on Richard Purdie's text
he sent to me.

(From yocto-docs rev: e5135f76946997a0a060dd16c0b62308be4f6048)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual: Cross-references between PR Service and cache
Scott Rifenbark [Tue, 12 Feb 2013 16:09:29 +0000 (10:09 -0600)] 
dev-manual, ref-manual: Cross-references between PR Service and cache

Fixes YOCTO #3684

These changes help tie in the relationship between how the OE
build system uses checksums and such and the PR Service that
can track revision.

(From yocto-docs rev: 39a3010a3bb4b2c1d37aef60984ac16e85b56aac)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotemplate: Changed the font color for footers and headers
Scott Rifenbark [Mon, 11 Feb 2013 22:30:44 +0000 (14:30 -0800)] 
template: Changed the font color for footers and headers

Fixes YOCTO #3728

The poky-db-pdf.xsl file has code that controls the font color
for the headers, footers, and separating lines for each when
the PDF version of a manual is made.  I changed the values
from #cccccc to #999999 to darken these up so they can be
seen a little better.

(From yocto-docs rev: c9c83028a5f13dc672414b6ca395290f05019f8e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, bsp-guide: Added some links
Scott Rifenbark [Mon, 11 Feb 2013 20:20:20 +0000 (12:20 -0800)] 
dev-manual, bsp-guide: Added some links

Fixes YOCTO #3552

Added some links to the FILESEXTRAPATHS and SRC_URI variables.
These links connect appropriate sections to a newly improved
section on FILESEXTRAPATHS glossary description.

(From yocto-docs rev: a58e7c6f013393c87381411f918e16a8f04d55d1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updated PR Service section with comments
Scott Rifenbark [Mon, 11 Feb 2013 17:56:38 +0000 (09:56 -0800)] 
dev-manual: Updated PR Service section with comments

Fixes YOCTO #2684

Applied some review comments to the section from Richard
Purdie.

(From yocto-docs rev: 772617a45df10e5e42364854fe03d8aad7cb46b6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: First draft of the PR Service section.
Scott Rifenbark [Fri, 8 Feb 2013 18:59:27 +0000 (12:59 -0600)] 
dev-manual: First draft of the PR Service section.

Fixes YOCTO #2684

Completed first draft.

(From yocto-docs rev: c8b81e372578b1964bca4aa26d1085162115a2b0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Created "Development Host System Issues" section
Scott Rifenbark [Fri, 8 Feb 2013 17:05:48 +0000 (11:05 -0600)] 
ref-manual: Created "Development Host System Issues" section

Fixes YOCTO #2790

Created a new section in the "Debugging Build Failures"
section to deal with host issues that cause a build to
fail.

(From yocto-docs rev: 9efc00146764086646b0c558d12168ab9813d683)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Fixed <ulink> to be on a single line.
Scott Rifenbark [Fri, 8 Feb 2013 16:15:08 +0000 (10:15 -0600)] 
dev-manual: Fixed <ulink> to be on a single line.

These types of links must not span multiple lines in order for
mega-manual to process them.

(From yocto-docs rev: bcea042cd796a51d866f82399b2fd0cc89ec9e2b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Removed three figures from poky-ref-manual
Timo Mueller [Fri, 8 Feb 2013 16:13:18 +0000 (10:13 -0600)] 
documentation: Removed three figures from poky-ref-manual

three PNG files go away from the eclipse folder due to the
renaming of the poky-ref-manual to ref-manual.

(From yocto-docs rev: 29907784ecb509b3d4fba633b2c4970e4105bea2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Part 2 of 2 for YP doc integration into Eclipse.
Timo Mueller [Fri, 8 Feb 2013 15:21:44 +0000 (09:21 -0600)] 
documentation: Part 2 of 2 for YP doc integration into Eclipse.

This commit adds the three *.customization.xsl files.  I
(Scott Rifenbark).  Split the commit because after applying the
18 patches, the list of stuff to stage was huge and I did not
want to add them one-by-one.  So I staged them using git add -u.

Here is the general cover letter information from Timo included
with the 18 patches:

-----------------

Hi,

the generation of eclipse help files has been merged from the timo
branch to the master. Since the creation of the timo branch there have
been some changes to the master branch (e.g. new documentation,
renamed documentation).

This patch set does some cleanup for the renamed documentation and
adds eclipse help generation support to the new documentation.

01: Removes the 'the' from the document titles
02..04: Cleanup obsolete artifacts resulting from the merge
05..08: Add eclipse help generation for ref-manual
09..13: Add eclipse help generation for kernel-dev
14..18: Add eclipse help generation for profile-manual

Best regards,
Timo

(From yocto-docs rev: eff391a17d0a2403634adfb2f4cd2ff50ad0b771)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Part 1 of 2 updates to integrating docs to Eclipse help.
Timo Mueller [Fri, 8 Feb 2013 15:16:33 +0000 (09:16 -0600)] 
documentation: Part 1 of 2 updates to integrating docs to Eclipse help.

Hi,

the generation of eclipse help files has been merged from the timo
branch to the master. Since the creation of the timo branch there have
been some changes to the master branch (e.g. new documentation,
renamed documentation).

This patch set does some cleanup for the renamed documentation and
adds eclipse help generation support to the new documentation.

01: Removes the 'the' from the document titles
02..04: Cleanup obsolete artifacts resulting from the merge
05..08: Add eclipse help generation for ref-manual
09..13: Add eclipse help generation for kernel-dev
14..18: Add eclipse help generation for profile-manual

Best regards,
Timo

This patch set originally contained 18 patches. I (Scott Rifenbark)
had to push these changes as two parts.  This is the first part.
It does not include creation of the three cusomization files.

(From yocto-docs rev: 9b1889f6e31ee70dae704fa08763fb9196616dad)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-manual: Added cross-reference link for Cross-dev toolchain.
Scott Rifenbark [Wed, 6 Feb 2013 20:03:23 +0000 (14:03 -0600)] 
adt-manual: Added cross-reference link for Cross-dev toolchain.

I placed a link on the term "Cross-Development Toolchain" in the
section of the same name.  This is to help the user see the
recipes related to the toolchain.  The link resolves back into
the "Terms" section of the dev-manual.

(From yocto-docs rev: c77ec0212bcf3b1c5f8079ccf08129ecbefea0aa)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updates to expose cross-toolchain recipes.
Scott Rifenbark [Wed, 6 Feb 2013 18:51:39 +0000 (12:51 -0600)] 
dev-manual: Updates to expose cross-toolchain recipes.

Added a bulleted list to the "Terms" section to help define
some toolchain recipes such as gcc-cross-initial,
gcc-cross-intermediate, and so forth.

Added a cross-reference link to the term
"Cross-Development Toolchain" in the the "Working Using
Stand-alone Cross-development Toolchains" section.
This gives the reader a way to see more on the toolchain
recipes.

(From yocto-docs rev: 2cb612424c0cf6addfd8bce8a0ef77665c35bd9a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-dev: Added note for YP release requirements.
Scott Rifenbark [Wed, 6 Feb 2013 17:50:24 +0000 (11:50 -0600)] 
kernel-dev: Added note for YP release requirements.

The user needs to have YP 1.2.2 release or forward for the
examples in the book to work.  I have added a note indicating
such.

(From yocto-docs rev: 6fcbd3f526a13ef632c7ce5b9b4774d166b61895)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: edits to update-alternatives.bbclass description.
Scott Rifenbark [Tue, 5 Feb 2013 15:31:54 +0000 (09:31 -0600)] 
ref-manual: edits to update-alternatives.bbclass description.

Fixes YOCTO #3838

First draft of edits for this class.  Removed specific variable
definitions as they are now deprecated.  Added a general
explanation of the variable functions.  Pointed user to the
commented code in the actual class for details.  Removed
statement saying that the build system supports only one
binary per package.

(From yocto-docs rev: bd574f2c8a95470c5a44500b70743a6e039522b7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Edits to the question on how source code is fetched.
Scott Rifenbark [Mon, 4 Feb 2013 18:56:16 +0000 (12:56 -0600)] 
ref-manual: Edits to the question on how source code is fetched.

Updated the question that asks "How doe the OpenEmbedded build
system obtain source code and will it work behind my firewall
or proxy server?".  Some of the variables did not have links
or proper font type.

(From yocto-docs rev: be1f665b480a47483595381c9a837892100007e8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updated SSTATE_MIRRORS glossary entry.
Scott Rifenbark [Mon, 4 Feb 2013 18:52:40 +0000 (12:52 -0600)] 
ref-manual: Updated SSTATE_MIRRORS glossary entry.

added links for the PREMIRRORS and MIRRORS variables used in
the description.

(From yocto-docs rev: 1ec0f9cbeebeaeaadee8cc8b3631e6194c013a2f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-project-qs: Updates to how to use local directories for source
Scott Rifenbark [Mon, 4 Feb 2013 18:34:51 +0000 (12:34 -0600)] 
yocto-project-qs: Updates to how to use local directories for source

The section that describes an efficient way to set up the
build system to look in local areas for tarballs needed updated
so that PREMIRRORS was not the focus.  The example used does
not even employ PREMIRRORS.  So I changed wording to support
the example.  I also added a mention of the PREMIRRORS variable
and a linked reference to it for more information.

(From yocto-docs rev: 7966942e2dfad85c2eb9480d7f706355871c40ab)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: added MIRRORS glossary definition.
Scott Rifenbark [Mon, 4 Feb 2013 18:23:25 +0000 (12:23 -0600)] 
ref-manual: added MIRRORS glossary definition.

(From yocto-docs rev: 3dfc95974cdaf345d36a51e8f581602242c38148)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Added PREMIRRORS glossary entry.
Scott Rifenbark [Mon, 4 Feb 2013 18:17:21 +0000 (12:17 -0600)] 
ref-manual: Added PREMIRRORS glossary entry.

(From yocto-docs rev: a91e562db5c1581cb88f0254f8d5a170296f3e41)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Various typos fixed
Scott Rifenbark [Fri, 1 Feb 2013 22:30:12 +0000 (16:30 -0600)] 
dev-manual: Various typos fixed

Received a patch from Robert P. J. Day but deleted it from
my Thunderbird account so could not apply it directly.
I applied most of his corrections.  A couple I left alone.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 2cadd5265fcb5cc281c22ccae81260a6633229e2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: Updates to "Using .bbappend Files" section
Scott Rifenbark [Fri, 1 Feb 2013 22:09:08 +0000 (16:09 -0600)] 
dev-manual: Updates to "Using .bbappend Files" section

Fixes YOCTO #3664

Added some information in the note to point out that not all
append files add files into the mix.  Some just exist to add
build options.  And, in this case the _prepend part of the
FILESEXTRAPATHS statement is not necessary.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 388c441341006227be2f9e7d42bb1c509c32790d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual: three typos fixed.
Scott Rifenbark [Fri, 1 Feb 2013 21:31:38 +0000 (15:31 -0600)] 
dev-manual: three typos fixed.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 3272f0d51e3d09f4ffd96b7322f66ffd878d3714)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodev-manual, ref-manual: Updates for BBPATH.
Scott Rifenbark [Fri, 1 Feb 2013 21:10:01 +0000 (15:10 -0600)] 
dev-manual, ref-manual: Updates for BBPATH.

Two things fixed:

1. A couple examples for setting up a layer.conf file were
   using the meta-yocto configuration file as an example.
   Turns out this is a bad example because the BBPATH variable
   is appended to the LAYERDIR when setting BBPATH rather
   than the other way around.  That is because meta-yocto
   is a distro layer.  BSP layers, however, are not distro
   layers and are the norm here.  So I switched up the way
   BBPATH was set and actually called out meta-yocto-bsp
   config file as a template.

2. Added a link for the BBPATH variable in the
   FILESYSTEM_PERMS_TABLES variable description in the
   glossary.  Just happened to notice this so I fixed it

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 1a594b6dde1a494a5f7322b510e1e67d23635298)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual, dev-manual: Updates to BBMASK variable.
Scott Rifenbark [Wed, 30 Jan 2013 21:42:26 +0000 (15:42 -0600)] 
ref-manual, dev-manual: Updates to BBMASK variable.

Fixes YOCTO #3662

I added more information to the variable desription in the
glossary for BBMASK.  The information included a bit more
syntax information as well as some more complex examples.

I added more reference information to the "Excluding Recipes
From the Build" section to help better describe how the
BBMASK variable works.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: f10f43a543e7b0892863e165d2902741a8823009)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: Updates to the FILESEXTRAPATHS variable.
Scott Rifenbark [Wed, 30 Jan 2013 20:10:25 +0000 (14:10 -0600)] 
ref-manual: Updates to the FILESEXTRAPATHS variable.

Fixed YOCTO #3662

Updates to the description so _prepend is used to add paths
to the front of the search order and use of the variable
without _prepend just adds paths to the end of the
FILESPATH order.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 44c98058c1a75a9e6c95e4f33dbe1696e23d97d0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoref-manual: new BB_DANGLINGAPPENDS_WARNONLY variable added to glossary.
Scott Rifenbark [Wed, 30 Jan 2013 19:54:59 +0000 (13:54 -0600)] 
ref-manual: new BB_DANGLINGAPPENDS_WARNONLY variable added to glossary.

Fixes YOCTO #3662

New entry added.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 73f8b28f6b6cea16cf63b99db88c961f87088fe1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Add chunk.quietly option to eclipse processing
Timo Mueller [Thu, 6 Dec 2012 09:19:53 +0000 (10:19 +0100)] 
documentation: Add chunk.quietly option to eclipse processing

The chunk.quietly option disables the output of the docbook
chunker. Creation of a new html file is now longer printed to the
console. This provides a much cleaner output of the eclipse makefile
target.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/tools/eclipse-help.sed: Fix whitespace
Timo Mueller [Thu, 6 Dec 2012 09:19:52 +0000 (10:19 +0100)] 
documentation/tools/eclipse-help.sed: Fix whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Fix copying of figures folder
Timo Mueller [Thu, 6 Dec 2012 09:19:51 +0000 (10:19 +0100)] 
documentation/Makefile: Fix copying of figures folder

When calling the eclipse target twice without calling clean in between
the figures folder was copied as a subfolder of the existing figures
folder. This patch fixes the copy command to correctly copy the
figures folder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Clean up eclipse target and update help.
Timo Mueller [Fri, 30 Nov 2012 08:59:52 +0000 (09:59 +0100)] 
documentation/Makefile: Clean up eclipse target and update help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Added conversion of links to other documentation parts.
Timo Mueller [Fri, 30 Nov 2012 08:59:51 +0000 (09:59 +0100)] 
documentation/Makefile: Added conversion of links to other documentation parts.

The script tools/eclipse-help.sed is used to convert links that
point to other documentation parts. This avoids having to leave
the eclipse help center when clicking these links.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/tools/eclipse-help.sed: Processes external links for eclipse html files
Timo Mueller [Fri, 30 Nov 2012 08:59:50 +0000 (09:59 +0100)] 
documentation/tools/eclipse-help.sed: Processes external links for eclipse html files

The file is used when creating eclipse help html files. It processes
all html files and converts links so that the user can navigate
between different docuementation parts without leaving the eclipse
help center.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for yocto-project-qs and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:49 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for yocto-project-qs and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the yocto-project-qs. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: Convert fake-title section into...
Timo Mueller [Fri, 30 Nov 2012 08:59:48 +0000 (09:59 +0100)] 
documentation/yocto-project-qs/yocto-project-qs.xml: Convert fake-title section into articleinfo

The fake title section is converted into a docbook
article.articleinfo. If used with a custom title page this will lead
to the excapt same output. But I will enable the creation of metadata
from this title information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML yocto project qs manual
Timo Mueller [Fri, 30 Nov 2012 08:59:47 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML yocto project qs manual

This target will generate eclipse help for the yocto-project-qs using
the yocto-project-qs-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs/yocto-project-qs-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:46 +0000 (09:59 +0100)] 
documentation/yocto-project-qs/yocto-project-qs-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/yocto-project-qs: Added custom title page
Timo Mueller [Fri, 30 Nov 2012 08:59:45 +0000 (09:59 +0100)] 
documentation/yocto-project-qs: Added custom title page

The quick start guide is currently not using a title information to
set the title of the document (e.g. article.title or
article.articleinfo.title).
As other output formats may use the title information to create
metadata this information has to be added to the document. To preserve
current style of the document a custom title page has to be used. With
this for instance 'article.title' can be used instead of the
fake-title section currently used, leaving the style intact.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move yocto-project-qs global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:44 +0000 (09:59 +0100)] 
documentation: Move yocto-project-qs global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for poky-ref-manual and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:43 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for poky-ref-manual and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the poky-ref-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/poky-ref-manual.xml: Added Title tag
Timo Mueller [Fri, 30 Nov 2012 08:59:42 +0000 (09:59 +0100)] 
documentation/poky-ref-manual/poky-ref-manual.xml: Added Title tag

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML poky ref manual
Timo Mueller [Fri, 30 Nov 2012 08:59:41 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML poky ref manual

This target will generate eclipse help for the poky-ref-manual using
the  poky-ref-manual-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:40 +0000 (09:59 +0100)] 
documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move poky-ref-manual global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:39 +0000 (09:59 +0100)] 
documentation: Move poky-ref-manual global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for kernel-manual and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:38 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for kernel-manual and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the kernel-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/kernel-manual/kernel-manual.xml: Added Title tag
Timo Mueller [Fri, 30 Nov 2012 08:59:37 +0000 (09:59 +0100)] 
documentation/kernel-manual/kernel-manual.xml: Added Title tag

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML kernel manual
Timo Mueller [Fri, 30 Nov 2012 08:59:36 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML kernel manual

This target will generate eclipse help for the kernel-manual using
the  kernel-manual-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/kernel-manual/kernel-manual-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:35 +0000 (09:59 +0100)] 
documentation/kernel-manual/kernel-manual-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move kernel-manual global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:34 +0000 (09:59 +0100)] 
documentation: Move kernel-manual global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for bsp guide and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:33 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for bsp guide and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the bsp-guide. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/bsp-guide/bsp-guide.xml: Added Title tag
Timo Mueller [Fri, 30 Nov 2012 08:59:32 +0000 (09:59 +0100)] 
documentation/bsp-guide/bsp-guide.xml: Added Title tag

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML bsp guide
Timo Mueller [Fri, 30 Nov 2012 08:59:31 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML bsp guide

This target will generate eclipse help for the bsp-guide using
the  bsp-guide-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/bsp-guide/bsp-guide-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:30 +0000 (09:59 +0100)] 
documentation/bsp-guide/bsp-guide-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move bsp-guide global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:29 +0000 (09:59 +0100)] 
documentation: Move bsp-guide global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for dev manual and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:28 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for dev manual and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the dev-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual.xml: Added Title tag
Timo Mueller [Fri, 30 Nov 2012 08:59:27 +0000 (09:59 +0100)] 
documentation/dev-manual/dev-manual.xml: Added Title tag

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML dev manual
Timo Mueller [Fri, 30 Nov 2012 08:59:26 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML dev manual

This target will generate eclipse help for the dev-manual using
the dev-manual-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/dev-manual/dev-manual-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:25 +0000 (09:59 +0100)] 
documentation/dev-manual/dev-manual-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move dev-manual global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:24 +0000 (09:59 +0100)] 
documentation: Move dev-manual global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: logic to make all for adt manual and cleanup
Timo Mueller [Fri, 30 Nov 2012 08:59:23 +0000 (09:59 +0100)] 
documentation/Makefile: logic to make all for adt manual and cleanup

Eclipse help documents are now created when calling the 'make all'
target on the adt-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of
the eclipse documentation build are deleted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/adt-manual/adt-manual.xml: Added Title tag
Timo Mueller [Fri, 30 Nov 2012 08:59:22 +0000 (09:59 +0100)] 
documentation/adt-manual/adt-manual.xml: Added Title tag

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/Makefile: Support for making Eclipse HTML adt manual
Timo Mueller [Fri, 30 Nov 2012 08:59:21 +0000 (09:59 +0100)] 
documentation/Makefile: Support for making Eclipse HTML adt manual

This target will generate eclipse help for the adt-manual using
the adt-manual-eclipse-customization.xsl stylesheet.

The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/adt-manual/adt-manual-eclipse-customization.xsl: new file
Timo Mueller [Fri, 30 Nov 2012 08:59:20 +0000 (09:59 +0100)] 
documentation/adt-manual/adt-manual-eclipse-customization.xsl: new file

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Additional parameters are required so resolve links between different
documentation parts inside eclipse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation: Move adt-manual global parameters to customization file
Timo Mueller [Fri, 30 Nov 2012 08:59:19 +0000 (09:59 +0100)] 
documentation: Move adt-manual global parameters to customization file

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Furthermore supporting new output formats can now be achieved by
creating a new customization file containing its corresponding
parameters. Parameters that are used across different stylesheets with
different values will then be separated through different
customization files.

Global parameters can still be set through the XSLTOPTS variable since
this precedes the parameters in the customization file.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation/template/titlepage.templates.xml: Remove title info
Timo Mueller [Fri, 30 Nov 2012 08:59:18 +0000 (09:59 +0100)] 
documentation/template/titlepage.templates.xml: Remove title info

The title of a pdf document is part of the image used on the title
page. Thus the title defined (e.g. bookinfo.title) in a document
should never be used when creating title pages for pdf documents. As
other output formats may use the title information to create metadata
the title has been removed from the template.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomulitilib_header: Avoid sstate checksum issues for -native recipes
Richard Purdie [Thu, 14 Feb 2013 11:20:49 +0000 (11:20 +0000)] 
mulitilib_header: Avoid sstate checksum issues for -native recipes

The use of arch specific variables like MIPSPKGSFX_ABI was creeping
into the -native sstate checksums of package like ncurses-native.

This is pointless and undesireable. We could add specific variable
exclusions but we might as well just brute force the code to be disabled
in the -native case since we don't use multilibs in the native case.

[YOCTO #3827]

(From OE-Core rev: cc7352ed990b1bdd26203a4d3b21286280ac26c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokconfig-frontends: Depend on pkgconfig-native
Richard Purdie [Thu, 14 Feb 2013 12:24:30 +0000 (12:24 +0000)] 
kconfig-frontends: Depend on pkgconfig-native

We were seeing errors like:

| autoreconf: running: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf --force
| configure.ac:27: error: possibly undefined macro: AS_IF
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.
| configure.ac:100: error: possibly undefined macro: AC_MSG_ERROR
| autoreconf: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1
| ERROR: autoreconf execution failed.

which turns out to mean the pkgconfig macros were unavailable (thanks for clear
error messages autoconf).

This patch adds in the missing dependency.

(From OE-Core rev: 26431ffda8886412147ff347c000a0ecc2671db5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Remove whitelisted vars from non-task deps
Christopher Larson [Tue, 3 Apr 2012 23:23:49 +0000 (18:23 -0500)] 
bitbake: Remove whitelisted vars from non-task deps

Though the value of variables in the BB_BASEHASH_WHITELIST is kept out of the
checksums, dependency on them is not, at least for variables and non-task
functions. In the code, the whitelist is removed from the overall task dep
list, but not the individual variable deps. The result of this is that
functions like sysroot_stage_all and oe_runmake end up with whitelisted
variables like TERM listed in their dependencies, which means that doing
a 'unset TERM' before building will result in all checksums for tasks that
depend on those changing, and shared state reuse not behaving correctly.

This is only really a potential issue for variables from the environment, as
it's the existance/removal of the variable that's an issue, not its value, and
the other whitelisted variables are set in our metadata. This which means in
practical terms the only cases where this is likely to be an issue are in
environments where one of the following are unset: TERM, LOGNAME, HOME, USER,
PWD, SHELL. This may seem like an unlikely circumstance, but is in fact a real
issue for those of us using autobuilders. Jenkins does not set TERM when
executing shell, which means shared state archives produced by your jenkins
server would not be fully reused by an actual user.

Fixed by removing the whitelisted elements from the individual variable deps,
not just the accumulated result.

(Bitbake rev: dac12560ac8431ee24609f8de25cb1645572d350)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: ConfHandler: Improve regexp to fix mis-parsing of += and no whitespace
Richard Purdie [Thu, 14 Feb 2013 10:31:12 +0000 (10:31 +0000)] 
bitbake: ConfHandler: Improve regexp to fix mis-parsing of += and no whitespace

If you have:

FOO = "a"
FOO += "b"
FOO+= "c"

The expected result is "a b c" however we were seeing "a b" with the FOO+
variable being assigned the value "c". This isn't the expected result.

We need to make the name part of the variale non-greedy so that any + character
becomes part of the operator. This patch does that. I compared the configuration
in OE-Core before and after the change and only the test case changed.

[YOCTO #3834]

(Bitbake rev: 2cd8d7fd12a646e6516e2c985e6a54121d19eb59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Remove -systemd package
Khem Raj [Thu, 14 Feb 2013 04:02:01 +0000 (20:02 -0800)] 
util-linux: Remove -systemd package

unit files are added to util-linux itself when selected

(From OE-Core rev: dbabe19d4ee5cc291b5d996e9b828eed3e4484d8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoPython: Add missing dependency "textutils" to "io" package
MiLo [Thu, 14 Feb 2013 07:10:30 +0000 (08:10 +0100)] 
Python: Add missing dependency "textutils" to "io" package

Modify the include file and script to generate a missing RDEPENDS.

Install python on target with python-io. Import ssl:

Python 2.7.3 (default, Feb  9 2013, 16:04:35)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/ssl.py", line 58, in <module>
ImportError: No module named textwrap

Installing python-textutils solves the issue.

(From OE-Core rev: 900ae881c3483eea36aa0be456b93f92980f4924)

Signed-off-by: MiLo <milo-software@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: Fix an OVERRIDES expansion order issue
Richard Purdie [Wed, 13 Feb 2013 00:21:53 +0000 (00:21 +0000)] 
multilib: Fix an OVERRIDES expansion order issue

There were problems where a SRC_URI with:

SRC_URI_append_powerpc = " xxx"
SRC_URI_append_powerpc64 = " xxx2"

would end up with *both* xxx and xxx2 being added when using a multilib
which is clearly incorrect and undesirable.

The issue is that OVERRIDES has virtclass-multilib-xxxx added to it,
this eventually changed DEFAULTTUNE which then changes
TRANSLATED_TARGET_ARCH which is in OVERRIDES meaning we then need to
re-evaluate the overides and the TRANSLATED_TARGET_ARCH gets applied
twice since once you apply an override, it doesn't get undone.

Expanding DEFAULTTUNE to the correct value in advance avoids the issue
and means only the correct overrides get applied.

[YOCTO #3874]

(From OE-Core rev: 920c9024f5a47ad14670067f910450983bae2aa7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo_1.4.5.bb: Finish fixing linkat()
Peter Seebach [Wed, 13 Feb 2013 19:43:17 +0000 (19:43 +0000)] 
pseudo_1.4.5.bb: Finish fixing linkat()

The 1.4.4 fix replaced possible double-prepending of chroot paths
with possible non-prepending of chroot paths. After significant
evaluation, have settled on a single prepending of the chroot
path as a workable compromise.

(From OE-Core rev: a79597994e3f680e34a1a45fb37d76977903ded5)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: add config fragments
Chen Qi [Tue, 5 Feb 2013 06:36:40 +0000 (14:36 +0800)] 
busybox: add config fragments

Add config fragments to busybox.

The implementation makes use of merge_config.sh script in kern-tools-native.
The use case is similar to the yocto kernel's configuration fragments.

We also add kern-tools-native to busybox's DEPENDS variable to ensure
that merge_config.sh is available when required.

[YOCTO #3379]

(From OE-Core rev: bbcd8b344598850ea2c8d3ad375c519713581fde)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtkhtml2: remove, nothing depends on it
Ross Burton [Tue, 12 Feb 2013 17:26:56 +0000 (17:26 +0000)] 
gtkhtml2: remove, nothing depends on it

(From OE-Core rev: 1c3ed8c109f46e7e38649d6914693ed4c18f45a5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb: remove gtkhtml2 version
Ross Burton [Tue, 12 Feb 2013 17:26:55 +0000 (17:26 +0000)] 
web: remove gtkhtml2 version

The gtkhtml2 version of Web is even older than the webkitgtk port, remove it.

(From OE-Core rev: 7ee3c35ca51e358e1d5a710922acb52c0724086e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo_git.bb: Bump to pseudo 1.4.4.
Peter Seebach [Tue, 12 Feb 2013 22:52:07 +0000 (16:52 -0600)] 
pseudo_git.bb: Bump to pseudo 1.4.4.

The pseudo 1.4.2 linkat() implementation had a broken edge case
in which you could end up with chroot paths being doubled when
using plain link() calls instead of linkat() calls.

(From OE-Core rev: c70443ef21713d805012ef839e3fac04de8eadd2)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool-native_2.4.2.bb: Always use /bin/sed for SED
Jason Wessel [Tue, 12 Feb 2013 19:36:44 +0000 (13:36 -0600)] 
libtool-native_2.4.2.bb: Always use /bin/sed for SED

If you never use sstate and always build everything from scratch you
will never see this problem.  However, if you use sstate and build
directories that last a long time eventually you can end up with the
scenario where libtool gets a hard coded path in it for sed, and sed
may not exist.  The reason you don't see this problem to often if you
generally build from scratch is that libtool builds before sed and
will pickup the host's /bin/sed.

The way to reproduce the issue is:

bitbake some_image
bitbake -c cleansstate libtool-native
bitbake sed-native
bitbake libtool-native
bitbake -c clean sed-native
bitbake ANY_PACKAGE_THAT_USES_LIBTOOL_NATIVE

In my case I used modphp, which doesn't exist in the oe-core. You will
end up with a strange looking error like:

| make[1]: *** [buckets/apr_buckets_alloc.lo] Error 1
| /opt/build/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux-libtool: line 981: /opt/build/bitbake_build/tmp/sysroots/x86_64-linux//bin/sed: No such file or directory

The solution is to always use /bin/sed for libtool-native.

(From OE-Core rev: 605e4484840e70c64acddb4aa1a3c9fec4078d9d)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/x32-linux: Specify double alignment
Richard Purdie [Wed, 13 Feb 2013 00:16:40 +0000 (00:16 +0000)] 
site/x32-linux: Specify double alignment

Double alignment is 8 bytes on x32 but it is defaulting to 4 currently.
This leads to various issues and fontconfig fails to build due to the
mismatch triggering assert failures.

(From OE-Core rev: f2a0784f368fa8a766aae4242a0c187759b35393)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/qemuimage-testlib: Use wide option to ps calls
Michael Halstead [Wed, 13 Feb 2013 16:31:03 +0000 (08:31 -0800)] 
scripts/qemuimage-testlib: Use wide option to ps calls

Forcing ps to display unlimited column width allows the qemu IP address to
be discovered during sanity testing when the command line is extremely long.

This seems to fix the sanity testing problem on AB05 which was recently updated
to OpenSUSE 12.2. I'm not sure what about qemu or process listing is different
on that distribution but this simpile fix seems to work and my help on other
distro's as well.

(From OE-Core rev: 4cea35cc4e4ed8e68cd117825b1dd4ef1be768c2)

Signed-off-by: Michael Halstead <michael@yoctoproject.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: use gtk-immodules-cache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:46 +0000 (18:12 +0200)] 
gtk+: use gtk-immodules-cache class

In order to have the proper postinst/postrm scriptlets generated for
gtk+ immodules packages, use the already existing class.

[YOCTO #3853]

(From OE-Core rev: 1c5646dde09008662f064ce7e7400c4d68775278)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:45 +0000 (18:12 +0200)] 
gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES

This is needed if the GTKIMMODULES_PACKAGES is changed later, in
do_populate_packages for example. This way, we don't have to add another
dumb asignment in the recipe inheriting this.

[YOCTO #3853]

(From OE-Core rev: e9e80eac6ab4982cb42fa2c5403630926351efed)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-keyring: compile schemas on host
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:44 +0000 (18:12 +0200)] 
gnome-keyring: compile schemas on host

gsettings.bbclass offers just that.

[YOCTO #3854]

(From OE-Core rev: 2d5a935b70218335af4859f409b81769c9238db3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: use the new pixbufcache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:43 +0000 (18:12 +0200)] 
librsvg: use the new pixbufcache class

Also, fix the GDK_PIXBUF_QUERYLOADERS path.

[YOCTO #3582]

(From OE-Core rev: 801ca93cbd3e8fd8ce08f72432b6d4c80ed51261)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: use the new pixbufcache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:42 +0000 (18:12 +0200)] 
gdk-pixbuf: use the new pixbufcache class

[YOCTO #3582]

(From OE-Core rev: f6dce5376894d4ac91f01a85cffc828678695b04)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd pixbufcache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:41 +0000 (18:12 +0200)] 
Add pixbufcache class

All packages exporting pixbuf loaders should inherit this class in order
to generate the correct postinst/postrm scriptlets.

[YOCTO #3852]

(From OE-Core rev: 61afa98f96f5c62473cb2db383b48d3d23c5d7ac)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofontcache.bbclass: use the postinst_intercept script
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:40 +0000 (18:12 +0200)] 
fontcache.bbclass: use the postinst_intercept script

"Link" the package to the postinstall hook by running the
postinst_intercept script.

(From OE-Core rev: a14faa3b9c55574a096d517431393e4ac3c86823)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-icon-cache.bbclass: use postinst_intercept script
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:39 +0000 (18:12 +0200)] 
gtk-icon-cache.bbclass: use postinst_intercept script

Since the hook has been made a standalone script, use postinst_intercept
script in order to "link" the package to the hook.

(From OE-Core rev: d7ddae84165b5b84dc6ac640fd492ade891ddd4e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>