Commit Graph

12919 Commits

Author SHA1 Message Date
Scott Garman 9fc32c40af bitbake wrapper: exit if python v3 is detected
Make sure we're not using python v3.x. This check can't go into
sanity.bbclass because bitbake's source code doesn't even pass
parsing stage when used with python v3, so we catch it here so we
can offer a meaningful error message.

This fixes bug [YOCTO #1128]

(From OE-Core rev: 9dd2d6b7ee36af6229eb9e9c448eab3a6895a9c5)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:41 +01:00
Lianhao Lu 80beb67025 libc-package.bbclass: Replace hard coded libdir.
Replace the hard coded libdir for locale generating to meet the multilib
requirement.

(From OE-Core rev: 1609fd2b6582667106a6f065cfa031f68cee7552)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:41 +01:00
Dongxiao Xu 8fa9d64f1d libc-locale: split locale handling from libc recipe.
*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.

This commit moves locale handling into a separate recipe *libc-locale.

[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES]
(From OE-Core rev: c6d3242f7642f537b02870bb4eb650f0e2094b85)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:41 +01:00
Robert Yang 671e580111 bitbake: Add task specific stamp file support
This patch, based on proof of concept code from Richard adds code to
bitbake to allow individual tasks to optionally specify their stamp
file using the stamp-base flag. This takes the same form as the STAMP
variable but can be specified on a per task basis.

Code is also added to runqueue to ensure that if two tasks share the
same stamp file, only one will be executed at once.

A significant usecase for this code is to share source code (${S})
between recipes where separate build directories (${B}) are used.

(Bitbake rev: 41bef02bef8379590ba012319aebe05068a8081e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28 13:44:38 +01:00
Mark Hatle a1f79a7896 runqueue.py: Add umask task control
The umask for a task can now be set as:

task[umask] = 022
task[umask] = '022'

If specified as a text string, it must be octal.  (This is due to
recipe parsing where it's always set to a string.)

[RP tweaked to use None instead of -1]
(Bitbake rev: a5caaaaba8f0db1af5d8f2e610021d6d4b56894e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 12:23:12 +01:00
Jiajun Xu d08a341af7 qemuimagetest: update cvs and iptables to newer version for toolchain test
The old versions of cvs and iptables may meet compile error under some architecture
- cvs 1.11.23 fails on x86-64 host and iptables 1.4.9 fails on arm host. Update them
to latest version could solve these build error.
Meanwhile, 240s timeout is set for sudoku becasue 120s is not enough to finish
compile.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:32 +01:00
Scott Rifenbark 7b4eb14c54 documentation/adt-manual/adt-command.xml: Small edits for terminology (From yocto-docs rev: b32290b381a6ed2cbfe3e01b748c794ef6bc876b)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:12 +01:00
Scott Rifenbark 5ed6652ae1 documentation/adt-manual/adt-eclipse.xml: General minor edits (From yocto-docs rev: c79d17e29d5690a8df9943836286232cd3aa8893)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:12 +01:00
Scott Rifenbark 95a37279e1 documentation/adt-manual/adt-eclipse.xml: misc wordings changed (From yocto-docs rev: c83d92d99bc1104169a06623c787b07a9d199039)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:04 +01:00
Scott Rifenbark 7adc615a39 documentation/adt-manual/adt-eclipse.xml: Updated new modes for tree
The "Poky Tree Mode" has been replaced with "Build System Derived
Toolchain".  SDK Root Mode has been replaced with Stand-alone
Prebuilt Toolchain.

(From yocto-docs rev: 453f7c030e6d7625d382563e2f2ec569f76e95eb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:04 +01:00
Scott Rifenbark bba2e72ace documentation/adt-manual/adt-eclipse.xml: Updates to choosing target options (From yocto-docs rev: b8f314fb3dc638c85bc9f860fb591ee3a8dad614)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:04 +01:00
Scott Rifenbark 21ae07adb4 documentation/adt-manual/adt-eclipse.xml: Updated configuring sysroot
Used clearer wording.

(From yocto-docs rev: faa35ea8cdb1747ba2b6b7717d1881830bed175b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:28:04 +01:00
Scott Rifenbark 05f363f155 documentation/adt-manual/adt-eclipse.xml: Edits to SDK and Poky tree modes
Updated wording to reflect proper use of build tree terminology.

(From yocto-docs rev: 82b47279b55b6d15bf260e0903505fe578c985c9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:55 +01:00
Scott Rifenbark 1ffbbdf303 documentation/adt-manual/adt-eclipse.xml: changed CDT 7.0 to 8.0 for Indigo (From yocto-docs rev: 14173522e5d6d219c336d6dafafcb7d1c734c584)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:54 +01:00
Scott Rifenbark 2fab1f6d9b documentation/adt-manual/adt-eclipse.xml: recommending Indigo Eclipse (From yocto-docs rev: 0f052154a4c7456bf10a7151bd3d4e70f51be1b3)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:54 +01:00
Scott Rifenbark 38213f913a documentation/adt-manual/adt-eclipse.xml: Wording Change
changed the wording for installing required Eclipse Plug-ins.
It was confusing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:54 +01:00
Scott Rifenbark c655092dea documentation/adt-manual/adt-package.xml: Updates to configuring PMS
Changed the command examples so the variables contained underscore
characters.

(From yocto-docs rev: 34bfceb14a04c5fa026486f33d32df7c21f8c742)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:43 +01:00
Scott Rifenbark 5a55f7f4dc documentation/adt-manual/adt-prepare.xml: Clarified sysroot discussions
Armed with a better understanding of sysroot I made some edits to
help better define what is going on with the various sysroot
variables in the adt installer configuration file.

(From yocto-docs rev: 2b63e1f0f57c701eb38de7f9b9057567786b9899)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:43 +01:00
Scott Rifenbark 5534892228 documentation/adt-manual/adt-package.xml: Updated PMS section
Small correction to refer to sysroot instead of root filesystem
in opening paragraph.

(From yocto-docs rev: e9af5bbd69ab9421a97ce87d5210d31838e93151)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:43 +01:00
Scott Rifenbark 53f4e4677f documentation/adt-manual/adt-prepare.xml: Updated kernel note
The note indicating where you can get sample kernels and
filesystems suitable for QEMU had a wrong path.  I added
"machines" to the path.  Also made a wording change.

(From yocto-docs rev: 75261eb7a44dcc990a817b5b59323042c38b6839)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:43 +01:00
Scott Rifenbark bb6c10c002 documentation/adt-manual/adt-prepare.xml: Corrected setup command
The example command I used to setup the cross-toolchain environment
was incorrect.  I added the "1.0" to it.

(From yocto-docs rev: b8bb60ec69296e9c927735f3fca86013e8b2624e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:42 +01:00
Scott Rifenbark 231f6bc327 documentation/adt-manual/adt-prepare.xml: Updates to ADT install steps
Significant re-write to every section in this chapter except the
"Setting Up the Environment" and "Kernels and Filesystem Images"
chapters.  I established some terms to communicate the build and
source trees and the build and source top-level directories for
YP.  These terms had not been consitently communicated.  I also
stepped through each of the three methods by which a user can
install ADT (and the cross-toolchain) and meticulously documented
the steps.  The result is a much more complete and clear set
of procedures.

(From yocto-docs rev: 37076a07ccc748ceb416c4bc3a57b698f6e8d80a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:42 +01:00
Scott Rifenbark bb07dfe662 documentation/adt-manual/adt-intro.xml: Updated description of toolchain (From yocto-docs rev: 1ea4683eb41e4be334b053c622ed5bf08041d617)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:30 +01:00
Scott Rifenbark 21a4939006 documentation/adt-manual/adt-intro.xml: updated QEMU overview
I provided more detail in the section that introduces QEMU and tells
how it is made available to the user.

(From yocto-docs rev: 9145fee2d550af57669120b1b413585b69ab14bc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:30 +01:00
Scott Rifenbark 75f4b8caae documentation/adt-manual/adt-intro.xml: Grammar correction (From yocto-docs rev: 738c4f25ba6bcc408789dda118b127d716c2f4c6)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:30 +01:00
Scott Rifenbark 982397c813 documentation/adt-manual/adt-intro.xml: changed definition of ADT
The manual previously defined the "ADT" as the toolchain, the sysroot,
QEMU, and user-space tools.  This definition was creating some confusion
when it came to installing the "ADT".  Namely, some of the items you
don't even install, such as the user-space tools.  So I recast the
definition of ADT to mean the cross-toolchain and sysroot.  I cast the
other items as part of the overall development environment.

(From yocto-docs rev: 6ee891660d3b6bf6e2a3f4b5a872ade7a007ce02)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:27:30 +01:00
Scott Rifenbark 3f521edb02 documentation/yocto-project-qs/yocto-project-qs.xml: added libtool to packages
Turns out that the package libtool is necessary for working with ADT during
the installation process.  I need to mention this in the ADT manual but
it would be helpful if it was one of the packages in the QS along with
all the others.  I added libtool to the package requirements lists
for the three supported hosts.

(From yocto-docs rev: 5f95fa1af0cfe9a97e437b8239e139479a1d5317)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:26:47 +01:00
Scott Rifenbark cfa74dbb30 documentation/yocto-project-qs/yocto-project-qs.xml: OS support added (partial)
Partial commit for supported distribution change.

(From yocto-docs rev: 4a84894dc2964f0153294b87f6205c432a482ac2)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:26:47 +01:00
Scott Rifenbark eac2b4b46f documentation/yocto-project-qs/yocto-project-qs.xml: Updated package install
I included a new note to help users of pre-15 release Fedora enable sudo.
Along with this I repositioned the note about using non-supported
distros into the main text.  Overall the section includes more information
and is organized a bit better.

(From yocto-docs rev: b0ae94b97ae46562ddde79df83462adf88b94527)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:19:46 +01:00
Scott Rifenbark ca8b3a112a documentation/yocto-project-qs/yocto-project-qs.xml: zypper for OpenSUSE
I updated the packages section to also include the zypper command
and supporting commands so that the OpenSUSE user can install
packages.

(From yocto-docs rev: 3a9a0f7fb03bf264e1587d181db111a542e7964d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:19:37 +01:00
Scott Rifenbark 54f43b6648 documentation/yocto-project-qs/yocto-project-qs.xml: multi-core update
Added text suggesting that BB_NUMBER_THREADS be set to twice the number
of available processor cores and that PARALLEL_MAKE be set equal to the
number of processor cores.  Similar changes were made to local.conf
based on work by Josh.

(From yocto-docs rev: e342a4af4d3ba000b348bbb9d125977fc0e95273)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:18:33 +01:00
Scott Rifenbark 377acfc4fc documentation/yocto-project-qs/yocto-project-qs.xml: Updated for Python 2.7
In the note that tells users YP must have Python 2.6 I added Python
2.7.

(From yocto-docs rev: 611ad6331a8b3e1acc98f2029a181a92f32220e0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:18:33 +01:00
Scott Rifenbark fad2e9834c documentation/poky-ref-manual/faq.xml: Updated Python FAQ entry
The entry previously stated that only Python 2.6 is required.  I
added Python 2.7 to that requirement.  I also changed the URLs that
point to our pre-built tarballs from which the user can get Python
2.6 to be in the yocto-1.0 download area.  They were pointing to
an area in the index of downloads that was up one level.  According
to Beth the official location is
http://autobuilder.yoctoproject.org/downloads/miscsupport/yocto-1.0- \
python-nativesdk.

(From yocto-docs rev: f5ba36dee8094209fa6d3c6f97656588ded0567f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:14:00 +01:00
Scott Rifenbark 64bac7f446 documentation/poky-ref-manual/ref-structure.xml: Fixed a type (From yocto-docs rev: b2f45f73832a2289158bfb89313957a48dded1cd)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:14:00 +01:00
Scott Rifenbark 72ed33f179 documentation/poky-ref-manual/extendpoky.xml: YOCTO #1104 EXTRA_IMAGE_FEATURES
YOCTO #1104: The section that describes how to customize images
with new features failed to mention the variable EXTRA_IMAGE_FEATURES.
I added text to include that option and referenced the variable.
(From yocto-docs rev: 128b53594be02e486ca3f4658b9f93b9913a3972)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:14:00 +01:00
Scott Rifenbark 3b67d8afd4 documentation/poky-ref-manual/ref-varlocality.xml: YOCTO #1104 EXTRA_IMAGE_FEATURES
YOCTO #1104: The section describing the local configiuration file
local.conf lists out variables used.  One variable it had in there
was IMAGE_FEATURES.  This variable is not in local.conf.  But,
EXTRA_IMAGE_FEATURES is the variable that is there.  I corrected this.

(From yocto-docs rev: 2698d0fc61adc8971a84436529a54190c998d4d6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:14:00 +01:00
Scott Rifenbark b46af8aa11 documentation/poky-ref-manual/ref-features.xml: YOCTO #1104 EXTRA_IMAGE_FEATURES
The Images reference section states you can control what features are
in an image by using the IMAGE_FEATURES variable.  It failed to mention
the EXTRA_IMAGE_FEATURES variable.  I included this variable in the
discussion.

(From yocto-docs rev: 6c7789bd409f43a3978c09c43db31010bc461573)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:13:59 +01:00
Scott Rifenbark 4f7dd81c6f documentation/poky-ref-manual/ref-variables.xml: YOCTO #1104 EXTRA_IMAGE_FEATURES
Added a cross-reference to the EXTRA_IMAGE_VARIABLES glossary
term and provided more explanation describing the relationship
between the variable and the IMAGE_FEATURES variable.

(From yocto-docs rev: 227c11b8d81e9ae266b7e60172d0a5e9e1237ed0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:13:59 +01:00
Scott Rifenbark 497d774201 documentation/poky-ref-manual/ref-variables.xml - YOCTO #1104 EXTRA_IMAGE_FEATURES
YOCTO #1104 - Added a glossary entry for the EXTRA_IMAGE_FEATURES
variable.

(From yocto-docs rev: f81a85322d944d33484da73020593891811a045a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-24 11:13:59 +01:00
Beth Flanagan 7cd2ac0e40 common-licenses: Additions and corrections
I've added more licenses from SPDX and corrected the gcc license
so that it is a. parsable and b. accurate to the SPDX standard.

I've also done some cleanup of license text and gdb's LICENSE
field.

(From OE-Core rev: e47343d12ee571281238bbf5663b074c0e32049f)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 23:44:49 +01:00
Mark Hatle 879a7f819b python: Add python to the dependency to pygobject
pygobject requires both python and pygobject-native for compilation.  Without
python pygobject may fail to compile.. and items that depend on pygobject will
fail to compile.

(From OE-Core rev: 319610d5bf61108f2ecc538c7a5de5b7c85a6684)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:03 +01:00
Mark Hatle f955edf7aa db: Fix file ownership
(From OE-Core rev: 2fd39cf62fc0a810aa57dcf12ef7f56bfa23866a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:03 +01:00
Mark Hatle 3233f4ba7c gnome-doc-utils: Fix the owner/group on select files
All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid
of the build user.  Fix this for the target case, avoid it in the native.

(From OE-Core rev: 007f6e113dcf62282b8a8fb417b963bcc96843e0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:03 +01:00
Mark Hatle ab8f2025ee tzdata: Ensure all files are owned by root:root
(From OE-Core rev: 2a7f9848d5682836ef1313239f47adf773db2268)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 93dbe8d9f7 libtirpc: Fix owner/group of /etc/netconfig
(From OE-Core rev: 25b50d2e576e641a57823eb7bf7e2cd28443f0b7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle f9c2ff4ef0 ghostscript: Fix owner/group of /etc/cups
/etc/cups is owned by root:lp from the cups package, the associated
ghostscript was creating the /etc/cups directory as root:root.  /etc/cups
is the authoritative source.

(From OE-Core rev: 7ebe9412e66bb56b51bd6e757f3ea2acd839f667)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 324913cd22 base-passwd: Fix owners/groups
Fix the owners and groups of specific files copied from the developmen tree.
This resolves an issue where those files gain the user/group id of the build
user.

(From OE-Core rev: 8996d4dfd302dc966e39d752761f0f3adbc75683)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle bee912037e resolveconf: Fix file owners
The file ownership of various configuration files needs to be set to root:root
otherwise it inherits the user id of the build.

(From OE-Core rev: b25deb36bdca771f892b034c1a39b99ca6e0d54c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:02 +01:00
Mark Hatle 13f3607779 native.bbclass: Add a simple chown intercept command
During native recipe processing we want to intercept any calls to chown
and do nothing.  This prevents errors and allows the same recipes to be
used for both native and target recipes.

(From OE-Core rev: 7fd8287d3320231db83c36d09f2b841e520fcfe9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:01 +01:00
Richard Purdie 42df3f81a1 kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
(From OE-Core rev: 983197c10104bbbcb6cfd6e923a3bf11152b3001)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 21:08:01 +01:00