Commit Graph

23469 Commits

Author SHA1 Message Date
Paul Eggleton aa22868eba rpm-postinsts: don't create broken postinst script
Not only was the variable reference in this line broken, but it wasn't
going to work anyway - we install the script directly into /etc/rcS.d
and not into /etc/init.d, so the code in update-rc.d.bbclass couldn't
find anything there. This resulted in a postinstall script for
rpm-postinsts being created in /etc/rpm-postinsts which can't work when
the root filesystem is read-only. To simplify things just remove the use
of update-rc.d.bbclass since we don't really need the added complexity
here.

Fixes [YOCTO #4222].

(From OE-Core rev: d196d08acafe599c16a7ac8e04121039b1216ba6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:49:24 +01:00
Scott Rifenbark b52a4d3f08 dev-manual: Edits to "Using Email to Submit a Patch" section.
(From yocto-docs rev: 9662debc970e3c1db84a9831760174e57b9c48ce)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:57 +01:00
Scott Rifenbark 26bf080f24 dev-manual: Edits to "How to Submit a Change" section.
(From yocto-docs rev: 8b9cff0c35eb76665edca6c8474935d6dc62e7ed)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:57 +01:00
Scott Rifenbark 326796890e dev-manual: Edits to "Tracking Bugs" section.
(From yocto-docs rev: 2b87ec45a39929e1046b259b77d9ebf022e45242)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark 6fedf7b147 dev-manual: Edits to "Workflows" section.
(From yocto-docs rev: 6b076afb92454b8a7279f747a78bbf565a93c09d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark 78ec6f7c07 dev-manual: Edits to "Basic Commands" section.
(From yocto-docs rev: 3cd5c68d610d7ec2fe4c8d1ad64b05833bb31425)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark f1c2fea3f8 dev-manual: Edits to "Repositories, Tags, and Branches" section.
(From yocto-docs rev: 6ab8d6441d53871b2e0a7163a31b1505a86872b2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark 47fda36cec dev-manual: Edits to "Git" section.
(From yocto-docs rev: d9df3683831253bfb63f764c95531d341aea2dbd)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark 3ac6406127 dev-manual: Edits to "Licensing" section.
(From yocto-docs rev: e04a9b4d04872a753ec81e1c4600ee3189d667c0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark 2477c9c7b2 dev-manual: Edits to "Yocto Project Terms" section.
(From yocto-docs rev: d5742f17daccbaab752e9c82f12dbc9b166bb901)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark c218ec6883 dev-manual: Edits to "Yocto Project Source Repositories" section.
Some minor text editing.  Also, updated two figures to be
more recent.  One for the Index of Releases and one for the
YP Downloads page from the website.  They were very dated.

(From yocto-docs rev: 59255d7c0175a5280239d070ce902079229cf909)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark c589b85305 dev-manual: Edits to "Summary" section.
(From yocto-docs rev: 6c73cc0e01ed10c225eb054eb5ea5a26b989bbdb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark b7b64ae73f dev-manual: Edits to "Policies and Change Flow" section.
(From yocto-docs rev: 9d4c4fdaec73a0bba3e19872cad24a8c2463da58)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:56 +01:00
Scott Rifenbark f09cca6d49 dev-manual: Edits to "Autobuilders" section.
(From yocto-docs rev: 5facb63e7bd0bb9627e83cfc34ae82a3898fe349)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 47b7e49eb3 dev-manual: Edits to "Source Control Management (SCM)" section.
(From yocto-docs rev: 8e2290f43f37e39ef3aa97e97b73f15978ca1076)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark f04dc51f14 dev-manual: Some edits early in Chapter 3.
(From yocto-docs rev: 566af2c28413eeb89b69a59fab087e0145a9493e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark d8f9811fa3 dev-manual: Spelling checks for Chapter 2.
(From yocto-docs rev: 9a190d74ed169400a2f37e47738e00d4b191b285)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 29148bc39a dev-manual: Edits to the "Using Pre-Built Binaries and QEMU" section.
(From yocto-docs rev: d6626c7e90f01489e19c553752b08eb9ab575548)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 94b786bf91 dev-manual: Updates to "Getting Set Up" section.
Updated the transcripts used to set things up.  I also changed
the kernel used in the examples from 3.4 to 3.8.

(From yocto-docs rev: d83e5a5a73777baf95b5c4558f25a5b0b27c204c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 90170fe4c9 dev-manual: Fixed typo.
(From yocto-docs rev: 0f691f5d10672bb9666a3038e71ff568aca7a2d6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 0490239ed0 dev-manual: Updates to the "Other Information" section.
This section was VERY dated.

(From yocto-docs rev: 6a12809fdd60c707592fff88a5b246a94d6ca220)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 9dae23da32 dev-manual: Capitalization issue fixed.
(From yocto-docs rev: 9afe9b9c9e7205b7de820ebe7c76c702f8715260)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 00fea17416 dev-manual: Edits to "What this Manual Provides" section.
Updated to reflect the changed contents of this manual.
The section was rather dated.

(From yocto-docs rev: 08d126d611155e64d94084378cc0bb1f4cde4924)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 772f064b49 dev-manual: Modified final paragraph of "Introduction".
(From yocto-docs rev: 49e3d96d674ca4c40dd89862ad615e876d57831f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 999e4eec8e dev-manual: Edits to "Introduction" - better wording.
(From yocto-docs rev: ab48642c1800b40d43baf31c9733fd6c832faffc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:55 +01:00
Scott Rifenbark 15699d331c documentation: Updated the release month to April in manual history tables.
(From yocto-docs rev: 3dc4e3db0a76a29c9726d38e3f862940437317c9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 76d4a9ad5f dev-manual: Fixed typo for "init_manager" in VIRTUAL-RUNTIME variable.
(From yocto-docs rev: 4ad23290e7dfa89287276473a3d2000fe9824cc7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 64a5bec850 dev-manual: Initial draft of the new yocto-layer section
Rough text for a section within the layer section that
introduces and describes a bit how the new yocto-layer
script works.

(From yocto-docs rev: ee56a264600df9fe250e73b60c8dadd6f8e55009)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 7f21c57770 dev-manual: Re-wrote the intro to "Common Tasks" chapter.
Made the text more general and explanatory for what the
purpose of the chapter is.

(From yocto-docs rev: 23b595560770d2ffe1465b4a9f18bcf734b7b083)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 482c6a7120 dev-manual, ref-manual: Applied review comments for read-only-rootfs, etc.
1. Applied changes from Paul to the read-only-rootfs section.

2. Applied changes form Paul to the customizing images by using
   IMAGE_FEATURES and EXTRA_IMAGE_FEATURES variables.  This
   was a simple rewrite of a sentence.

3. Updated the note in both the IMAGE_FEATURES and
   EXTRA_IMAGE_FEATURES glossary entries to specify inside
   of an image recipe (more specific).

(From yocto-docs rev: 762b9e4d3b45a9602284cf4dd1ac281dcbbed7f5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 4be429fea5 ref-manual: Adjusted IMAGE_FEATURES and EXTRA_IMAGE_FEATURES notes
Comments from Paul Eggleton applied.  Basically, reinforcing
enabling features from inside and outside of the image.  Changed
the wording of the respective notes.

(From yocto-docs rev: 23897c6ebc56dde63803293c0992b2d5c6ff7345)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 2580fcde19 dev-manual: Updated to customizing image through variables section.
Applied Paul Eggleton's review comments on the section that
tells about enabling and disabling features through the
IMAGE_FEATURES and EXTRA_IMAGE_FEATURES variables.  Using
different wording other than "add" features.  Also, some
rewriting of an area that was rather clunky.

(From yocto-docs rev: 13e44345830130318e11b6877e2aff03e6c8ea4f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 3ccd6fde21 dev-manual: Changes to the read-only root filesystem section.
Applied the review comments from Paul Eggleton to augment this
section with more information.

Performed a spell check on the entire chapter.

Made the term "postinstall" consistent by defining its first
use in sections a "post-installation (postinstall) script".

(From yocto-docs rev: 179f478777fd02e3fa56d80951ce3eab350fc189)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 46a05ed934 ref-manual: Review comments from Paul Eggleton into the Migration section.
Minor adjustments such as creating alphabetized lists,
fixing a typo, eliminating a repeat, separating out the
recipes that were moved into a new section, etc.

(From yocto-docs rev: 34f73b62b4acdc6136b22916811cd9156b6422f5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Scott Rifenbark 8acf96c767 ref-manual: New 1.4 Migration section added.
Paul Eggleton sourced this information.

(From yocto-docs rev: 61ab295071718c4fedd258a0545c17cb43c8c093)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Paul Eggleton 7b065b0895 dev-manual: Applied Paul Eggleton's Build History Patch 5 of 5.
Added show-cross-depends to list.

(From yocto-docs rev: 75d13e8e9e3ed9329bb458b98b136dcdebc1c924)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:54 +01:00
Paul Eggleton eb84088b6e ref-manual, dev-manual, bsp-guide: Applied Paul Eggleton Build history patch 4 of 5.
* BBFILES should be appended to with +=

* BBPATH should be appended to with .=

* Immediate expansion is not necessary for BBFILE_PRIORITY

* Immediate expansion is not necessary for references in layer.conf
  to LAYERDIR since these are automatically expanded at the end of
  parsing the file (and have been for some time).

* Add collection name override to BBFILE_PRIORITY example

* Fix comments referring to old structure ("packages directory" or
  "recipes directory")

(From yocto-docs rev: 0aaac8f5ad97c802ebe1d4f3ffb7987050533292)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Scott Rifenbark 2b83480cb1 ref-manual: Minor edits to patch 3 of 5 for build history.
(From yocto-docs rev: 76badd435b858fd37181baabefb39bfa656baf1c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Paul Eggleton 14f33c1ca7 ref-manual: Applied Paul Eggleton's Build History Patch 3 of 5.
Add a paragraph to the top of the section on buildhistory mentioning the
metadata-revs file and the top-level directories.

(From yocto-docs rev: ae7c7c64dd31f5b5c57eac9c772972523f49c05a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Scott Rifenbark e822444f5c ref-manual: Edits applied to buildhistory patch 2 of 5.
Did some rewriting to conform to the manual's style and
formatting.

(From yocto-docs rev: 6a961978b207d8992ade86f82838914b858accdb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Paul Eggleton ea8e60842d ref-manual: Applied Paul Eggleton's buildhistory patch 2 of 5.
Additional information added to the end of the
"Build History Package Information" section."

Buildhistory now collects information on SRCREV values for recipes
fetched from a version control system e.g. Git; additionally a
buildhistory-collect-srcrevs tool is provided to gather this and
convert it to a format suitable for inclusion in global configuration.
Add information on these new features to the appropriate section.

(From yocto-docs rev: 8c38bcbe8e737d7dfb41a763c87a3a6269e6f980)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Scott Rifenbark 67f4fd4ffa ref-manual: Edits to buildhistory patch 1 of 5.
I did a bit of cleanup on the text from Paul's patch number 1.
Just some active voice stuff mainly.

(From yocto-docs rev: f08fa3da997e53c587e3f17ef908e41594654db3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Paul Eggleton 58122bf063 ref-manual: buildhistory patch 1 of 5 applied.
New section titled "Build History SDK Information" added.

(From yocto-docs rev: aaa9ee5690a68f72b21ca3ab731942d80acac2f3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:20:53 +01:00
Richard Purdie ca6321fff4 bitbake: Update to version 1.18.0
(Bitbake rev: 94b54788cadabf6ebfb7711674646dbea6204805)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:17:22 +01:00
Martin Jansa cfa2c5419a tinylogin: Fix mix of tabs and spaces for SRC_URI indentation
(From OE-Core rev: f9d88a559dd2479893d7570676d42955ee3b8845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 13:15:17 +01:00
Radu Moisan e33e0a0da6 systemd: use update-alternatives.bbclass
switch from using plain update-alternatives command to
update-alternatives.bbclass style

(From OE-Core rev: 6e86da976d296b926b462e976d1f79f524f061b3)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 13:14:08 +01:00
Mark Hatle 05d4f94c25 bitbake: data.py: Add a warning when expandKeys overwrites an existing key
When two variables are defined as:

${var} = "bar"
foo = "foobar"

The value of 'foo' when ${var} == foo becomes indeterminate.  We
want to warn a user when this situation has been encountered so they
can take corrective actions.

In the above example usually foo == bar, unless multilibs are enabled.
Then ml-foo = "ml-foobar".

(Bitbake rev: 7c568132c54a21161de28907159f902462f1e2bb)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 13:06:44 +01:00
Paul Eggleton ac6392ad09 README.hardware: bring up-to-date
* Fix Yocto Project documentation URL
* Indicate physical reference hardware support comes from meta-yocto-bsp
* Remove/replace references to Poky where appropriate

(From meta-yocto rev: e2d620445993d56008e78a7e8463080315828e4c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 13:04:49 +01:00
Paul Eggleton 8f645396ba meta-yocto*/conf/layer.conf: tweak BBFILES comments
"packages" was the old name (pre-2010) under which the recipe files were
stored.

(From meta-yocto rev: b8c2e0207147105093bf6aa9beb340d4422cfb42)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 13:04:49 +01:00
Paul Eggleton 4b2f075516 yocto-layer / yocto-bsp: tweak layer.conf comment
We have recipes-* directories not a recipes directory; this is left over
from the old old layout (2010).

(From meta-yocto rev: 8adbbb4b688e60113f68d3974310774686551eff)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 13:04:49 +01:00