scm/bb/tizen-distro.git
11 years agoinsane.bbclass: Add missing R* variables to pkgvarcheck
Martin Jansa [Wed, 6 Feb 2013 13:25:22 +0000 (14:25 +0100)]
insane.bbclass: Add missing R* variables to pkgvarcheck

* check also RSUGGESTS, RCONFLICTS, RPROVIDES, RREPLACES

(From OE-Core rev: 63d9926dde562fd2447fc26482745c3b6f232c12)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxscrnsaver: improve RREPLACES to add libxss only for PN
Martin Jansa [Wed, 6 Feb 2013 13:54:24 +0000 (14:54 +0100)]
libxscrnsaver: improve RREPLACES to add libxss only for PN

(From OE-Core rev: 0bb5572536a39fabd29c307004e76202afd5b6b4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: be explicit when enabling ofono
Ross Burton [Wed, 6 Feb 2013 13:36:52 +0000 (13:36 +0000)]
connman: be explicit when enabling ofono

(From OE-Core rev: 9c5fa8da28f86e88327356e784f2bb8281da2cca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: return list of packages created in do_split_packages
Martin Jansa [Wed, 6 Feb 2013 00:56:14 +0000 (01:56 +0100)]
package.bbclass: return list of packages created in do_split_packages

* sometimes it's useful to do something with packages created
  by do_split_packages later in do_package_prepend, e.g. in:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-February/043824.html
  I have .bbclass which adds some postinst, postrm and RDEPENDS,
  but ttf-mplus is using do_split_packages to create those packages

(From OE-Core rev: 5aa52c6882d2929b2e530c4fa297c6d3e97d4f9f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.conf: Update minimum bitbake version
Richard Purdie [Wed, 6 Feb 2013 13:13:38 +0000 (13:13 +0000)]
sanity.conf: Update minimum bitbake version

We need this for the multiprocessing pool issues in python < 2.7.3 whic
we now use in do_package.

(From OE-Core rev: 027dc0ec80b570c79f4adb0deabb63bcf3c49b78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Update version to 1.17.0
Richard Purdie [Wed, 6 Feb 2013 13:07:35 +0000 (13:07 +0000)]
bitbake: Update version to 1.17.0

(Bitbake rev: d96ef9398356b2a61f7cff765821616bf1e55492)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Remove broken git variables from the environment
Darren Hart [Tue, 5 Feb 2013 22:52:45 +0000 (14:52 -0800)]
bitbake: fetch2: Remove broken git variables from the environment

The following variables perform no function outside of bitbake:

    GIT_CONFIG
    GIT_PROXY_HOST
    GIT_PROXY_PORT
    GIT_PROXY_IGNORE

GIT_CONFIG only affects the git-config command which is not relevant to
the fetcher. This was previously used with the OE GIT_CORE_CONFIG
variable which would provide a basic git config to use instead of the
user's config. This usage was deprecated by git for over a year now:

http://git.661346.n2.nabble.com/Overriding-gitconfig-using-GIT-CONFIG-td6680977.html

GIT_PROXY_HOST and GIT_PROXY_PORT are not used by git.

GIT_PROXY_IGNORE was an OE construct used to create the custom git
config and had no meaning outside of the OE environment. It is not used
by git.

Remove these variables from the fetcher environment.

Users wishing to configure git to work with a proxy should define the
GIT_PROXY_COMMAND environment variable to use an external script.
NO_PROXY can be used within this script to skip the proxy for certain
hosts.

(Bitbake rev: e60270bdce6b8c2f8da1a4838aa374da9db3c86a)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Export upper and lower case environment variables
Darren Hart [Tue, 5 Feb 2013 22:52:44 +0000 (14:52 -0800)]
bitbake: fetch2: Export upper and lower case environment variables

Applications are inconsistent in their use of upper and lower case proxy
variables. Curl, for example, specifies NO_PROXY (not no_proxy) in the
man page (changed in 2009 [1]). Avoid proxy issues by ensuring both the
upper and lower case versions of each proxy variable is available in the
environment for the fetcher commands.

Add FTPS_PROXY and ftps_proxy to the list as well.

1. http://curl.haxx.se/mail/tracker-2009-04/0012.html

(Bitbake rev: c3e6b2c5ec81d5ad7dcf606fff16fd5552bd267c)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker/utils: Drop custom 'interactive' variables list and store environment...
Richard Purdie [Tue, 5 Feb 2013 16:02:03 +0000 (16:02 +0000)]
bitbake: cooker/utils: Drop custom 'interactive' variables list and store environment in BB_ORIGENV instead

Maintining hardcoded lists of user environmental variables is hacky,
replace these with the savedenv datastore. Allow access to that
through the BB_ORIGENV variable.

(Bitbake rev: 0a99563a4ea270594fd9a61da46f9387fb79dc66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: compat/utils: Add copy of python multiprocessing pool for pre 2.7.3 issues
Richard Purdie [Wed, 6 Feb 2013 00:28:08 +0000 (00:28 +0000)]
bitbake: compat/utils: Add copy of python multiprocessing pool for pre 2.7.3 issues

python 2.7 shows hangs with issues in its pool implmenetation. Rather than
try and hack around these, add a copy of the working pool implementation
to the compat module from 2.7.3.

(Bitbake rev: c9eb742637131e8dbd526d2ad9b458abea0a2d87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/create-recipe: Python improvements for create-recipe.
David Nyström [Mon, 4 Feb 2013 12:32:51 +0000 (13:32 +0100)]
scripts/create-recipe: Python improvements for create-recipe.

1. Added ability to parse .zip files.
2. Added optional automatic dependency resolving for python
   recipes(easy_install wrapper).
3. Fixed a few name/version bugs.

Give it a whirl by:
create-recipe -r https://launchpad.net/nova/folsom/2012.2.3/+download/nova-2012.2.3.tar.gz

Saves me some time unwinding python dependencies, and creating template recipes.

(From OE-Core rev: 1a491a4dde0d3618f8815182d12c21f76b64de5a)

Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Pre-expand some variables to save time
Richard Purdie [Sun, 3 Feb 2013 17:59:03 +0000 (17:59 +0000)]
package.bbclass: Pre-expand some variables to save time

(From OE-Core rev: fc5bff0145d8f5db1c09be61f5de209ac4016ed1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Better document the different phases of operation
Richard Purdie [Sun, 3 Feb 2013 17:36:33 +0000 (17:36 +0000)]
package.bbclass: Better document the different phases of operation

Add headers to document the different phases of do_package and
make the steps clearer.

(From OE-Core rev: b6438c94035a014902ec89af63ff3787cd8c67f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Add PACKAGESPLITFUNCS variable
Richard Purdie [Sun, 3 Feb 2013 17:31:30 +0000 (17:31 +0000)]
package.bbclass: Add PACKAGESPLITFUNCS variable

Prepending to populate_packages is rather ugly and means its hard to trace
errors and also profiling informaiton is summed together in one function.

This patch starts to split out the prepends to become separate functions
to avoid these issues. This is generally a neater way to write functions
than prepending to where there can sometimes be variable scope issues
and we've been bitten by whitespace issues in the past.

(From OE-Core rev: 4f9963d1d82ee896fe9491d6a8b32be42cd06f14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Simplify empty directory removal
Richard Purdie [Sun, 3 Feb 2013 17:29:04 +0000 (17:29 +0000)]
package.bbclass: Simplify empty directory removal

Rather than an exec() per directory, we might as well exec one command and
be done with it.

(From OE-Core rev: 82ae9cfb09ee5c0aa6402c972d71e2b64d1ce8bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Various minor performance tweaks
Richard Purdie [Sun, 3 Feb 2013 17:25:30 +0000 (17:25 +0000)]
package.bbclass: Various minor performance tweaks

* Call getVar outside the loop
* Drop unneeded PATH export (bitbake does this already)
* Drop unused variable
* Simplify if statement nesting
* Simplify variable expandion to a getVar call (expand would just call getVar)

(From OE-Core rev: 52b506145bcddc133ca93a8c9f7343de69d10907)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Make use of cleandirs and dirs function flags
Richard Purdie [Sun, 3 Feb 2013 17:21:40 +0000 (17:21 +0000)]
package.bbclass: Make use of cleandirs and dirs function flags

We can use the cleandirs and dirs flags for the fuctions to handle
directory cleaning and creation at the bitbake level rather than
using these calls within the functions

(From OE-Core rev: 4b31d6f6f0a2a6b9e504ffae0d3b2099cbd7dddc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Improve populate_packages_prepend
Richard Purdie [Sun, 3 Feb 2013 17:17:30 +0000 (17:17 +0000)]
kernel.bbclass: Improve populate_packages_prepend

Small performance tweaks for populate_packages_prepend:

* Compile the regexps once at the start
* Don't keep importing a module which is already imported
* No need to check PKG is set, we'd have failed long before now if it wasn't
* Don't export PATH, bitbake takes care of this at the task level

(From OE-Core rev: e9d43d7b4d2cfb22b21f3814c2401a699c78b025)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Rewrite split_and_strip_files
Richard Purdie [Sun, 3 Feb 2013 17:11:58 +0000 (17:11 +0000)]
package.bbclass: Rewrite split_and_strip_files

The split_and_strip_files funciton was hard to follow and its usage of prefixes
to strings was unusual. This rewrites it to use a list of hardlinks, symlinks and
elffiles where each list is iterated over at the correct point.

This means we can avoid creating dandling symlinks for example so we can simply
delete the cleanup code for this.

The isfile() check is also removed which gives a significant improvement in speed.
Its uneeded since os.walk will have already checked things in files are files.

(From OE-Core rev: 0cd295d8cdc8cc39d6b6c7d26ea8a2a10a979d7c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Fix up bb.mkdirhier/bb.copyfile usage
Richard Purdie [Sun, 3 Feb 2013 17:09:26 +0000 (17:09 +0000)]
package.bbclass: Fix up bb.mkdirhier/bb.copyfile usage

These are in bb.utils so lets the correct function and avoid the overhead
of the fixup/warning for the deprecated usage.

(From OE-Core rev: d17329db4842c50af1a3d7f5f20e692c89913fba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-rc.d: Drop OVERRIDES code
Richard Purdie [Sun, 3 Feb 2013 17:02:47 +0000 (17:02 +0000)]
update-rc.d: Drop OVERRIDES code

The data store copy and overrides is overkill given the small number
of accesses that are being made. This simplifies the code.

(From OE-Core rev: 72c1fd72d3b479c728e249eaa763116d352e945b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agostaging.bbclass: Drop unused/legacy function
Richard Purdie [Sun, 3 Feb 2013 17:00:52 +0000 (17:00 +0000)]
staging.bbclass: Drop unused/legacy function

(From OE-Core rev: 9120c88085236e1be9854376e43a7b14f937ba03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agostaging/insane.bbclass: Move legacy do_stage check iinto insane.bbclass
Richard Purdie [Sun, 3 Feb 2013 16:59:09 +0000 (16:59 +0000)]
staging/insane.bbclass: Move legacy do_stage check iinto insane.bbclass

We might as well put all the sanity checks in one place.

(From OE-Core rev: 05be11c7508984cc4aa757becb7a8f47c5b7e919)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: Add documentation headers for logical code blocks
Richard Purdie [Sun, 3 Feb 2013 16:58:02 +0000 (16:58 +0000)]
insane.bbclass: Add documentation headers for logical code blocks

(From OE-Core rev: ac24487a05834cc9c02a95bbd281927d98c5886e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: Add pkgvarcheck to check for suboptimal usages of variables
Richard Purdie [Sun, 3 Feb 2013 16:54:00 +0000 (16:54 +0000)]
insane.bbclass: Add pkgvarcheck to check for suboptimal usages of variables

Check through the variables:
'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm'
and if there is a variable set which isn't package specific, inform the user
of this.

Using these variables without a package suffix is bad practise and complicates
dependencies of packages unnecessarily as well as complicates the code. Lets
convert the remaining issues and then we can take the small performance gain.

(From OE-Core rev: 316228948e65f376f6c5be13ccd0c964ea630edf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: use the multiprocess pool from bitbake
Richard Purdie [Wed, 6 Feb 2013 00:29:43 +0000 (00:29 +0000)]
package.bbclass: use the multiprocess pool from bitbake

(From OE-Core rev: 7e880a95840db82f4035959b03630ba2a96c0311)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage: Process package stripping in parallel
Richard Purdie [Fri, 1 Feb 2013 15:03:41 +0000 (15:03 +0000)]
package: Process package stripping in parallel

(From OE-Core rev: 981fed49ee80560fb067b3f47aeada1fdee792ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage: Don't export PATH
Richard Purdie [Fri, 1 Feb 2013 14:28:34 +0000 (14:28 +0000)]
package: Don't export PATH

PATH is already exported, we don't need to do this each time we run
something, its just noise and overhead.

(From OE-Core rev: 060f617cea4ea0a5af28d31ea19c0387e9773fce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Multithread per file dependency generation code
Richard Purdie [Fri, 1 Feb 2013 13:50:38 +0000 (13:50 +0000)]
package.bbclass: Multithread per file dependency generation code

(From OE-Core rev: b659eb0f2070149d9516c129b3853b41fbbd1033)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: Ensure build directory is cleaned to start with
Richard Purdie [Mon, 4 Feb 2013 11:27:36 +0000 (11:27 +0000)]
sstate.bbclass: Ensure build directory is cleaned to start with

This directory is cleaned upon completion however if a previous build
crashes, it can lead to corrpution, hence ensure its clean at the start
too.

(From OE-Core rev: 8ef0e59d5a7da3671d1ad9a54fe068ed78f928d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate/path.py: Add copyhardlinktree() function and use for performance optimisation
Richard Purdie [Sun, 3 Feb 2013 17:34:54 +0000 (17:34 +0000)]
sstate/path.py: Add copyhardlinktree() function and use for performance optimisation

Add a function which copys a tree as a set of hardlinks to the original
files, then use this in sstate to reduce some of the overhead of sstate
package creation since the file isn't actually copied.

(From OE-Core rev: 8e373e69acac853213a62afb8bbdf0adc0c5045a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:08 +0000 (11:26 +0200)]
systemd: remove /var/cache from volatiles

(From OE-Core rev: ef45d35c1d534770f0e0e6d3e897d3f6062147a2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: remove /var/volatiles/cache/rpm from the FILEs list
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:09 +0000 (11:26 +0200)]
rpm: remove /var/volatiles/cache/rpm from the FILEs list

Since /var/cache is not in volatiles anymore, this entry has to go.

(From OE-Core rev: ed31c6442309eb2816e96d8565b52cf7cc28c803)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:07 +0000 (11:26 +0200)]
initscripts: remove /var/cache from volatiles

(From OE-Core rev: 961376bf34dbc65e649c3fe6f2d9e1838d987aef)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofs-perms: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:06 +0000 (11:26 +0200)]
fs-perms: remove /var/cache from volatiles

(From OE-Core rev: a3b84a3a3d94252060eae076f6dd54e6bf12dfb1)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase-files: remove /var/cache from volatiles
Laurentiu Palcu [Mon, 4 Feb 2013 09:26:05 +0000 (11:26 +0200)]
base-files: remove /var/cache from volatiles

Having the cache in tmpfs implies cache regeneration after every reboot.
For an embedded device this might not be very efficient. So, it is
better for the cache to be persistent between reboots.

(From OE-Core rev: 7152ba27026265ba108caf4437638093f5897ec8)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: fix CVE-2013-0254
Eric Bénard [Tue, 5 Feb 2013 14:04:12 +0000 (15:04 +0100)]
qt4: fix CVE-2013-0254

fix "POSIX shared memory segments created world-writeable"

more details :
http://lists.qt-project.org/pipermail/announce/2013-February/000023.html

(From OE-Core rev: e7d8746c32d1ef08327ca4774812af9a8e75a0c4)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonetbase: split up in netbase and init-ifupdown
Constantin Musca [Mon, 4 Feb 2013 17:13:20 +0000 (19:13 +0200)]
netbase: split up in netbase and init-ifupdown

- netbase should only include etc-rpc, etc-protocols, etc-services
and the hosts file
- the init script/configuration files should be in another package
(init-ifupdown)

[YOCTO #2486]

(From OE-Core rev: 5ce5c3d1226d4a8a4997c63acc1b1b125770d005)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: add read-only-rootfs-hook.sh script
Chen Qi [Tue, 29 Jan 2013 04:24:43 +0000 (12:24 +0800)]
initscripts: add read-only-rootfs-hook.sh script

Add read-only-rootfs-hook.sh script to support a read-only rootfs.
This script makes a union mount of /var/lib and /var/volatile/lib,
making /var/lib directory writable.

[YOCTO #3406]

(From OE-Core rev: a9591158962eee1f8ae04168d6256032ecd7bc6b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: let populate-volatile.sh create the /tmp link
Chen Qi [Thu, 24 Jan 2013 07:28:45 +0000 (15:28 +0800)]
initscripts: let populate-volatile.sh create the /tmp link

Previously, the /tmp link (/tmp -> /var/tmp) was created by the
bootmisc.sh script. So in case of a read-only rootfs, this symlink
would not be created correctly.

The populate-volatile.sh script is intended to handle all directories
and files related to volatile storage, so we should let it create
the /tmp link.

In addition, because of the improments of populate-volatile.sh, the data
loss problem of bug#3404 is also resolved by this patch.

[YOCTO #3406]
[YOCTO #3404]

(From OE-Core rev: 12c4acd7ac5a27cf3676065b60f1c8395c96854c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysvinit: add ROOTFS_READ_ONLY variable to rcS-default
Chen Qi [Sun, 6 Jan 2013 09:02:45 +0000 (17:02 +0800)]
sysvinit: add ROOTFS_READ_ONLY variable to rcS-default

This variable indicates whether the rootfs is intended to be read-only
or not. Changing this value from 'no' to 'yes' on a currently running
system with read-write rootfs and rebooting will give the user a working
system with read-only rootfs.

However, it is not suggested to change its value. Normally, if a read-only
rootfs is required, we should build an image with 'read-only-rootfs' image
feature.

[YOCTO #3406]

(From OE-Core rev: 0b4af5f3e6c92ae8194447b027202c1933f47dd9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: KERNEL_FEATURES should reference full scc files
Bruce Ashfield [Mon, 4 Feb 2013 19:05:07 +0000 (14:05 -0500)]
linux-yocto: KERNEL_FEATURES should reference full scc files

Some existing KERNEL_FEATURE references use a shorcut notation, but mapping
these shortcuts to actual .scc files in the tree are not obvious. So we clarify
where they are found by referencing the full .scc filename in the KERNEL_FEATURE
addtions.

(From OE-Core rev: 26c71c895e1d56d2f3576de833a576137e970fcc)

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>
11 years agolinux-yocto/3.4: update to v3.4.28, 3.4.28-rt40
Bruce Ashfield [Mon, 4 Feb 2013 05:18:51 +0000 (00:18 -0500)]
linux-yocto/3.4: update to v3.4.28, 3.4.28-rt40

Updating the linux-yocto_3.4 SRCREVs to pick up the 3.4.28 -stable update
as well as the 3.4.28-rt40 refresh.

(From OE-Core rev: f8619d777e734f3886b02bf87157761a6f78029b)

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>
11 years agolinux-yocto/dev: linux-yocto development tree tracking recipe
Bruce Ashfield [Mon, 4 Feb 2013 19:13:37 +0000 (14:13 -0500)]
linux-yocto/dev: linux-yocto development tree tracking recipe

The linux-yocto-dev recipe uses the upstream tracking linux-yocto-dev repository.
Since this tree is frequently updated, and periodically rebuilt, AUTOREV is used
to track its contents.

This recipe is just like other linux-yocto variants, with the only difference
being that to avoid network access during initial parsing, static SRCREVs are
provided and overridden if the preferred kernel provider is linux-yocto-dev.

(From OE-Core rev: 378f99eeab070e2fcea84fb47f37cd7cb15caa90)

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>
11 years agointltool: updated to 0.50.2
Bogdan Marinescu [Tue, 5 Feb 2013 16:13:09 +0000 (18:13 +0200)]
intltool: updated to 0.50.2

(From OE-Core rev: f0f5507f30b5d8d919e93cb6af6b724981e9cfef)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclassextend.py: use explode_dep_versions2 in order to preserve versions too
Constantin Musca [Tue, 5 Feb 2013 15:59:11 +0000 (17:59 +0200)]
classextend.py: use explode_dep_versions2 in order to preserve versions too

(From OE-Core rev: a5136a9bf70f3a6d7d0b599678cb901c8e45c7f7)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooprofile: fix cross compile on powerpc and add libpfm4 dep
Matthew McClintock [Tue, 5 Feb 2013 17:46:48 +0000 (11:46 -0600)]
oprofile: fix cross compile on powerpc and add libpfm4 dep

Fixes [YOCTO #3717]

(From OE-Core rev: 88959e42411a40b15fe8907da00a97a7732a9cc1)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
Matthew McClintock [Tue, 5 Feb 2013 17:46:46 +0000 (11:46 -0600)]
libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc

(From OE-Core rev: 52c94978992d9084d685d4999064a8cee35220d1)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoquota_4.01.bb: add e2fsprogs in DEPENDS
Matthew McClintock [Tue, 5 Feb 2013 17:46:45 +0000 (11:46 -0600)]
quota_4.01.bb: add e2fsprogs in DEPENDS

Fixes:

| /local/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/libexec/ppce300c3-poky-linux/gcc/powerpc-poky-linux/4.7.2/ld: cannot find -lext2fs

(From OE-Core rev: 514c479816da79bb2f71602c3bf3c4805a4416e6)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib: disable selinux for native builds
Matthew McClintock [Tue, 5 Feb 2013 17:46:44 +0000 (11:46 -0600)]
glib: disable selinux for native builds

This improves reusabiliy of sstate-cache across different hosts

(From OE-Core rev: 4c223e2b2ba552b832b51c9071f003de67493c27)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: do not postpone postinstall
Laurentiu Palcu [Mon, 4 Feb 2013 13:38:05 +0000 (15:38 +0200)]
pulseaudio: do not postpone postinstall

Since populate-volatile.sh will run everytime the device boots, no
need to postpone the postinstall when the rootfs is created.

[YOCTO #3840]

(From OE-Core rev: c237103096530a06fd0991b4335936e509dea76e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_ipk, rootfs_ipk: remove the "set -x"
Laurentiu Palcu [Thu, 31 Jan 2013 08:36:55 +0000 (10:36 +0200)]
package_ipk, rootfs_ipk: remove the "set -x"

Comment the "set -x" lines since these will add a lot of extra, not
always necessary, debug messages in the log.do_rootfs.

[YOCTO #2599]

(From OE-Core rev: 5d8119f3d749073e355351e0e15f2703fad738f2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoliberation-fonts: use the new fontcache.bbclass
Laurentiu Palcu [Thu, 31 Jan 2013 08:35:37 +0000 (10:35 +0200)]
liberation-fonts: use the new fontcache.bbclass

This will add the proper postinst/postrm scriptlets.

[YOCTO #2599]

(From OE-Core rev: 94b53e5f996a09b9f1f73d0f90b65261a76c0cbe)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofontconfig: add sysroot option to fc-cache and fc-cat
Laurentiu Palcu [Thu, 31 Jan 2013 08:32:40 +0000 (10:32 +0200)]
fontconfig: add sysroot option to fc-cache and fc-cat

This is needed in order to be able to generate the cache on host.

Additionally, remove the volatile config file, as /var/cache was moved
out of tmpfs.

[YOCTO #2599]

(From OE-Core rev: b675e9917b0a1e774c95ee7a946f515c5a996b59)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: add a proper error message if hook script fails
Laurentiu Palcu [Thu, 31 Jan 2013 08:31:49 +0000 (10:31 +0200)]
image.bbclass: add a proper error message if hook script fails

(From OE-Core rev: 5e737d3c6e6546c1368e804f4c45ab25d8791ea3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu.bbclass: return qemuwrapper instead of qemu-allarch
Laurentiu Palcu [Thu, 31 Jan 2013 08:27:22 +0000 (10:27 +0200)]
qemu.bbclass: return qemuwrapper instead of qemu-allarch

When qemu bbclass is inherited from a recipe that is not architecture
dependent, qemu_run_binary will return "qemu-allarch". However this
binary does not exist. Instead, return "qemuwrapper" which will, in
turn, execute the right binary for the target the image was built for.

[YOCTO #2599]

(From OE-Core rev: 149a564bba7d3e1c2054ae6d908835ebd95b9084)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadd qemuwrapper-cross recipe
Laurentiu Palcu [Thu, 31 Jan 2013 08:04:57 +0000 (10:04 +0200)]
add qemuwrapper-cross recipe

This will just install a wrapper script in STAGING_BINDIR_CROSS that
will execute the proper qemu user binary for the current target.

[YOCTO #2599]

(From OE-Core rev: faaa5e7fd4353b73289f163d9f601cf0869698f3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadd fontcache.bbclass
Laurentiu Palcu [Thu, 31 Jan 2013 07:59:10 +0000 (09:59 +0200)]
add fontcache.bbclass

All font packages should inherit this class in order to generate the
proper postinst/postrm scriptlets.

The scriptlets will actually create a host intercept hook that will be
executed at the end, at do_rootfs time, after all packages have been
installed. This is good when there are many font packages.

[YOCTO #2923]

(From OE-Core rev: 0c12f7fb3c2c42e5b633682bb1277b943ac19ea6)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcp-wrappers: remove size_t.patch
Roy.Li [Sat, 2 Feb 2013 08:18:22 +0000 (16:18 +0800)]
tcp-wrappers: remove size_t.patch

1. it introduces bug in 64bit big endian process with __GLIBC__, At that
condition, size_t is 8byte, and the third parameter of getpeername is
socklen_t which is 4 byte. As a result, getpeername sees third parameter
is always 0, and can not return right value.

The similar program is below, the output is 0, not 9 on PPC64 cpu
main()
{
long aa=9;
printf("%d \n", *((int *)&aa));
}

2. The correct fix is to change getpeername/getsockopt/recvfrom.. last
parameter type from int to socklen_t, but to simplify, we can remove
size_t.patch, since the size of int is same as socklen_t in 32bit/64bit
cpu. and size_t.patch only change three places, there are other places
which uses int, and work well.

2. Fedora, redhat el4 do not use this patch, but Debian uses it, does not
find why this patch is written, maybe it is gcc legency issue which does
not exist.

(From OE-Core rev: 6c418ec278335c93692c2e19ec0b7b84b471e2b9)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpcbind: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 3 Feb 2013 10:13:43 +0000 (12:13 +0200)]
rpcbind: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 0f8583e6fe729f8cacc8fec8c66a5c7f7c944947)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-wm: update to git master head
Marko Lindqvist [Sun, 3 Feb 2013 10:13:18 +0000 (12:13 +0200)]
matchbox-wm: update to git master head

The one new commit from matchbox-wm git this gets fixes
build with automake-1.13

(From OE-Core rev: 50d7135c3f5530e0852294183cdba60fae67e040)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 3 Feb 2013 10:12:34 +0000 (12:12 +0200)]
opkg: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: 495bea3911be164225c91b696389fc16dab356fd)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosend-pull-request: add extra CC argument
Martin Jansa [Mon, 4 Feb 2013 15:06:59 +0000 (16:06 +0100)]
send-pull-request: add extra CC argument

* useful e.g. when sending pull-request to release branch with extra CC
  for release maintainer

(From OE-Core rev: 52bc47756eb8a81ea07ef4bc06345ef335b30ceb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoipk: use OPKGLIBDIR in all places
Martin Jansa [Mon, 4 Feb 2013 22:06:52 +0000 (23:06 +0100)]
ipk: use OPKGLIBDIR in all places

* it's not recommended to change this value, because it breaks upgrade path on target
  (all old u-a alternatives are forgot in old OPKGLIBDIR value
* but make it consistent, so if someone really want to change that, then
  setting OPKGLIBDIR_distro in distro.conf would be enough
* without this there were at least 4 places to change:
  rootfs_ipk: opkglibdir variable (notice that I've removed /opkg from it to correspond
              with EXTRA_OECONF option used in opkg recipes
  package_ipk: ${target_rootfs}${localstatedir}/lib/opkg/ hardcoded in
               package_install_internal_ipk
  opkg-collateral: value in lists file
  opkg: EXTRA_OECONF for all 3 classes, FILES_libopkg, do_install
* validated with buildhistory that without OPKGLIBDIR explicitly set the
  output is the same and that after setting
  OPKGLIBDIR_forcevariable := "${libdir}"
  everything including empty directory from package_ipk is moved to
  libdir

(From OE-Core rev: cf0aa9c4fdae8855803e96b1922d54a2431795d3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonet-tools: upgrade to v1.60-24.2
Cristian Iorga [Fri, 1 Feb 2013 15:09:05 +0000 (17:09 +0200)]
net-tools: upgrade to v1.60-24.2

(From OE-Core rev: 8abcf2c3541d7fe96d7717cb161812784dca6c66)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqmmp: update to 0.6.6 and fix
Paul Eggleton [Tue, 5 Feb 2013 15:55:46 +0000 (15:55 +0000)]
qmmp: update to 0.6.6 and fix

* Update to 0.6.6
* Fix compilation failure due to unconditional call to
  QApplication::commitData()
* Disable /usr/local host paths to avoid compilation warnings
* Force use of the cmake configure instead of qmake as the latter is not
  dynamic with Qmmp and doesn't let you disable certain dependencies
  (e.g. enca)
* Add libsndfile1, libsamplerate0 and curl to DEPENDS since their use
  will be non-deterministic otherwise
* Explicitly disable library-requiring options that we don't have
  available in OE-Core so that they don't get used if they happen to be
  in the sysroot
* Update LIC_FILES_CHKSUM since there were cosmetic changes to the
  license file (mostly reformatting and change of references to LGPL
  from "Library" to "Lesser".)

Fixes [YOCTO #3822].

(From OE-Core rev: 12484dca3bf09dd9a03442a223885deb7472a6cd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixed
Denys Dmytriyenko [Wed, 6 Feb 2013 07:45:25 +0000 (02:45 -0500)]
nativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixed

(From OE-Core rev: 871549996cfcaf860083d867eb6a9522f4407cd4)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: fetch2: Print the complete SRCREV variable name when INVALID
Darren Hart [Tue, 5 Feb 2013 10:31:37 +0000 (02:31 -0800)]
bitbake: bitbake: fetch2: Print the complete SRCREV variable name when INVALID

If a particular SRCREV (say for a particular branch) is missing, the
fetcher will currently just report an obtuse error about the "SRCREV"
being invalid. If there is more information is to be had (say from name,
i.e. branch, and pn) then display that as well.

The new error looks something like this:

ERROR: ExpansionError during parsing /home/dvhart/source/poky/meta/recipes-kernel/linux/linux-yocto_3.4.bb: Failure expanding variable do_patch: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure for URL: 'git://otcgit.jf.intel.com/dvhart/linux-yocto-minnow-3.4.git;protocol=git;nocheckout=1;branch=standard/minnow,meta,emgd-1.14;name=machine,meta,emgd'. Please set SRCREV_emgd_pn-linux-yocto to a valid value

Note the variable listed as invalid is
"SRCREV_emgd_pn-linux-yocto", making it explicit what is wrong.

(Bitbake rev: 63774f5b4edb999300bddd891233f6050f4af877)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: bitbake-devel@lists.openembedded.org
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocrosstap: handle hyphenated x86_64 target arch
Tom Zanussi [Tue, 5 Feb 2013 14:26:36 +0000 (08:26 -0600)]
crosstap: handle hyphenated x86_64 target arch

systemtap_target_arch() should also translate x86-64 (hyphenated) into
x86_64 for the -a param.  Failing to do that causes systemtap to see
an architecture mismatch and create a cloned session with a bogusly
synthesized build directory path, and fails to compile the probe.

 Fixes [YOCTO #3756]

(From OE-Core rev: 98cae0544884cb5700d42409ec4a9584a17dc9a4)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibgcc: Disable multilib install for nativesdk
Khem Raj [Tue, 5 Feb 2013 09:58:24 +0000 (11:58 +0200)]
libgcc: Disable multilib install for nativesdk

Fixes errors when building SDK for multilibbed enabled
architectures.

[YOCTO #3832]

(From OE-Core rev: 09934f38df057e12af7d14791f7ab752e81093db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodropbear: fix RPROVIDES
Martin Jansa [Mon, 4 Feb 2013 18:33:41 +0000 (19:33 +0100)]
dropbear: fix RPROVIDES

(From OE-Core rev: 3b1beb8b15b8e3e397b3aa8320490103d4f29bac)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssh: fix RPROVIDES
Martin Jansa [Mon, 4 Feb 2013 18:33:40 +0000 (19:33 +0100)]
openssh: fix RPROVIDES

(From OE-Core rev: 43ddc955727361458fec92731775a1fc7f29917c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosip.bbclass: improve RDEPENDS to add python-sip only for PN
Martin Jansa [Mon, 4 Feb 2013 21:02:14 +0000 (22:02 +0100)]
sip.bbclass: improve RDEPENDS to add python-sip only for PN

(From OE-Core rev: 9aeb36d452154a766c0ada6d4594dcabc226752f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agov86d: Use BP instead of P
Saul Wold [Mon, 4 Feb 2013 21:20:27 +0000 (13:20 -0800)]
v86d: Use BP instead of P

P is expanded to it's multi and other prefix / suffix name,
so use BP instead which is the BaseName and Version.

(From OE-Core rev: 4e475a66c23cd2e4e109ff1fcfa2975d595537c5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoblktool: fix SRC_URI typo
Constantin Musca [Mon, 4 Feb 2013 09:20:24 +0000 (11:20 +0200)]
blktool: fix SRC_URI typo

(From OE-Core rev: 393c673964493f9dcc15dd6dc394b0e0f6994afd)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: target: fix libiberty removal
Constantin Musca [Mon, 4 Feb 2013 09:20:23 +0000 (11:20 +0200)]
gcc: target: fix libiberty removal

- use ${libdir} instead of ${exec_prefix}/lib

Fix the following warning:
WARNING: QA Issue: gcc: Files/directories were installed but not shipped
  /usr/lib64/libiberty.a

(From OE-Core rev: b3643415ad91dc77880cc5b95e9ad8cd9aef5c44)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconsolekit: add arch independent unpackaged files
Constantin Musca [Mon, 4 Feb 2013 09:20:22 +0000 (11:20 +0200)]
consolekit: add arch independent unpackaged files

Fix the following warning:

WARNING: QA Issue: consolekit: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/ConsoleKit
  /usr/lib/ConsoleKit/run-seat.d
  /usr/lib/ConsoleKit/scripts
  /usr/lib/ConsoleKit/run-session.d
  /usr/lib/ConsoleKit/scripts/ck-system-restart
  /usr/lib/ConsoleKit/scripts/ck-system-stop

(From OE-Core rev: 98ef35b319320ac9530e31926ad18d5f5ecd87db)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorun-postinsts: use BPN instead of PN
Constantin Musca [Mon, 4 Feb 2013 09:20:21 +0000 (11:20 +0200)]
run-postinsts: use BPN instead of PN

Fix the following warning:
WARNING: QA Issue: lib32-run-postinsts: Files/directories were installed but not shipped
  /usr/share/lib32-run-postinsts
  /usr/share/lib32-run-postinsts/run-postinsts.awk

[YOCTO #3438]

(From OE-Core rev: fb42fae0f6eb9821b5f1fedfaebf4307dc6590fe)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotaglib: use LIB_SUFFIX in order to determine the correct baselib
Constantin Musca [Mon, 4 Feb 2013 09:20:20 +0000 (11:20 +0200)]
taglib: use LIB_SUFFIX in order to determine the correct baselib

WARNING: QA Issue: taglib: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/libtag.so
  /usr/lib/libtag.so.1.12.0
  /usr/lib/libtag.so.1
  /usr/lib/libtag_c.so.0.0.0
  /usr/lib/libtag_c.so
  /usr/lib/libtag_c.so.0
  ...

(From OE-Core rev: ebc3e1f43a558165d16f663be796d731ca4b2a74)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofoomatic-filters: fix CUPS directory config
Constantin Musca [Mon, 4 Feb 2013 09:20:19 +0000 (11:20 +0200)]
foomatic-filters: fix CUPS directory config

- use CUPS_SERVERBIN to configure the CUPS directory
- the removed variables are not used anymore

Fix the following warning:
WARNING: QA Issue: foomatic-filters: Files/directories were installed but not shipped
  /usr/lib64
  /usr/lib64/cups
  /usr/lib64/cups/filter
  /usr/lib64/cups/backend
  /usr/lib64/cups/filter/foomatic-rip
  /usr/lib64/cups/backend/beh

(From OE-Core rev: 141621d956ea66a026b3571c3e0d30f1ab43961e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosyslinux: use BPN instead of PN
Constantin Musca [Mon, 4 Feb 2013 09:20:17 +0000 (11:20 +0200)]
syslinux: use BPN instead of PN

Fix the following warning:
WARNING: QA Issue: lib32-syslinux: Files/directories were installed but not shipped
  /usr/lib
  /usr/share/syslinux
  /usr/share/syslinux/com32
  /usr/share/syslinux/com32/libcom32gpl.a
  /usr/share/syslinux/com32/libcom32.a
  ...

[YOCTO #3438]

(From OE-Core rev: 0d014d0f42de4af76226799b04c8a2daa52f787e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosgml-common: use ${PN} instead of sgml-common
Constantin Musca [Mon, 4 Feb 2013 09:20:16 +0000 (11:20 +0200)]
sgml-common: use ${PN} instead of sgml-common

Fix the following warning:
WARNING: QA Issue: lib32-sgml-common: Files/directories were installed but not shipped
  /etc
  /etc/sgml
  /etc/sgml/sgml.conf
  /usr/bin
  /usr/bin/install-catalog
  /usr/bin/sgmlwhich

[YOCTO #3438]

(From OE-Core rev: 1a43fba81749618f9f1c18b99cb74ae1399bdc35)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconsole-tools: fix linking when using the multilib compiler
Constantin Musca [Mon, 4 Feb 2013 09:20:18 +0000 (11:20 +0200)]
console-tools: fix linking when using the multilib compiler

fix-libconsole-link.patch: add patch for fixing libconsole
linking problems when using multilib gcc

(From OE-Core rev: f70371a7c2da892a480a73d8571497dd7b367c7b)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoenchant: use BPN instead of PN
Constantin Musca [Mon, 4 Feb 2013 09:20:15 +0000 (11:20 +0200)]
enchant: use BPN instead of PN

- use BPN (PN includes mlprefix) to package all files
when building with multilib options

[YOCTO #3438]

(From OE-Core rev: 6039e0048d324569620868ec774cd88aa191eeaf)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocpan-base.bbclass: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:31:18 +0000 (11:31 +0000)]
cpan-base.bbclass: Improve RDEPENDS to be package specific

(From OE-Core rev: 3300d5fdcc60b14e184e0c6c40ba25d8c4d5ed46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitramfsframework: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:30:47 +0000 (11:30 +0000)]
initramfsframework: Improve RDEPENDS to be package specific

(From OE-Core rev: 8c9a604d3ef33d47a48000d6c38159a64204e81e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-ptest: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:30:30 +0000 (11:30 +0000)]
dbus-ptest: Improve RDEPENDS to be package specific

(From OE-Core rev: 962dc38c78ce539c74f90811a022995d15d76ffc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohwlatdetect: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:29:55 +0000 (11:29 +0000)]
hwlatdetect: Improve RDEPENDS to be package specific

(From OE-Core rev: 1207bb402adfbe6a0600e4540fc35a53282a857c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxml-sax-base-perl: Improve RDEPENDS to be package specific
Richard Purdie [Mon, 4 Feb 2013 11:29:40 +0000 (11:29 +0000)]
libxml-sax-base-perl: Improve RDEPENDS to be package specific

(From OE-Core rev: b72f277a8952649f23a3e476a10bf1e1706918be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitramfs-live-boot: Set RDEPENDS on the specific package that needs it
Richard Purdie [Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)]
initramfs-live-boot: Set RDEPENDS on the specific package that needs it

Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

(From OE-Core rev: 7437a864f03ff56a4fba9d8ce9baf845b945ed9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb-cross-canadian: Set RDEPENDS on the specific package that needs it
Richard Purdie [Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)]
gdb-cross-canadian: Set RDEPENDS on the specific package that needs it

Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

(From OE-Core rev: 51257c8665282e2b7f647adb4bdf8d07e2b40e1c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: Set RDEPENDS on the specific package that needs it
Richard Purdie [Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)]
qemu: Set RDEPENDS on the specific package that needs it

Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

(From OE-Core rev: 3c57a755ff1aec3806770443b73dc899d981c678)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agov86d: Update SRC_URI to point to new file location.
Andy Dalton [Mon, 4 Feb 2013 15:21:25 +0000 (10:21 -0500)]
v86d: Update SRC_URI to point to new file location.

The existing SRC_URI pointed to a Gentoo developer's private web
space.  It appears that that developer has retired and that his web
space is no longer active.  I've updated the SRC_URI to point to a
location where the file can now be found.

(From OE-Core rev: 2046c2a0922c4d67408578d4bf8549435fec8cd6)

Signed-off-by: Andy Dalton <a.spam.filter@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: Add missing pkgconfig dependency
Richard Purdie [Mon, 4 Feb 2013 15:50:40 +0000 (15:50 +0000)]
dpkg: Add missing pkgconfig dependency

configure touches pkg-config for various tests so we need the DEPENDS
which we can gain from the class inherit

(From OE-Core rev: 2602575108a39723f9975391e83290573cbd2ec9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/wipe-sysroot: add script to safely wipe the sysroots
Ross Burton [Fri, 25 Jan 2013 17:43:02 +0000 (17:43 +0000)]
scripts/wipe-sysroot: add script to safely wipe the sysroots

Add a script to wipe the sysroots and all of the relevant stamps, so that it
will be correctly re-populated.

(From OE-Core rev: ef98ff5ba562eb710b5a6fbd181fb1c4380010b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Allow per-package SKIP_FILEDEPS
Peter Seebach [Sat, 26 Jan 2013 18:21:28 +0000 (12:21 -0600)]
package.bbclass: Allow per-package SKIP_FILEDEPS

The existing check for SKIP_FILEDEPS can be overridden per recipe
using SKIP_FILEDEPS_pn-${PN}. However, there's no mechanism for
letting a single package within a recipe use SKIP_FILEDEPS.

This patch adds SKIP_FILEDEPS_<pkg>, by analogy to FILES_<pkg>.
Note that it only works one way; if the recipe has SKIP_FILEDEPS = 1,
the checks for individual packages will never be reached.

(From OE-Core rev: 94557b500ad38a49aec40629015ed0b24e167f76)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto/linux-yocto-custom: support low bandwidth options
Bruce Ashfield [Thu, 24 Jan 2013 05:30:31 +0000 (00:30 -0500)]
kernel-yocto/linux-yocto-custom: support low bandwidth options

To support configurations where active development is not being done within
the oe/bitbake build environment and restricted bandwidth situations, this
commit allows the SRC_URI to point to a kernel tgz instead of a full git
repository.

Outside of the upstream tgz instead of a kernel git repository, the
restrictions, config and patch process is the same as any linux-yocto-custom
recipe.

An example linux-yocto-custom based recipe would have a configuration like
this to build the 3.7 kernel, using an externally supplied config, from the
3.7 tgz:

  SRC_URI = "http://kernel.org/pub/linux/kernel/v3.0/linux-3.7.tar.bz2"
  PV = "3.7"
  S = "${WORKDIR}/linux-3.7"
  SRC_URI[md5sum] = "5323f3faadd051e83af605a63be5ea2e"
  SRC_URI[sha256sum] = "dc08d87a579fe2918362e6666e503a95a76296419195cb499aa9dd4dbe171a9e"

[YOCTO #2686]

(From OE-Core rev: 08b3a282ce75a9972694f0c4379179505b9ec91f)

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>
11 years agokernel-yocto: allow multiple / shared kernel feature directories
Bruce Ashfield [Wed, 23 Jan 2013 20:21:52 +0000 (15:21 -0500)]
kernel-yocto: allow multiple / shared kernel feature directories

To promote the reuse and sharing of configuration fragments this change
allows any kernel-yocto based recipe to have multiple alternate git repositories
which provide kernel feature directory trees listed on the SRC_URI.

These feature directories are in addition to any in-tree kernel meta data branches
that may be available (described via the KMETA variable in linux-yocto recipes).

Features found within these directories can be used from recipes via the
KERNEL_FEATURES variable. Features found within a feature directory are free
to include any other features that are available in any directories. In both
cases the path to a feature description (a .scc file) is relative to the
root of a given feature directory (which is how existing .scc files work)

The search order for features is determined by the order that repositories
appear on the SRC_URI.

Normal SRC_URI rules apply to any repository that is added as a kernel
feature container. A SRCREV must be supplied and it must be unpacked to
a unique directory, which is controlled via the "destsuffic" url parameter.

In addition to these standard requirements, any kernel feature repository
reference should identify itself via the "type=kmeta" url parameter. If
type=kmeta is not supplied, the repository will not be processed for
kernel features.

As an example, the following in a linux-yocto bbappend makes two additional
feature directories available to KERNEL_FEATURES and fragments.

 SRC_URI += "git://git.yoctoproject.org/yocto-kernel-cache;protocol=git;branch=master;type=kmeta;name=feat1;destsuffix=kernel-cache/"
 SRC_URI += "git://${KSRC_linux_yocto_3_4};protocol=file;branch=meta;name=feat2;type=kmeta;destsuffix=kernel-features-experimental/"

 SRCREV_feat1 = "${AUTOREV}"
 SRCREV_feat2 = "${AUTOREV}"

(From OE-Core rev: 02ad603a104b70ab74548c8018e738bfbb3c59db)

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>
11 years agokernel-yocto: fix .scc and .cfg matching
Bruce Ashfield [Mon, 28 Jan 2013 21:27:07 +0000 (16:27 -0500)]
kernel-yocto: fix .scc and .cfg matching

SRC_URIs that contained git repositories or other constructs that resulted
in an extension of "." or a substring of "scc" or "cfg" were matching the
tests for patches and configs. This was due to a python tuple being used
instead of an array. Switching to an array makes the match exact and the
behaviour we want.

(From OE-Core rev: 22aa5d040604b37ba984bae9e800e56ba6e4956d)

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>
11 years agokernel-yocto: make configuration audit details debug only
Bruce Ashfield [Thu, 13 Dec 2012 20:43:05 +0000 (15:43 -0500)]
kernel-yocto: make configuration audit details debug only

The details of the kernel configuration audit are typically a
debug action, so should be moved to bb.debug(). But in order
to maintain visibility of the results, a reference to the log
file is provided in the standard message.

(From OE-Core rev: 9ab80ad88d34622a81670cdc45cc3275fc3ebabe)

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>