]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agotremor: remove unrecognised option
Robert Yang [Sat, 28 Dec 2013 03:29:24 +0000 (11:29 +0800)]
tremor: remove unrecognised option

Remove the --disable-rpath, it seems taht there is never such an option
in tremor's configure, and it uses our libtool, so we don't have to
worry about the rpath.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoalsa-lib: remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 02:01:49 +0000 (10:01 +0800)]
alsa-lib: remove unrecognised options

Remove --with-cards and --with-oss, they are never in alsa-lib, but in
alsa-driver, and the --with-cards had also been dropped from
alsa-driver.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoflac: remove unrecognised options
Robert Yang [Sat, 28 Dec 2013 01:34:12 +0000 (09:34 +0800)]
flac: remove unrecognised options

Remove --disable-id3libtest and --without-id3lib which had been removed
from flac for many years, here is the log from flac:

  commit e31d9eb05cb82bd5f9cab1e6ad5295ddad22bcab
  Author: Josh Coalson <jcoalson@users.sourceforce.net>
  Date:   Tue Sep 28 00:23:57 2004 +0000

      remove id3 support from the plugins

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11 years agoopenssl: use PACKAGECONFIG to disable perl bits
Saul Wold [Fri, 20 Dec 2013 18:47:26 +0000 (10:47 -0800)]
openssl: use PACKAGECONFIG to disable perl bits

Adding perl to the RDEPENDS caused a performance hit to the overall build time since this was
the only package that depended on perl.  The openssl-misc package is not installed by default
so use a PACKAGECONFIG which can be overridden to allow the perl scripts along with  perl to
 be installed.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoaster.bbclass: fix crash on buildstats collection
Alexandru DAMIAN [Wed, 18 Dec 2013 19:24:47 +0000 (19:24 +0000)]
toaster.bbclass: fix crash on buildstats collection

Toaster needs buildstats to be enabled in order to
collect task statistics. The toaster.bbclass didn't
have a guard to stop task data collection if the buildstats
weren't enabled, leading to a crash.

This patch verifies that the task variables are defined before
trying to use them.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agovalgrind: upgrade to 3.9.0
Cristiana Voicu [Fri, 20 Dec 2013 09:43:49 +0000 (11:43 +0200)]
valgrind: upgrade to 3.9.0

Changed patches directory to "valgrind";
Removed 4 patches because they were merged upstream;
Updated 2 patches because now it has configure.ac instead of .in;
Changed license md5 for 2 files because of a small change for copyright
year

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: restore printing LIC_FILES_CHKSUM checksum if not specified
Paul Eggleton [Fri, 20 Dec 2013 14:55:10 +0000 (14:55 +0000)]
classes/insane: restore printing LIC_FILES_CHKSUM checksum if not specified

OE-Core rev ec8590aa81e201e28e500935d31cd7266114471f (by me)
unintentionally disabled printing the actual checksum value if no
checksum was specified, i.e.:

LIC_FILES_CHKSUM = "file://COPYING;md5="

Printing the actual checksum in this case is really useful when writing
a new recipe, so put this back in.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibav: add libpostproc to PROVIDES (for 0.8.x version only)
Paul Eggleton [Fri, 20 Dec 2013 14:55:09 +0000 (14:55 +0000)]
libav: add libpostproc to PROVIDES (for 0.8.x version only)

There is a separate libpostproc recipe in meta-oe for use with 9.x and
later versions of libav for those few that need libpostproc; however if
you just add meta-oe and try to build libpostproc without selecting the
libav 9.x version recipe, you'll be building the libpostproc recipe
together with libav 0.8.x, which provides its own libpostproc; this
leads to confusing errors at packaging time. In order to flag up that
these conflict more appropriately, add libpostproc to PROVIDES
explicitly so that you at least get a multiple providers error at the
start of the build.

Fixes [YOCTO #5335].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Use datastore copies due to data changes persisting
Richard Purdie [Sat, 21 Dec 2013 08:57:16 +0000 (08:57 +0000)]
sstate: Use datastore copies due to data changes persisting

The way the "all arch" PKGSPEC is enabled, it causes corruption
of the datastore of sstate operations against other tasks.

Data store copies are cheap and allow us to use that trick, resetting
to a clean copy of the data afterwards.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternalsrc: Fix deltask usage
Richard Purdie [Sat, 21 Dec 2013 08:56:48 +0000 (08:56 +0000)]
externalsrc: Fix deltask usage

An incorrect version of the patch merged which entirely removed the covered
variable. This corrects the patch so the code works.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal: Exclude BB_ORIGENV from the signatures
Richard Purdie [Fri, 20 Dec 2013 17:16:25 +0000 (17:16 +0000)]
terminal: Exclude BB_ORIGENV from the signatures

devshell was printing a traceback when exiting due to the use of dump_sigs()
being called on the task. This is turn was since this function referenced
BB_ORIGENV. We might as well globally exclude this for now since its a
data store object and cannot be pickled, not would it make sense to do so.

[YOCTO #5683]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate/sstatesig: Add populate_lic to list of arch invariant sstate tasks
Richard Purdie [Fri, 20 Dec 2013 12:08:56 +0000 (12:08 +0000)]
sstate/sstatesig: Add populate_lic to list of arch invariant sstate tasks

Like fetch, unpack and patch, populate_lic doesn't vary between different
archs so we should mark it as such. This means better sstate cache reuse
with fewer duplicate files as well as less confusing sstate debugging.

sstatesig also needs to account for the fact BPN is used for sstate files
in these cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Exclude WORKDIR changes from sstate checksums
Richard Purdie [Fri, 20 Dec 2013 12:06:41 +0000 (12:06 +0000)]
bitbake.conf: Exclude WORKDIR changes from sstate checksums

The layout of stamp files ensures that changes to WORKDIR mean recipes get rebuilt correctly.
Since WORKDIR usually contains MULTIMACH_TARGET_SYS and that depends on tune variables,
including WORKDIR in sstate checksums adds a lot of noise to the system for what amounts to
no gain.

On the other hand, removing it reduces noise, reduces the size of the siginfo files and
reduces the amount of processing bitbake has to do. It therefore seems like dropping it
from the checksums is an all around win.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally
Richard Purdie [Fri, 20 Dec 2013 12:06:02 +0000 (12:06 +0000)]
sstate: Convert to use ':' as a filename sperator and use SSTATE_SWSPEC globally

Currently the code has problems differentiating between "gcc-cross" and "gcc-cross-initial"
sstate files. We could add in a ton of special casing but tests show this isn't scaling
well. Using a more unique separator resolves the issue.

The choice of which separator to use is a hard one. We need something which isn't commonly
used in PN, PV, PR, *_OS and *_ARCH which rules out '-', '_' and it needs to work ok with
webservers/http which makes ';' and '%' harder.

The change also sets SSTATE_SWSPEC globally since writing out differently named siginfo
files for the fetch/unpack/patch tasks is a waste of diskspace, the hashes match for
all PN in the majority of cases and if they don't, its not a big issue as the hash is
different. This makes the results from sstate debugging more understandable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcap: Allow rebuilds to work correctly
Richard Purdie [Fri, 20 Dec 2013 12:05:25 +0000 (12:05 +0000)]
libcap: Allow rebuilds to work correctly

Currently rerunning configure for libcap causes a build failure. This fixes
the sed expressions to work correctly for a rebuild.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobeecrypt: Allow PACKAGECONFIG to be overridden
Saul Wold [Thu, 19 Dec 2013 23:31:02 +0000 (15:31 -0800)]
beecrypt: Allow PACKAGECONFIG to be overridden

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoharfbuzz: Allow PACKAGECONFIG to be overridden
Saul Wold [Thu, 19 Dec 2013 23:30:40 +0000 (15:30 -0800)]
harfbuzz: Allow PACKAGECONFIG to be overridden

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agonfs-utils: modify the boot sequence of the init script
Zhang Xiao [Thu, 19 Dec 2013 05:35:32 +0000 (13:35 +0800)]
nfs-utils: modify the boot sequence of the init script

Move the nfscommon out of rcS and let it start just before
nfsserver. Modify the useradd parameter with long parameter
to make it more readable.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorunqemu: Allow user to set -vga option with qemuparams
Valentin Popa [Thu, 19 Dec 2013 14:02:57 +0000 (16:02 +0200)]
runqemu: Allow user to set -vga option with qemuparams

At the moment, the user cannot to set -vga other then vmware
(because "vmware" is set by default); and the first argument
in qemuparams has higher precedence.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotestimage: include traceback when loading a test fails
Stefan Stanacar [Wed, 18 Dec 2013 18:31:55 +0000 (20:31 +0200)]
testimage: include traceback when loading a test fails

Makes it much easier to figure out where a syntax error is.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolib/oeqa/runtime: rewrite the systemd test module
Stefan Stanacar [Wed, 18 Dec 2013 19:02:05 +0000 (21:02 +0200)]
lib/oeqa/runtime: rewrite the systemd test module

They are basically the same tests but:
- they look cleaner, using one single method / assert
- output from unittest will be cleaner (and includes a verbose status when needed)
- they are better grouped and use a real, active, enabled service
  (machineid will be dropped and hostnamed was a static service)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: added buildhistory buildtime tests in module buildoptions.py
Corneliu Stoicescu [Tue, 17 Dec 2013 11:32:29 +0000 (12:32 +0100)]
oe-selftest: added buildhistory buildtime tests in module buildoptions.py

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: New test module for OE scripts.
Corneliu Stoicescu [Tue, 17 Dec 2013 11:29:02 +0000 (12:29 +0100)]
oe-selftest: New test module for OE scripts.

Added a new module meta/lib/oeqa/selftest/oescripts.py containing tests
for scripts from ${COREBASE}/scripts

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: New BuildhistoryBase object for buildhistory testing.
Corneliu Stoicescu [Tue, 17 Dec 2013 11:28:10 +0000 (12:28 +0100)]
oe-selftest: New BuildhistoryBase object for buildhistory testing.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconf-notes: remove meta-toolchain-sdk references
Saul Wold [Wed, 18 Dec 2013 23:45:36 +0000 (15:45 -0800)]
conf-notes: remove meta-toolchain-sdk references

[YOCTO #5676]

(From OE-Core rev: 4c81f743eb15604eb389f3ceafe7af7567a02e0d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: upgrade to 0.2.4
Cristian Iorga [Thu, 19 Dec 2013 09:34:52 +0000 (11:34 +0200)]
libtirpc: upgrade to 0.2.4

obsolete_automake_macros.patch removed,
no longer needed.
Disabled GSS APIs, as those APIs are
not present in our distro.
Patches directory is now generic,
as patches are not created for a specific version.

(From OE-Core rev: 3d42e107379d2e79b14a2dbcd35820c63adbfdb0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstatesig: Correctly handle matches spanning stamps and sstatedir
Richard Purdie [Thu, 19 Dec 2013 09:40:10 +0000 (09:40 +0000)]
sstatesig: Correctly handle matches spanning stamps and sstatedir

By resetting filesdates at this point, we lose matches from stamps which
may not have been in sstatedir. When we don't have hashes specicifed,
its better to return all matches and have the caller decide which are
relavent and which are not since this function has no ability to
decide. There will almost always be one match from stamps we need
to keep and refer to.

(From OE-Core rev: f4c1c9ad2c7e944d4926d0629611da97f9df6a9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstatesig: Update for the removal of sstate-name
Richard Purdie [Thu, 19 Dec 2013 09:39:35 +0000 (09:39 +0000)]
sstatesig: Update for the removal of sstate-name

We've dropped sstate-name so we can remove this code. The fallback was
incorrect since we use taskname without the do_ prefix so this patch
updates to account for that too.

(From OE-Core rev: 72ff58124081333d46d37f31f2d1bf40d715e3bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstatesig: Ensure we return all matches for find_sigdata
Richard Purdie [Thu, 19 Dec 2013 09:38:18 +0000 (09:38 +0000)]
sstatesig: Ensure we return all matches for find_sigdata

When the hashes to find isn't specified we need to return matches from both
the sstate cache and the local stamps directory regardless of how many we've
found so far. If we don't do this, we can miss stamps and the comparison is
less accurate/incorrect.

(From OE-Core rev: 08a074e11e2d517b81ca71fd9bda65297bb015a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest: Disable for native recipes
Richard Purdie [Wed, 18 Dec 2013 17:12:55 +0000 (17:12 +0000)]
ptest: Disable for native recipes

We don't use or otherwise care about ptest for native recipes. Its therefore
pointless to take the performance hit for them and we can disable them.

(From OE-Core rev: f3d35bb4719d0b8f8e6fc5976e9dbfc0e2019c2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoptest: Fix dependency/ordering issue
Richard Purdie [Wed, 18 Dec 2013 17:12:23 +0000 (17:12 +0000)]
ptest: Fix dependency/ordering issue

We've seen occasional issues on the autobuilder where files appear during
do_populate_sysroot and this is due to the ptest installation happening
in parallel. This fixes the order to be deterministic.

(From OE-Core rev: 0ed1641d870f4bb5735aeeb7bd29cc196e61b7cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternalsrc: Use deltask API
Richard Purdie [Wed, 18 Dec 2013 11:30:03 +0000 (11:30 +0000)]
externalsrc: Use deltask API

Now we have deltask API, stop poking around bitbake internal variables.

(From OE-Core rev: 98637df0c04fd14b506d9eec7da8ec6ae441221b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonative: Use deltask to remove tasks which have no purpose
Richard Purdie [Wed, 18 Dec 2013 10:46:33 +0000 (10:46 +0000)]
native: Use deltask to remove tasks which have no purpose

core-image-sato has 47703 inter task dependencies before this patch
and 29883 afterwards which is a significant worthwhile task graph
simplification.

(From OE-Core rev: ac4b1518ec549b5a4d7a79c60dbf96b90797e1d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.conf: Require bitbake 1.21.1 as a minumum version for deltask functionality
Richard Purdie [Fri, 20 Dec 2013 12:24:56 +0000 (12:24 +0000)]
sanity.conf: Require bitbake 1.21.1 as a minumum version for deltask functionality

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosecurity_flags: more relocation issues
Saul Wold [Wed, 18 Dec 2013 17:10:48 +0000 (09:10 -0800)]
security_flags: more relocation issues

These are similar relocation R_X86_64_PC32 issues that are solved by
removing the -pie flags.

[YOCTO #5515]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-ptest: Fix SRC_URI checksums
Richard Purdie [Wed, 18 Dec 2013 17:22:19 +0000 (17:22 +0000)]
dbus-ptest: Fix SRC_URI checksums

The upgrade changed the checksums for dbus but not dbus-ptest. This
patch corrects that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoMinicom depends on libiconv
Krzysztof Sywula [Wed, 18 Dec 2013 15:01:54 +0000 (15:01 +0000)]
Minicom depends on libiconv

Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd-compat-units: drop machineid.service
Ross Burton [Wed, 18 Dec 2013 16:20:05 +0000 (16:20 +0000)]
systemd-compat-units: drop machineid.service

systemd will create the machine ID automatically if it isn't set, so this unit
doesn't serve any purpose.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: delete files that end up in /var/volatile
Ross Burton [Wed, 18 Dec 2013 16:20:07 +0000 (16:20 +0000)]
systemd: delete files that end up in /var/volatile

${localstatedir}/log/journal is created by tmpfiles.d on boot, and the README
just causes warnings that /var/volatile isn't empty when mounting on top of it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: pass --root in prerm if running on host
Ross Burton [Wed, 18 Dec 2013 16:20:06 +0000 (16:20 +0000)]
systemd: pass --root in prerm if running on host

If a systemd image is built without a package manager then packages will be
removed from an image during rootfs generation, but without passing --root the
systemctl will look on the *host* system.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: upgrade to 1.6.18
Ross Burton [Wed, 18 Dec 2013 16:20:04 +0000 (16:20 +0000)]
dbus: upgrade to 1.6.18

Drop PR and INC_PR.

Move patches into a non-versioned directory, and update dbus-ptest to match.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory: be quiet when garbage collecting the git repo
Ross Burton [Wed, 18 Dec 2013 16:20:03 +0000 (16:20 +0000)]
buildhistory: be quiet when garbage collecting the git repo

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouseradd.bbclass: add dependency on base-files
Ross Burton [Wed, 18 Dec 2013 16:20:02 +0000 (16:20 +0000)]
useradd.bbclass: add dependency on base-files

Packages that use useradd.bbclass should have a dependency on base-files so that
the /etc/skel directory is populated.  Without this dependency base-files may or
may not be installed when the postinst runs, and the skel content may or may not
be copied.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Get rid of crazy name mapping
Richard Purdie [Wed, 18 Dec 2013 13:56:02 +0000 (13:56 +0000)]
sstate: Get rid of crazy name mapping

When originally developed, it was thought a task may have more than one associated
sstate archive. The way the code has grown that idea is now not possible or needed.
We can therefore assume one sstate archive per task and drop the crazy name
mapping code. Simpler is better in this case.

The downside is that various sstate archives will change name so this forces a cache
rebuild. Given the other sstate changes going in at this time, this isn't really
a bad thing as things would rebuild anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate/gcc: Fix shared workdir handling for siginfo files
Richard Purdie [Wed, 18 Dec 2013 13:55:08 +0000 (13:55 +0000)]
sstate/gcc: Fix shared workdir handling for siginfo files

For a shared workdir, any one of the fetch/unpack/patch tasks may run yet the
PN and architecture fields in SSTATE_PKGSPEC may differ. This makes looking up
the appropriate siginfo file near impossible.

I've tried several different ways of resolving this and this is the neatest
solution I could find, its still rather ugly. I believe the usefulness of
better sstate debugging outweighs the ugliness of the code.

This patch also changes the sstate_checkhashes() code to look for siginfo
files rather than the actual sstate packages themselves. This means the
function can be used in other contexts to find info files for tasks that
may not have sstate data. It is assumed that sstate mirrors will have both
files available. This is done to allow bitbake to query whether tasks have
matching signatures in sstate directories or not.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Write out siginfo files for non-sstate tasks
Richard Purdie [Wed, 18 Dec 2013 13:49:23 +0000 (13:49 +0000)]
sstate: Write out siginfo files for non-sstate tasks

Currently siginfo files are only written for sstate tasks. In order to be truly
debuggable, its helpful to have the siginfo for intermediate tasks. This
adds that functionality so the extra siginfo files are written out too.

This will be used to add better sstate debugging in future changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl.inc: Install c_rehash utility with openssl
mykhani [Tue, 17 Dec 2013 08:28:35 +0000 (13:28 +0500)]
openssl.inc: Install c_rehash utility with openssl

c_rehash utility is not being installed with openssl.It conveniently
generates hash and symbolic links based on it for CA certificates
stored locally for SSL based server authentication

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopointercal-xinput: Mark as SIGGEN_EXCLUDERECIPES_ABISAFE
Otavio Salvador [Tue, 17 Dec 2013 01:44:37 +0000 (23:44 -0200)]
pointercal-xinput: Mark as SIGGEN_EXCLUDERECIPES_ABISAFE

When including xinput-calibrator, in commit "xinput-calibrator: move
it from meta-oe to oe-core" the pointercal-xinput has not been added
to the SIGGEN_EXCLUDERECIPES_ABISAFE. This changes adds it to the
meta/conf/layer.conf's file list.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.7/gcc: disable sdt from configure.ac to keep compatibility with configure
Robert Yang [Tue, 17 Dec 2013 11:33:58 +0000 (19:33 +0800)]
gcc-4.7/gcc: disable sdt from configure.ac to keep compatibility with configure

We had disabled the sdt from configure, let's also disable it from
confgure.ac to keep them compatible.

BTW, the libstdc++-v3 of gcc-4.7 doesn't use the sdt, so we don't need
to edit libstdc++-v3/configure as gcc-4.8.

NOTE, this commit edit the patch gcc-4.7/disablesdt.patch directly.

[YOCTO #5657]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8/libstdc++-v3: disable sdt
Robert Yang [Tue, 17 Dec 2013 11:33:57 +0000 (19:33 +0800)]
gcc-4.8/libstdc++-v3: disable sdt

We may meet such an error when building gcc/libstdc++-v3:

gcc-4.8.1/libstdc++-v3/libsupc++/unwind-cxx.h:41:21: fatal error:
sys/sdt.h: No such file or directory

We already have a patch to disable the sdt for gcc, we also need disable
it for libstdc++-v3.

BTW, we need edit both configure.ac and configure to make them keep
compatible.

NOTE, this commit edit the patch gcc-4.8/0031-Disable-sdt.patch directly.

[YOCTO #5657]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibsoup-2.4: add intltool-native to DEPENDS
Paul Eggleton [Tue, 17 Dec 2013 10:42:12 +0000 (10:42 +0000)]
libsoup-2.4: add intltool-native to DEPENDS

The configure script looks for this; most of the time dependency chains
ensure this is present but we need to be explicit or failures can
occur.

Reported by Nicolas Dechesne <nicolas.dechesne@linaro.org>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub: move xz to DEPENDS list from RDEPENDS list
Ming Liu [Wed, 18 Dec 2013 08:37:38 +0000 (16:37 +0800)]
grub: move xz to DEPENDS list from RDEPENDS list

liblzma5 is really requiring by grub, setting RDEPENDS to xz would pull
unneeded xz binaries into rootfs.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib: Add graph-tool
Paul Eggleton [Mon, 16 Dec 2013 10:57:49 +0000 (10:57 +0000)]
scripts/contrib: Add graph-tool

A simple script I put together for getting the paths from one node to
another in a dot graph. This is useful for example in working out why
a particular recipe is getting built in conjunction with dot graph files
produced by bitbake -g.

For example:

$ bitbake -g core-image-minimal
...
$ graph-tool find-paths pn-depends.dot core-image-minimal util-linux
core-image-minimal -> packagegroup-core-boot -> udev -> glib-2.0 -> python-dbus -> dbus-glib -> dbus -> libsm -> e2fsprogs -> util-linux
core-image-minimal -> packagegroup-core-boot -> udev -> glib-2.0 -> python-dbus -> dbus -> libsm -> e2fsprogs -> util-linux
core-image-minimal -> packagegroup-core-boot -> udev -> util-linux

Partially addresses [YOCTO #3362].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobluez4: use legacy pygobject instead of gobject-introspection
Zhong Hongbo [Tue, 19 Nov 2013 09:19:00 +0000 (17:19 +0800)]
bluez4: use legacy pygobject instead of gobject-introspection

pygobject-3.0 use GObject from gi.repository instead of
gobject modules. Since oe-core use pygobject-2.x, change
all of "from gi.repository import GObject" to
"import gobject" for bluez4.

Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobluez4: Install the test script
Zhong Hongbo [Tue, 19 Nov 2013 09:18:59 +0000 (17:18 +0800)]
bluez4: Install the test script

Signed-off-by: Zhong Hongbo <hongbo.zhong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibpcap: upgrade to 1.5.2
Cristian Iorga [Mon, 16 Dec 2013 15:15:57 +0000 (17:15 +0200)]
libpcap: upgrade to 1.5.2

aclocal.patch was updated, still needed.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoman-pages: upgrade to 3.55
Saul Wold [Mon, 16 Dec 2013 13:29:48 +0000 (15:29 +0200)]
man-pages: upgrade to 3.55

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolsbtest: add ppc64 support
Kai Kang [Thu, 12 Dec 2013 02:36:28 +0000 (10:36 +0800)]
lsbtest: add ppc64 support

LSB supports to test on PPC64 target, so update lsbtest recipe and test
scripts to enable PPC64 support.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoLSB_Test.sh: update locales
Kai Kang [Thu, 12 Dec 2013 02:49:15 +0000 (10:49 +0800)]
LSB_Test.sh: update locales

Add missing localedef statements to the LSB_Test.sh which are required
by the libstdc++ LSB test.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoLSB_Test.sh: check ldconfig before update cache
Kai Kang [Wed, 11 Dec 2013 10:03:40 +0000 (18:03 +0800)]
LSB_Test.sh: check ldconfig before update cache

LSB_Test.sh run ldconfig to update library cache. If command ldconfig
doesn't exists, test will fail.

Check whether ldconfig exists. If not, don't update library cache.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoLSB_Test.sh: update rpm platform file when enable multilib
Kai Kang [Wed, 11 Dec 2013 09:05:53 +0000 (17:05 +0800)]
LSB_Test.sh: update rpm platform file when enable multilib

When enable multilib for x86_64, lsb rpm packages for archs x86_64 and
i486 will be installed. But i486 target packages fail to be installed
that no such pattern in rpm platform file. Update platform file to
enable install i486 rpm packages as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolsb: update directory of install_initd and remove_initd
Kai Kang [Wed, 13 Nov 2013 08:27:33 +0000 (16:27 +0800)]
lsb: update directory of install_initd and remove_initd

According to LSB specification:

http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/installinitd.html
http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/removeinitd.html

commands install_initd and remove_initd should under directory /usr/lib/lsb/.

lsb recipe creates these commands under directory ${libdir} which may
expand to /usr/lib64 when multilib is enabled on qemux86-64. That will
cause LSB command check for install_initd and remove_initd fail. So
correct it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoinsane: handle recursive configures when checking for unknown configure options
Ross Burton [Tue, 10 Dec 2013 19:38:26 +0000 (19:38 +0000)]
insane: handle recursive configures when checking for unknown configure options

Some recipes have configure scripts that recursively call other configure
scripts (e.g. dropbear).  These multiple-line matches were not being handled
correctly, so iterate over every matching line instead of assuming only one line
was found.

[ YOCTO #5646 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: get rid of nested functions in find
Muhammad Tauqir Ahmad [Fri, 13 Dec 2013 19:25:57 +0000 (14:25 -0500)]
busybox: get rid of nested functions in find

This allows us to compile busybox using clang. Nested functions is
a gcc extension not supported by clang.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: only package consolekit module when x11 is enabled
Christopher Larson [Fri, 13 Dec 2013 14:47:11 +0000 (07:47 -0700)]
pulseaudio: only package consolekit module when x11 is enabled

As requested by Martin Jansa <martin.jansa@gmail.com>.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogit: leverage upstream relocation support
Christopher Larson [Fri, 13 Dec 2013 14:50:11 +0000 (07:50 -0700)]
git: leverage upstream relocation support

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdrm: use RRECOMMENDS for libdrm-drivers
Christopher Larson [Fri, 13 Dec 2013 14:50:10 +0000 (07:50 -0700)]
libdrm: use RRECOMMENDS for libdrm-drivers

As libdrm enables modules automatically, based on what it needs / can build,
it's unlikely we'll *ever* get a situation where all the modules are emitted,
so libdrm-drivers, which depends on all of them, ends up being useless and
non-installable. Make it use rrecommends, so it only pulls in what we have.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxz: make the LICENSE info more accurate
Christopher Larson [Fri, 13 Dec 2013 14:50:09 +0000 (07:50 -0700)]
xz: make the LICENSE info more accurate

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu/local.conf.sample: Add sdl PACKAGECONFIG
Richard Purdie [Sun, 15 Dec 2013 16:30:29 +0000 (16:30 +0000)]
qemu/local.conf.sample: Add sdl PACKAGECONFIG

Currently the SDL configuration option for qemu floats. This is confusing to new users
and makes the build non-determinstic. This patch adds a PACKAGECONFIG option, defaulting
to off and adds documentation to local.conf.sample leaving it on by default since this
is the configuration our quick start assumes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonativesdk: Set LIBCOVERRIDE to a value
Richard Purdie [Sun, 15 Dec 2013 16:33:47 +0000 (16:33 +0000)]
nativesdk: Set LIBCOVERRIDE to a value

nativesdk was just unsetting LIBCOVERRIDE however that causes some build failures
for xorg-libs which used a libc override. This adds in a mechanism to force
nativesdk to glibc and give the option of allowing another selection like
uclibc if anyone ever does the work to make it operational.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-crosssdk.inc: Fix missing dependencies (such as libmpc-native)
Richard Purdie [Sun, 15 Dec 2013 16:31:41 +0000 (16:31 +0000)]
gcc-crosssdk.inc: Fix missing dependencies (such as libmpc-native)

Without this sstate builds can fail with missing dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouseradd-example: add example for setting clear text password
Chen Qi [Tue, 10 Dec 2013 09:40:37 +0000 (17:40 +0800)]
useradd-example: add example for setting clear text password

Use '-P' option for user3 to set a clear text password. This is supposed
to serve as an example of how to set clear text password in recipes.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoimage.bbclass: fix for zap_root_password
Chen Qi [Wed, 11 Dec 2013 05:41:36 +0000 (13:41 +0800)]
image.bbclass: fix for zap_root_password

Previously, this function replaces the root password with '*' if
'debug-tweaks' is not in IMAGE_FEATURES. It not only zaps empty root
password, but also zaps non-empty root password. That means, if the
user uses a bbappend file for base-passwd to set the root password, he
would not be able to login as root; if the user uses 'EXTRA_USERS_PARAMS'
to set the root password, he would still not be able to login as root.

What we really want from this function is to disallow empty root password
if 'debug-tweaks' is not in IMAGE_FEATURES. This function should not remove
non-empty root password because that password is usually deliberately set
by the user.

This patch renames zap_root_password to zap_empty_root_password to
better reflect the intent of this function. It also modifies the code
to make this function work correctly.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoshadow-native: allow for setting password in clear text
Chen Qi [Sat, 16 Nov 2013 07:27:47 +0000 (15:27 +0800)]
shadow-native: allow for setting password in clear text

Allow user to set password in clear text. This is convenient when
we're building out an image.

This feature is mainly used by useradd.bbclass and extrausers.bbclass.

This patch adds a new option '-P' to useradd, usermod, groupadd and groupmod
commands provided by shadow-native. The shadow package on target and in SDK
will not be affected.

[YOCTO #5365]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoimage.bbclass: default USE_DEVFS to '1'
Chen Qi [Tue, 10 Dec 2013 04:57:06 +0000 (12:57 +0800)]
image.bbclass: default USE_DEVFS to '1'

Default USE_DEVFS to "1" so that the `makedevs' command is not run
at rootfs time by default. There are mainly two reasons to do so.

1. This will fix a build failure with initramfs-kexecboot-klibc-image.
   "makedevs: No entry for root in search list "

2. Most of our images use a filesystem over /dev. Most of the time, it's
   just devtmpfs. So we actually are using a filesystem over /dev.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobtrfs-tools: Update to 3.12
Saul Wold [Mon, 9 Dec 2013 17:36:49 +0000 (09:36 -0800)]
btrfs-tools: Update to 3.12

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolib/oeqa/runtime: systemd failure case improvements
Ross Burton [Thu, 12 Dec 2013 10:06:09 +0000 (10:06 +0000)]
lib/oeqa/runtime: systemd failure case improvements

If the hostnamed service can't be started or stopped, show the output from
systemctl status to assist debugging.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoinit-ifupdown: adjust priority of networking to fix system freeze problem
Chen Qi [Thu, 12 Dec 2013 08:38:04 +0000 (16:38 +0800)]
init-ifupdown: adjust priority of networking to fix system freeze problem

On mpc8315e, a system freeze is encountered at system boot time if
connman and init-ifupdown are installed.

The error message before the freeze is:
    "ip: RTNETLINK answers: File exists"

This problem is introduced by the following commit.
    dc80eea sysvinit: fix problem in switching runlevels

Part of the above commit is to make the networking init script run
at runlevel 2 3 4 5 instead of runlevel S. However, after the change,
networking is run after connman. And this causes the problem stated
above.

Make networking run first when entering runlevel 2 3 4 5, so that we
don't break things.

[YOCTO #5651]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoltp: Use patch generated without -M
Martin Jansa [Fri, 13 Dec 2013 02:37:18 +0000 (03:37 +0100)]
ltp: Use patch generated without -M

* in my builds both versions worked, but Saul reported that it fails to
  apply with:
  Applying patch
  0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch
  patch: **** Only garbage was found in the patch input.

  Now I've see the same issue on different builder (with Ubuntu 12.04).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogstreamer1.0-plugins-base: fix missing rprovides
Matthieu Crapet [Fri, 13 Dec 2013 10:50:17 +0000 (11:50 +0100)]
gstreamer1.0-plugins-base: fix missing rprovides

split_gstreamer10_packages creates libgst* packages which are missing in PACKAGES list.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoglib-2.0: upgrade to 2.38.2
Cristian Iorga [Wed, 11 Dec 2013 17:24:03 +0000 (19:24 +0200)]
glib-2.0: upgrade to 2.38.2

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorpcbind: upgrade to 0.2.1
Cristian Iorga [Wed, 11 Dec 2013 17:24:02 +0000 (19:24 +0200)]
rpcbind: upgrade to 0.2.1

fix_host_path.patch and obsolete_automake_macros.patch
are no longer necessary, removed.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobluez5: upgrade to 5.12
Cristian Iorga [Wed, 11 Dec 2013 17:24:01 +0000 (19:24 +0200)]
bluez5: upgrade to 5.12

- Configure options no longer available were removed.
- The content of patch directory was generic, so the name
of directory is now generic.
- Switched to xz format for tarball
(40% decrease in download size).

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: Add track_for_cleanup method to be used in cleanup tasks
Corneliu Stoicescu [Wed, 11 Dec 2013 16:09:40 +0000 (17:09 +0100)]
oe-selftest: Add track_for_cleanup method to be used in cleanup tasks

Added a track_for_cleanup(path) method that removes the given path in the
tearDown method. This mechanism can be used to make sure a file or directory
we created will be removed at the end of a test, regardless of what happens.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agooe-selftest: implement add_command_to_tearDown method
Corneliu Stoicescu [Wed, 11 Dec 2013 16:09:39 +0000 (17:09 +0100)]
oe-selftest: implement add_command_to_tearDown method

Add a new method that can be used by the tester to add a command to the
executed in the tearDown stage of the test. This mechanism can be used to
make sure certain test-specific cleanup tasks are done in the case of a
test failure.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorpcbind: fix init status and exit code
Wenzong Fan [Wed, 11 Dec 2013 09:07:06 +0000 (04:07 -0500)]
rpcbind: fix init status and exit code

Print status messages and exit with proper code. This also allows debian
service script to get rpcbind status correctly.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibgcrypt: fix compile error with '-O2' in sysroot path
Chen Qi [Wed, 11 Dec 2013 09:06:29 +0000 (17:06 +0800)]
libgcrypt: fix compile error with '-O2' in sysroot path

Characters like '-O2' or '-Ofast' will be replaced by '-O1' when
compiling cipher. If we are cross compiling libgcrypt and sysroot
contains such characters, we would get compile errors because the
sysroot path has been modified.

Fix this by adding whitespaces before and after the original matching
pattern in the sed command.

[YOCTO #5628]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocpan_build bbclass: do not install module into /usr/share
Koen Kooi [Wed, 11 Dec 2013 08:50:09 +0000 (09:50 +0100)]
cpan_build bbclass: do not install module into /usr/share

https://github.com/openembedded/oe-core/commit/83796edd29561f02b6f7b036351711f8def77a4f is a partial solution, this fixes cpan_build.bbclass as well.

A non-working one looks like this:
[koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-module-build-withxspp_0.14-r0.0_armv7ahf-vfp-neon.ipk
-rw-r--r-- root/root       361 2013-11-28 16:50 ./usr/lib/perl/auto/Module/Build/WithXSpp/.packlist
-r--r--r-- root/root     22557 2013-11-28 16:50 ./usr/share/perl/Module/Build/WithXSpp.pm

It now looks like this:
[koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-module-build-withxspp_0.14-r*.ipk
-rw-r--r-- root/root       378 2013-11-29 14:44 ./usr/lib/perl/auto/Module/Build/WithXSpp/.packlist
-r--r--r-- root/root     22557 2013-11-28 17:22 ./usr/lib/perl/vendor_perl/5.14.3/Module/Build/WithXSpp.pm

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoperl: remove sysroot path leakage into packaged files
Koen Kooi [Wed, 11 Dec 2013 08:50:08 +0000 (09:50 +0100)]
perl: remove sysroot path leakage into packaged files

A grep in $D shows a lot of leakage which breaks things like CPAN:

[koen@rrmbp image]$ grep sysroot . -rn | grep -v Binary
./usr/lib/perl/5.14.3/cacheout.pl:50:if (open(PARAM,'/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/sys/param.h')) {
./usr/lib/perl/5.14.3/CORE/pp.h:53:#undef SP /* Solaris 2.7 i386 has this in /build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/sys/reg.h */
./usr/lib/perl/5.14.3/Config.pod:8076:used. Typically F</build/v2013.06/build/tmp>-angstrom_v2013_06-F<eglibc/sysroots/beaglebone/usr/include/string.h> or F</build/v2013.06/build/tmp>-angstrom_v2013_06-F<eglibc/sysroots/beaglebone/usr/include/strings.h>.
./usr/lib/perl/5.14.3/FileCache.pm:119:    foreach my $param ( '/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/sys/param.h' ){
./usr/lib/perl/5.14.3/Config.pm:87:    archlibexp => '/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/lib/perl/5.14.3/',
./usr/lib/perl/5.14.3/Config.pm:89:    cc => 'arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone',
./usr/lib/perl/5.14.3/Config.pm:101:    full_ar => '/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/x86_64-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-ar',
./usr/lib/perl/5.14.3/Config.pm:114:    ld => 'arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone',
./usr/lib/perl/5.14.3/Config_heavy.pl:169:archlibexp='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/lib/perl/5.14.3/'
./usr/lib/perl/5.14.3/Config_heavy.pl:186:cc="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone"
./usr/lib/perl/5.14.3/Config_heavy.pl:191:ccname="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone"
./usr/lib/perl/5.14.3/Config_heavy.pl:245:cpprun="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone -E"
./usr/lib/perl/5.14.3/Config_heavy.pl:246:cppstdin="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone -E"
./usr/lib/perl/5.14.3/Config_heavy.pl:745:full_ar='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/x86_64-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-ar'
./usr/lib/perl/5.14.3/Config_heavy.pl:927:ld="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone"
./usr/lib/perl/5.14.3/Config_heavy.pl:1167:strings='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/string.h'
./usr/lib/perl/5.14.3/Config_heavy.pl:1177:timeincl='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/sys/time.h /build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/time.h '
./usr/lib/perl/5.14.3/Config_heavy.pl:1229:usrinc='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include'
./usr/lib/perl/5.14.3/ExtUtils/Liblist/Kid.pm:58:    push(@libpath, "/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/lib");
./usr/lib/perl/config.sh:56:archlibexp='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/lib/perl/5.14.3/'
./usr/lib/perl/config.sh:73:cc="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone"
./usr/lib/perl/config.sh:78:ccname="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone"
./usr/lib/perl/config.sh:100:cpprun="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone -E"
./usr/lib/perl/config.sh:101:cppstdin="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone -E"
./usr/lib/perl/config.sh:591:full_ar='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/x86_64-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-ar'
./usr/lib/perl/config.sh:769:ld="arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone"
./usr/lib/perl/config.sh:986:strings='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/string.h'
./usr/lib/perl/config.sh:996:timeincl='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/sys/time.h /build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include/time.h '
./usr/lib/perl/config.sh:1042:usrinc='/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone/usr/include'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodistutils bbclass: delete site.py*
Koen Kooi [Wed, 11 Dec 2013 08:50:07 +0000 (09:50 +0100)]
distutils bbclass: delete site.py*

Multiple recipes package this generated file and will clash during installation with:

| Collected errors:
|  * check_data_file_clashes: Package python-nose wants to install file /build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-gnome-image/1.0-r0/rootfs/usr/lib/python2.7/site-packages/site.pyc
|       But that file is already provided by package  * python-setuptools
|  * check_data_file_clashes: Package python-nose wants to install file /build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-gnome-image/1.0-r0/rootfs/usr/lib/python2.7/site-packages/site.py
|       But that file is already provided by package  * python-setuptools

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-libc-headers: fix MIPS klibc build error
Bruce Ashfield [Tue, 10 Dec 2013 15:16:15 +0000 (10:16 -0500)]
linux-libc-headers: fix MIPS klibc build error

As reported by Andrea Adami, klibc fails to build for MIPS with the 3.10 libc-headers

commit ca044f9a [UAPI: fix endianness conditionals in linux/raid/md_p.h] is the root
cause of the breakage.

This is fixed in the kernel source itself, but we must also carry the
change in the linux-libc-headers recipe, until we update past the
3.13 kernel.

With this change, we can again build klibc for mips, with no impact
on the rest of the system.

cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-yocto-dev: allow static SRCREVs via include
Bruce Ashfield [Thu, 5 Dec 2013 19:31:55 +0000 (14:31 -0500)]
linux-yocto-dev: allow static SRCREVs via include

The linux-yocto dev recipe is intended to track the latest revisions of the
kernel tree by default. To control revision churn, and integrate into a
regular build schedule having the ability to specify a set of SRCREVs without
modifying the recipe itself is desired.

So we introduce an optional include file, and variables that control whether
or not the static SRCREVs are used: USE_MACHINE_AUTOREV and USE_META_AUTOREV,
to add this flexibility.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoudev: Add ptest
Alexandra Safta [Mon, 2 Dec 2013 12:39:12 +0000 (13:39 +0100)]
udev: Add ptest

Install udev test suite and run it as a ptest.

Signed-off-by: Alexandra Safta <alexandra.safta@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoiproute2: upgrade to 3.12.0
Cristian Iorga [Fri, 6 Dec 2013 15:00:15 +0000 (17:00 +0200)]
iproute2: upgrade to 3.12.0

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoiptables: upgrade to 1.4.21
Cristian Iorga [Fri, 6 Dec 2013 15:00:14 +0000 (17:00 +0200)]
iptables: upgrade to 1.4.21

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocracklib: upgrade to 2.9.1
Saul Wold [Mon, 9 Dec 2013 13:26:00 +0000 (15:26 +0200)]
cracklib: upgrade to 2.9.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodpkg: upgrade to 1.17.4
Saul Wold [Mon, 9 Dec 2013 13:07:58 +0000 (15:07 +0200)]
dpkg: upgrade to 1.17.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxorg-lib: remove explicit --enable-malloc0returnsnull
Ross Burton [Wed, 11 Dec 2013 14:04:35 +0000 (14:04 +0000)]
xorg-lib: remove explicit --enable-malloc0returnsnull

util-macros 1.18 will read the autoconf site cache, so these values are
redundant.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoutil-macros: upgrade to 1.18.0
Saul Wold [Sat, 7 Dec 2013 08:20:36 +0000 (10:20 +0200)]
util-macros: upgrade to 1.18.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosite: add xorg_cv_malloc0_returns_null
Ross Burton [Wed, 11 Dec 2013 14:04:34 +0000 (14:04 +0000)]
site: add xorg_cv_malloc0_returns_null

util-macros 1.18 will look in the autoconf cache for this value so instead of
using overrides in xorg-lib-common, use the per-libc site cache.

Alert readers may notice that the site file claims that glibc returns NULL from
malloc(), when the previous change (e628c8aba0189de30de2833882b9999ff3b6547a)
claimed that it didn't.  The previous change was incorrect, whilst malloc(0)
returns a valid pointer, realloc(p,0) does in fact return NULL, so the Xlib
wrapper functions are needed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>