]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agolinux-yocto/3.4: remove 3.4 name recipes
Bruce Ashfield [Thu, 28 Aug 2014 14:08:18 +0000 (10:08 -0400)]
linux-yocto/3.4: remove 3.4 name recipes

Removing the 3.4 recipes, since support has not shifted to 3.10 and
3.14 for LTSI kernel versions, with 3.16+ as the development version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto/3.14: update to v3.14.17
Bruce Ashfield [Wed, 27 Aug 2014 17:11:05 +0000 (13:11 -0400)]
linux-yocto/3.14: update to v3.14.17

Updating the 3.14 repository to the latest korg stable udpate.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolinux-yocto/3.14: vhost, vxland, openvswitch and block/bfq updates
Bruce Ashfield [Mon, 25 Aug 2014 15:20:22 +0000 (11:20 -0400)]
linux-yocto/3.14: vhost, vxland, openvswitch and block/bfq updates

Updating the linux-yocto/3.14 SRCREVs to integrate more feature additions
and backports to the LTSI kernel base:

   42477caf6bfd block, bfq: add Early Queue Merge (EQM) to BFQ-v7r5 for 3.14.0
   349aa3f0848d block: introduce the BFQ-v7r5 I/O sched for 3.14
   121ed2738c47 block: cgroups, kconfig, build bits for BFQ-v7r5-3.14
   9925795a3e54 vhost-scsi: Include prot_bytes into expected data transfer length
   68fe340cb836 vhost: move memory pointer to VQs
   72fa27bcf526 vhost: move acked_features to VQs
   757680234478 vhost: replace rcu with mutex
   050c1440ac73 vhost-net: extend device allocation to vmalloc
   d68641313156 vhost/scsi: Enable T10 PI IOV -> SGL memory mapping
   fb89a8df7f1c vhost/scsi: Add T10 PI IOV -> SGL memory mapping logic
   5caf8475ee8a vhost/scsi: Add preallocation of protection SGLs
   c0785b9490a8 vhost/scsi: Move sanity check into vhost_scsi_map_iov_to_sgl
   bd947327cdf6 vhost: don't open-code sockfd_put()
   83fab2df94c6 openvswitch: Use exact lookup for flow_get and flow_del.
   9c185c40f7a8 openvswitch: Fix tracking of flags seen in TCP flows.
   0d2455332847 openvswitch: supply a dummy err_handler of gre_cisco_protocol to prevent kernel crash
   4513a2fd2703 openvswitch: Fix a double free bug for the sample action
   1acf10deff18 openvswitch: Simplify genetlink code.
   9ea6a4dea3f5 openvswitch: Minimize ovs_flow_cmd_new|set critical sections.
   9e76764432cf openvswitch: Split ovs_flow_cmd_new_or_set().
   7bafcd59a838 openvswitch: Minimize ovs_flow_cmd_del critical section.
   67980f929444 openvswitch: Reduce locking requirements.
   347f9442b559 openvswitch: Fix ovs_flow_stats_get/clear RCU dereference.
   c7aa7c522ec0 openvswitch: Fix typo.
   b244c7b19a55 openvswitch: Minimize dp and vport critical sections.
   21883a3ffdb6 openvswitch: Make flow mask removal symmetric.
   ffa173197cf5 openvswitch: Build flow cmd netlink reply only if needed.
   f3e8e5c07505 openvswitch: Clarify locking.
   df42a8f505c2 openvswitch: Avoid assigning a NULL pointer to flow actions.
   91b07542da22 openvswitch: Compact sw_flow_key.
   24bb1a576332 net/openvswitch: Use with RCU_INIT_POINTER(x, NULL) in vport-gre.c
   808868318939 openvswitch: Use TCP flags in the flow key for stats.
   a57851bae1cf openvswitch: Fix output of SCTP mask.
   8b70125106ee openvswitch: Per NUMA node flow stats.
   606497442f52 openvswitch: Remove 5-tuple optimization.
   01e74b175909 openvswitch: Use ether_addr_copy
   b5d02cfdc985 openvswitch: flow_netlink: Use pr_fmt to OVS_NLERR output
   4da9e8d176f9 openvswitch: Use net_ratelimit in OVS_NLERR
   ee8f673dd798 openvswitch: Added (unsigned long long) cast in printf
   b67f35f8b0aa openvswitch: avoid cast-qual warning in vport_priv
   3e01428f6e0c openvswitch: avoid warnings in vport_from_priv
   069ee359a487 openvswitch: use const in some local vars and casts
   cbec86356a89 vxlan: add x-netns support
   a51970560923 vxlan: ensure to advertise the right fdb remote
   696068dca072 vxlan: remove unused port variable in vxlan_udp_encap_recv()
   e94003f3b58d sched/deadline: Fix sched_yield() behavior

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokern-tools: allow meta branch and meta data directory to differ
Bruce Ashfield [Fri, 29 Aug 2014 14:32:36 +0000 (10:32 -0400)]
kern-tools: allow meta branch and meta data directory to differ

From the kern-tools commit:

    tools: allow meta directories that are not the same as the branch name

    With this change it is now possible to have a meta branch with meta data
    in a directory that is not the same name as the branch.

    The changes to three parts of the build are required to discover the name
    of the meta directory by relying on the fact that in a clean/proper build
    the meta directory is the only untracked, top level directory in the build.

    As such, we can restore a checkpoint and then examine the build directory
    to determine the meta directory name .. avoiding any new variables to
    indicate this to the scripts and build system.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: convert echo statements to bb* equivalents
Bruce Ashfield [Thu, 21 Aug 2014 15:14:35 +0000 (11:14 -0400)]
kernel-yocto: convert echo statements to bb* equivalents

Use the bbinfo, bberror, bbfatal equivalents to the existing echo statements
within the kernel-yocto processing. This makes us consistent with the other
messages from the build system.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: remove KBRANCH_DEFAULT
Bruce Ashfield [Wed, 19 Mar 2014 03:01:19 +0000 (23:01 -0400)]
kernel-yocto: remove KBRANCH_DEFAULT

KBRANCH_DEFAULT is no longer used, so we can remove it from all
recipes (and it won't be missed).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: allow custom non-meta, SRCREV format builds
Bruce Ashfield [Wed, 19 Mar 2014 02:50:26 +0000 (22:50 -0400)]
kernel-yocto: allow custom non-meta, SRCREV format builds

When custom respositories are built (like a pure kernel.org
repo), the machine_meta SRCREV format is not applicable. As
such, we shouldn't check for the meta branch and we shouldn't
only check SRCREV_machine based revisions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: clean overly complex branch checkout
Bruce Ashfield [Wed, 19 Mar 2014 01:41:29 +0000 (21:41 -0400)]
kernel-yocto: clean overly complex branch checkout

Since the git fetcher ensures that branches exist, we no longer need to
validate the branch and have a conditional checkout of the source.

We can remove some checks and ensure that whenever we exit the
do_kernel_checkout routine that a branch is always checked out.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: use show-ref instead of branch -a
Bruce Ashfield [Wed, 19 Mar 2014 01:38:33 +0000 (21:38 -0400)]
kernel-yocto: use show-ref instead of branch -a

It's better to check a branches existence via show-ref versus the end
user branch commands. So we make the switch.

Also as part of this change, we move the conversion of remote branches
to local branches above the meta branch checking. This is required to
ensure that the branch is local for the show-ref check.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: simplify branch SRCREV validation
Bruce Ashfield [Wed, 19 Mar 2014 01:34:40 +0000 (21:34 -0400)]
kernel-yocto: simplify branch SRCREV validation

The checking of machine and meta branch SRCREVs was inconsistent and
didn't allow a mixed AUTOREV machine/meta branch combination. By
simplifying the checks and changing the logic, we can now allow this
combination.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: remove KBRANCH_DEFAULT
Bruce Ashfield [Wed, 19 Mar 2014 01:20:56 +0000 (21:20 -0400)]
kernel-yocto: remove KBRANCH_DEFAULT

KBRANCH_DEFAULT was introduced as a way to trigger the enforced build
of a particular branch of the tree. With the fetcher now enforcing
SRCREVs existing on a branch, we can simply validate that the SRCREV
is reachable from the final branch and no longer care about enforcing
a given branch.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: remove branch existence checking in do_validate_branches
Bruce Ashfield [Wed, 19 Mar 2014 01:16:10 +0000 (21:16 -0400)]
kernel-yocto: remove branch existence checking in do_validate_branches

Now that the fetcher will enforce branch existence, we no longer need to
confirm that a branch exists, and that it was the branch requested to
be built.

We know the branch exists and we'll confirm that the specified SRCREV
is going to be built after we've patched the tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: remove SRC_URI kbranch validation
Bruce Ashfield [Wed, 19 Mar 2014 01:08:33 +0000 (21:08 -0400)]
kernel-yocto: remove SRC_URI kbranch validation

We no longer need to check if the KBRANCH matches the branch specified
in the SRC_URI. This is taken care of by the fetcher at the beginning
and SRCREV ancestor validation after patching.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: remove containing branch check
Bruce Ashfield [Tue, 18 Mar 2014 02:30:11 +0000 (22:30 -0400)]
kernel-yocto: remove containing branch check

The bitbake fetcher now enforces that a commit is contained by a branch,
so this code can be dropped from do_validate_branches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: move SRCREV validation to patching phase
Bruce Ashfield [Tue, 18 Mar 2014 02:28:03 +0000 (22:28 -0400)]
kernel-yocto: move SRCREV validation to patching phase

Rather than attempting to condition the entire tree to machine SRCREV (since
we don't know what branch will be built), we can instead wait until patching
has completed and then confirm that we are indeed building a decendant of the
specified SRCREV. The result is a much simpler check, and no mangling of the
tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: use cat-file instead of git-show
Bruce Ashfield [Mon, 17 Mar 2014 18:00:15 +0000 (14:00 -0400)]
kernel-yocto: use cat-file instead of git-show

Parsing the output of git show is error prone, since it changes based on
the type of issue with bad comit IDs. Since the output is no longer used
in the case of a valid ref, we can switch to git-cat-file and  simply
check the return code.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agokernel-yocto: remove redundant SRCREV check
Bruce Ashfield [Mon, 17 Mar 2014 14:59:16 +0000 (10:59 -0400)]
kernel-yocto: remove redundant SRCREV check

do_validate_branches checks to ensure that a valid machine SRCREV was
set. A test against an empty SRCREV is done in two separate locations,
we only need one, since the first check immediately returns and the
second check never hits.

At the same time, we can stop referring to the same commit hash by
3 different names. Instead we assign to a local variable at the
top of the routine, and refer to it at all times.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agotzcode: update to 2014g
Armin Kuster [Sat, 30 Aug 2014 18:50:00 +0000 (11:50 -0700)]
tzcode: update to 2014g

The readme md5sum changed do you wording changes.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: update to 2014g
Armin Kuster [Sat, 30 Aug 2014 18:49:59 +0000 (11:49 -0700)]
tzdata: update to 2014g

For a full description of the changes see:

http://mm.icann.org/pipermail/tz-announce/2014-August/000024.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpam: remove MLPREFIX from PN
Robert Yang [Sat, 30 Aug 2014 10:12:49 +0000 (03:12 -0700)]
libpam: remove MLPREFIX from PN

The commit df3038768f59f7a0c814974ff674d4e59cbdfca4 changed 'libpam' to
'pn', then we don't need the "MLPREFIX + pn" any more, otherwise we
would get the name like: "lib32-lib32-libpam-x", and the warn:

WARNING: QA Issue: lib32-pam-plugin-access rdepends on
lib32-lib32-libpam-suffix, but it isn't a build dependency? [build-deps]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-libc-headers: update to 3.16
Bruce Ashfield [Wed, 27 Aug 2014 17:11:49 +0000 (13:11 -0400)]
linux-libc-headers: update to 3.16

Updating the linux-libc-headers to the 3.16 release. This matches the
current -dev kernel version, and is compatible with the existing
named kernel versions (3.10, 3.14).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10 years agolibpam: Fix multilib packaging
Otavio Salvador [Thu, 28 Aug 2014 23:33:20 +0000 (20:33 -0300)]
libpam: Fix multilib packaging

The plugin runtime dependencies were not including the multilib
prefix, fix it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpam: Fix runtime providers
Otavio Salvador [Thu, 28 Aug 2014 23:33:19 +0000 (20:33 -0300)]
libpam: Fix runtime providers

The runtime providers were commented out. Removing the comment brings
up a issue with the native renaming which has been workarounded
disabling the runtime recommendation. This is indeed a workaround so a
FIXME comment has been added to remind about it in case we someday
move to native prefix.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibical: upgrade to 1.0.0
Cristian Iorga [Fri, 29 Aug 2014 13:10:42 +0000 (16:10 +0300)]
libical: upgrade to 1.0.0

pthread-fix.patch no longer needed, included upstream;
Switched to new website, new bug tracker, new source repo.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: upgrade to 1.6.1
Cristian Iorga [Fri, 29 Aug 2014 13:10:41 +0000 (16:10 +0300)]
libpcap: upgrade to 1.6.1

- Still BSD licensed, some changes into
pcap triggered a checksum change;
- ieee80215-arphrd.patch removed, obsolete.
- switched to ${BP} variable;

Changelog from previous version:
Saturday  Jul. 19, 2014 mcr@sandelman.ca
  Summary for 1.6.1 libpcap release
some fixes for the any device
changes for how --enable-XXX works

Wednesday Jul. 2, 2014 mcr@sandelman.ca
  Summary for 1.6.0 libpcap release
        Don't support D-Bus sniffing on OS X
        fixes for byte order issues with NFLOG captures
        Handle using cooked mode for DLT_NETLINK in activate_new().
        on platforms where you can not capture on down interfaces, do not list them
        but: do list interfaces which are down, if you can capture on them!

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: upgrade to 3.16.0
Cristian Iorga [Fri, 29 Aug 2014 13:10:40 +0000 (16:10 +0300)]
iproute2: upgrade to 3.16.0

Bugfixes.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: Upgrade to 3.1.15
Saul Wold [Fri, 29 Aug 2014 15:26:31 +0000 (08:26 -0700)]
at: Upgrade to 3.1.15

Rebase pam.conf.patch
Move to generic files -> at for patches directory

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibassuan: Upgrade to 2.1.2
Saul Wold [Fri, 29 Aug 2014 15:26:30 +0000 (08:26 -0700)]
libassuan: Upgrade to 2.1.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: Upgrade to 0.4.3
Saul Wold [Fri, 29 Aug 2014 15:26:29 +0000 (08:26 -0700)]
libxkbcommon: Upgrade to 0.4.3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Upgrade to 3.71
Saul Wold [Fri, 29 Aug 2014 15:26:28 +0000 (08:26 -0700)]
man-pages: Upgrade to 3.71

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoless: Upgrade to 466
Saul Wold [Fri, 29 Aug 2014 15:26:27 +0000 (08:26 -0700)]
less: Upgrade to 466

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils: upgrade to 1.0.28
Cristian Iorga [Fri, 29 Aug 2014 17:06:34 +0000 (20:06 +0300)]
alsa-utils: upgrade to 1.0.28

Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: upgrade to 1.0.28
Cristian Iorga [Fri, 29 Aug 2014 17:06:33 +0000 (20:06 +0300)]
alsa-tools: upgrade to 1.0.28

mips_has_no_io_h.patch removed, no longer necessary.
Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: upgrade to 1.0.28
Cristian Iorga [Fri, 29 Aug 2014 17:06:32 +0000 (20:06 +0300)]
alsa-lib: upgrade to 1.0.28

Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

Update-iatomic.h-functions-definitions-for-mips.patch removed,
integrated upstream.
Check-if-wordexp-function-is-supported.patch updated.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager.py: enable smart non-interactive mode
Ed Bartosh [Fri, 29 Aug 2014 17:37:25 +0000 (18:37 +0100)]
package_manager.py: enable smart non-interactive mode

Added --quiet option to smart command line.
Without this option smart 1.4.1 turns into interactive mode, i.e.
start asking questions and expecting answers.

Internally within smart, this changes the default UI to one which
just prints to stderr, the naming of the parameter is a little
odd but does what we need.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtirpc: upgrade to 0.2.5
Cristian Iorga [Fri, 29 Aug 2014 19:21:06 +0000 (22:21 +0300)]
libtirpc: upgrade to 0.2.5

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-ugly: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:49 +0000 (21:53 +0300)]
gstreamer1.0-plugins-ugly: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-rtsp-server: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:48 +0000 (21:53 +0300)]
gstreamer1.0-rtsp-server: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:47 +0000 (21:53 +0300)]
gstreamer1.0-plugins-bad: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-good: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:46 +0000 (21:53 +0300)]
gstreamer1.0-plugins-good: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-base: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:45 +0000 (21:53 +0300)]
gstreamer1.0-plugins-base: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-libav: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:44 +0000 (21:53 +0300)]
gstreamer1.0-libav: upgrade to 1.4.1

Bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:43 +0000 (21:53 +0300)]
gstreamer1.0: upgrade to 1.4.1

bugfix release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: add PACKAGECONFIG for 'elfutils'
Chen Qi [Mon, 18 Aug 2014 01:51:39 +0000 (09:51 +0800)]
systemd: add PACKAGECONFIG for 'elfutils'

Add PACKAGECONFIG for 'elfutils'.
This also fixes a build-deps QA warning about libdw.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouseradd: Add setscene dep on pseudo-native
Jate Sujjavanich [Sun, 10 Aug 2014 21:00:41 +0000 (17:00 -0400)]
useradd: Add setscene dep on pseudo-native

A recipe will sometimes be rebuilt unnecessarily if it adds users via
useradd and the pseudo-native task has not been populated.

This patch adds the correct dependency.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu-native: depends on libxext-native when enable sdl
Robert Yang [Tue, 29 Jul 2014 08:02:44 +0000 (01:02 -0700)]
qemu-native: depends on libxext-native when enable sdl

Fixed do_configure error:

ERROR: User requested feature sdl
       configure was not able to find it.
       Install SDL devel

The error message from log.do_configure, and if we check config.log, the
error is:

sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords'

The _XEatDataWords is provided by libX11.so, the dependencies are:

qemu-native -> sdl(from the host) -> libXext.so(maybe host or native) -> libX11.so (maybe host or native)

For example on Ubuntu 12.04 x86_64, the link route is:

qemu-native's do_configure sdl checking:
/usr/lib/x86_64-linux-gnu/libSDL.so --> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 --> /usr/lib/x86_64-linux-gnu/libX11.so

So it is:
host sdl -> sysroot libXext.so.6 -> host X11.so

qemu-native doesn't depend on libxext-native, so the error would happen
if the libx11-native is being rebuilding and the host's libX11.so
doesn't have _XEatDataWords.

Manually reproduce it on Ubuntu 12.04 x86_64:

$ bitbake qemu-native libx11-native libxext-native
$ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native

Note, only qemu-native has this problem since libxext depends on libX11,
and SDL would depend on libxext when x11 is enabled.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Correct two typos in a comment
Peter Kjellerstedt [Thu, 28 Aug 2014 15:11:04 +0000 (17:11 +0200)]
package: Correct two typos in a comment

This quite coincidentally invalidates the sstate for do_package which
is needed due to the correction of oe.utils.multiprocess_exec().

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/utils: Make multiprocess_exec() return anything
Peter Kjellerstedt [Thu, 28 Aug 2014 15:11:03 +0000 (17:11 +0200)]
lib/oe/utils: Make multiprocess_exec() return anything

The variable "results" was accidentally used for multiple different
things at the same time, which unintentionally discarded anything that
was supposed to be returned from the function...

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: xorg log test is being replaced by parselogs so remove
Richard Purdie [Fri, 29 Aug 2014 08:55:28 +0000 (09:55 +0100)]
oeqa: xorg log test is being replaced by parselogs so remove

Now we have the parselogs test, this one can be removed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotestimage: Add parselogs to the default tests for sato images
Richard Purdie [Fri, 29 Aug 2014 14:06:37 +0000 (15:06 +0100)]
testimage: Add parselogs to the default tests for sato images

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/pasrselogs: Improve the machine/string whitelist
Richard Purdie [Fri, 29 Aug 2014 09:56:56 +0000 (09:56 +0000)]
oeqa/pasrselogs: Improve the machine/string whitelist

Currently the whitelist is imcomplete, inaccurate and suffers duplication.

These changes:
 * Add common groups of errors
 * Change to make the default whitelist clear
 * Correctly (or at least better) escape the regexp expressions
 * Add in missing machines to allow builds on the autobuilder to suceed

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: Automatic test for parsing the logs on a machine and search for certain...
Lucian Musat [Mon, 18 Aug 2014 14:12:28 +0000 (17:12 +0300)]
oeqa/runtime: Automatic test for parsing the logs on a machine and search for certain error keywords.

This adds a common new qa test for general processing of log files. One
significant improvement is machine dependent ignore filters.

This can be used to replace several weaker individual QA tests
that are currently used.

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/cpan_build.bbclass: add EXTRA_CPAN_BUILD_FLAGS
Tim Orling [Wed, 27 Aug 2014 14:21:21 +0000 (07:21 -0700)]
classes/cpan_build.bbclass: add EXTRA_CPAN_BUILD_FLAGS

Some packages have additional configuration options that are currently
not accessible through cpan_build.bbclass. Similar to cpan.bbclass, add
EXTRA_CPAN_BUILD_FLAGS to pass the optional parameters to perl Build.PL.

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: export GIT_SSL_CAINFO
Fahad Usman [Thu, 28 Aug 2014 07:36:17 +0000 (12:36 +0500)]
buildtools-tarball: export GIT_SSL_CAINFO

export GIT_SSL_CAINFO so git can find the certs

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: include nativesdk-ca-certificates
Fahad Usman [Thu, 28 Aug 2014 07:36:16 +0000 (12:36 +0500)]
buildtools-tarball: include nativesdk-ca-certificates

nativesdk-ca-certificates is needed in order to support oe/yocto builds with
buildtools-tarball on old hosts, as we provide libcurl, and that needs to be
able to find the certs, and there's no standard path or bundle path, so we
can't rely on the host.

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: fix ptest execution failure
Chong Lu [Thu, 28 Aug 2014 09:39:12 +0000 (17:39 +0800)]
lttng-tools: fix ptest execution failure

Ptest will hang when execute "./run.sh fast_regression" and lttng background
daemon can't be killed normally. This patch fixes this issue and use ${PTEST_PATH}
instead of long path.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable
Richard Purdie [Thu, 28 Aug 2014 10:27:44 +0000 (11:27 +0100)]
populate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable

Currently this variable isn't passed through the magic rename
mangling. This means that if you try adding "nativesdk-eglibc"
to an image directly, you can't since the package is renamed
by debian.bbclass and nothing sees the renaming.

This is annoying since I wanted to exactly that. This code
change passes it through the standard renaming function, the
tricky part is that we have to set PKGDATA_DIR to point to
the correct sysroot during the call. We create a copy of the
 datastore for the purposes of the call to do this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3-distribute: fix interpreter
Robert Yang [Wed, 27 Aug 2014 15:57:14 +0000 (08:57 -0700)]
python3-distribute: fix interpreter

It should use "/usr/bin/env python3" rather than python.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobootchart2: no bashism in bootchartd.in
Robert Yang [Wed, 27 Aug 2014 15:57:13 +0000 (08:57 -0700)]
bootchart2: no bashism in bootchartd.in

So use /bin/sh

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosed: add sed to RDEPENDS sed-ptest
Robert Yang [Wed, 27 Aug 2014 15:57:12 +0000 (08:57 -0700)]
sed: add sed to RDEPENDS sed-ptest

Its test scripts require /bin/sed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsbtest: no bashism in LSB_Test.sh
Robert Yang [Wed, 27 Aug 2014 15:57:11 +0000 (08:57 -0700)]
lsbtest: no bashism in LSB_Test.sh

So use /bin/sh

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorun-ptest: fix bashism
Robert Yang [Wed, 27 Aug 2014 15:57:10 +0000 (08:57 -0700)]
run-ptest: fix bashism

These script use /bin/sh as the interpreter, but contains bashism:
    recipes-devtools/insserv/files/run-ptest
    recipes-devtools/quilt/quilt/run-ptest
    recipes-devtools/tcltk/tcl/run-ptest
    recipes-extended/gawk/gawk-4.1.1/run-ptest
    recipes-support/beecrypt/beecrypt/run-ptest

Fixed:
    "==" -> "=" (should be -eq when integer)
    "&>log" -> ">log 2>&1"

And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovalgrind/oprofile/systemd: no bashism in run-ptest
Robert Yang [Wed, 27 Aug 2014 15:57:09 +0000 (08:57 -0700)]
valgrind/oprofile/systemd: no bashism in run-ptest

There is no bashism in the scripts, so use /bin/sh, and add /bin/sh
interpreter for systemd's run-ptest.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa: fix RDEPNEDS for the test related pkgs
Robert Yang [Wed, 27 Aug 2014 15:57:08 +0000 (08:57 -0700)]
meta: fix RDEPNEDS for the test related pkgs

Add bash, python or perl to the ptest pkgs to fix the RDEPENDS issues.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: fix RDEPENDS
Robert Yang [Wed, 27 Aug 2014 15:57:07 +0000 (08:57 -0700)]
ltp: fix RDEPENDS

Fixed:
/opt/ltp/testcases/bin/aio01 -> libaio
/opt/ltp/testcases/bin/*.sh -> bash
/opt/ltp/testcases/bin/*.py -> python
/opt/ltp/bin/*.awk -> awk

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: upgrade to 3.15
Roxana Ciobanu [Wed, 27 Aug 2014 15:22:26 +0000 (18:22 +0300)]
ethtool: upgrade to 3.15

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: Add DEPENDS on jpeg
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:04 +0000 (16:47 +0200)]
gstreamer1.0-plugins-bad: Add DEPENDS on jpeg

libjpeg is automatically linked to if present. This cannot be turned off.
Adding DEPENDS on jpeg ensures that a proper dependency is established.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: Fix GL/GLES configuration
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:03 +0000 (16:47 +0200)]
gstreamer1.0-plugins-bad: Fix GL/GLES configuration

* Replace --disable/enable-gl with the individual EGL, GLES, GL switches
  (--disable-gl turns off GL support entirely)
* Put the default opengl packageconfig into its own variable to make it
  easier for distros and BSP layers to define what to use (GL, GLES,
  or neither)
* Add libglu as a dependency for desktop GL
* Patch configure.ac to ensure libraries are only searched and linked to
  if the corresponding API isn't disabled (this prevents cases where
  libgstgl is linked to GLU even though desktop GL is dis- and GLES
  enabled)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: Add DEPENDS on libpng
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:02 +0000 (16:47 +0200)]
gstreamer1.0-plugins-bad: Add DEPENDS on libpng

libpng is automatically linked to if present. This cannot be turned off.
Adding DEPENDS on libpng ensures that a proper dependency is established.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:01 +0000 (16:47 +0200)]
gstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad

gst-omx links to libgstgl if it is present, and libgstgl is built by
gstreamer1.0-plugins-bad. Adding it as a DEPENDS ensures a proper
dependency is established.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: add opencv haar cascade XML files to package
Carlos Rafael Giani [Wed, 27 Aug 2014 16:42:27 +0000 (18:42 +0200)]
gstreamer1.0-plugins-bad: add opencv haar cascade XML files to package

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocpan.bbclass: matches more lines
Robert Yang [Thu, 28 Aug 2014 05:40:06 +0000 (22:40 -0700)]
cpan.bbclass: matches more lines

Fixed:
- There might be a space between "#!" and "/pat/to/usr/bin/perl", e.g.:
  "#! /usr/bin/perl", now also matches it.

- There might be the lines like the following in the body:
  eval 'exec /path/to/usr/bin/perl-native/perl -S $0 ${1+"$@"}'

  Now we only check "#! */path/to/usr/bin/perl" to make sure it is a
  perl script, but match and fix the lines in both header and body.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl-native: fixed bad interpreter error
Robert Yang [Thu, 28 Aug 2014 05:40:05 +0000 (22:40 -0700)]
perl-native: fixed bad interpreter error

We may get the error on some hosts when build in deeper dir:
/bin/sh: /path/to/tmp/sysroots/i686-linux/usr/bin/perl-native/pod2man: /path/to/tmp/sysroots/i686-li:
bad interpreter: No such file or directory

Note the "i686-li", it should be "i686-linux", but is truncated by the
host.

We can use "/usr/bin/env nativeperl" as we have done in cpan.bbclass for
other recipe's perl script to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-directfb: Set PACKAGE_ARCH to MACHINE_ARCH
Otavio Salvador [Wed, 27 Aug 2014 19:19:33 +0000 (16:19 -0300)]
packagegroup-core-directfb: Set PACKAGE_ARCH to MACHINE_ARCH

The contents change depends on the MACHINE_FEATURES so this is clearly
a machine specific package. Set it accordingly.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoofono: upgrade to 1.15
Cristian Iorga [Wed, 27 Aug 2014 18:10:04 +0000 (21:10 +0300)]
ofono: upgrade to 1.15

- Bug fixes;
Add support for Handsfree subscriber number feature;
Add support for Handsfree multiple DTMF characters;
Add support for PAP authentication.
- Added patch to revert tests to work with Python2.x.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.22
Cristian Iorga [Wed, 27 Aug 2014 18:10:03 +0000 (21:10 +0300)]
bluez5: upgrade to 5.22

Several fixes to HID over GATT (HoG) and for AVRCP.
Notable additions with the Linux kernel 3.17:
- BR/EDR whitelist support;
- Proper LE passive scanning support.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to 0.9.35
Cristian Iorga [Wed, 27 Aug 2014 18:10:02 +0000 (21:10 +0300)]
harfbuzz: upgrade to 0.9.35

Bug fixes and minor changes/cleanups.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: upgrade to 1.25
Cristian Iorga [Wed, 27 Aug 2014 18:10:01 +0000 (21:10 +0300)]
connman: upgrade to 1.25

build-libppp-plugin-without-versioning-info.patch
no longer needed, removed.
Changelog:
Fix issue with handling rebind timer for DHCPv6.
Fix issue with handling DHCP renew transaction.
Fix issue with user supplied proxy settings and DHCP.
Fix issue with extra status codes from captive portals.
Fix issue with service idle state reset on failure.
Fix issue with DNS label compression handling.
Add support for experimental P2P Peer service.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopatchelf: Add patchelf recipe
Richard Purdie [Wed, 27 Aug 2014 14:50:22 +0000 (15:50 +0100)]
patchelf: Add patchelf recipe

This is useful since it allows us to edit the RPATH and interpreter fields
in ELF binaries. This is potentially particularly useful in improving the way
we can use the SDK and also potentially making native binaries more relocatable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Add extra intercept functions
Richard Purdie [Wed, 27 Aug 2014 14:48:09 +0000 (15:48 +0100)]
sstate: Add extra intercept functions

In some cases we do either need to add extra sstate manipulation
functions, or change the existing modification functions. This patch
parametrises them to SSTATECREATEFUNCS and SSTATEPOSTUNPACKFUNCS and
abstracts the "hardcoded path" functions into separate functions using
these new variables.

We may use this new functionality to improve binary relocating using
patchelf for example, this at least lets us have the hooks to be able to
experiment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dummy: bundle_initramfs should not be nostamp any more
Ming Liu [Wed, 27 Aug 2014 02:31:56 +0000 (10:31 +0800)]
linux-dummy: bundle_initramfs should not be nostamp any more

The same change has already been applied to kernel.bbclass in commit 55989cb5:
[ kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race ]

The dummy kernel should comply with it.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: add PACKAGECONFIG for numa
Jackie Huang [Wed, 27 Aug 2014 09:34:04 +0000 (05:34 -0400)]
qemu: add PACKAGECONFIG for numa

Add PACKAGECONFIG for numa to avoid build error:
backends/hostmem.c:21:20: fatal error: numaif.h: No such file or directory

Package numctl is from meta-oe.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtiff: fix CVE-2013-1961
Muzaffar Mahmood [Mon, 25 Aug 2014 11:51:06 +0000 (16:51 +0500)]
libtiff: fix CVE-2013-1961

Integrate community fix for the issue CVE-2013-1961
and migrated to version 4.0.3.

Stack-based buffer overflow in the t2p_write_pdf_page function
in tiff2pdf in libtiff before 4.0.3 allows remote attackers to
cause a denial of service (application crash) via a crafted
image length and resolution in a TIFF image file.

Signed-off-by: Priyanka Shobhan <priyanka_shobhan@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Support building on uclibc
Khem Raj [Mon, 25 Aug 2014 23:45:04 +0000 (16:45 -0700)]
systemd: Support building on uclibc

include missing.h to get MAX_HANDLE_SZ which
is not defined in uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Support systemd builds
Khem Raj [Mon, 25 Aug 2014 23:45:03 +0000 (16:45 -0700)]
uclibc: Support systemd builds

Systemd needs some extra defines e.g.
ADJ_NANO and IPTOS_CLASS_CS6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Upgrade to tip of master
Khem Raj [Mon, 25 Aug 2014 23:45:02 +0000 (16:45 -0700)]
uclibc: Upgrade to tip of master

Adjust mips to cater for new mips32r2 defaulttune
Remove upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: Re-add linux-uclibc tuple
Khem Raj [Mon, 25 Aug 2014 23:45:01 +0000 (16:45 -0700)]
openssl: Re-add linux-uclibc tuple

With last restructuring for musl, some of uclibc targets got ignored
fsl/ppc and ARM worked ok since they use special target triplets which
were already considered but other like mips, x86 and so on failed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoIBM power7 v2: Add new tune file for PPC power7
Armin Kuster [Tue, 26 Aug 2014 03:12:58 +0000 (20:12 -0700)]
IBM power7 v2: Add new tune file for PPC power7

v2: rename file

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoIBM power6 v2: Add new tune file for PPC power6
Armin Kuster [Tue, 26 Aug 2014 03:12:57 +0000 (20:12 -0700)]
IBM power6 v2: Add new tune file for PPC power6

v2: rename file

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoIBM Power5 v2: Add new tune file for PPC power5 cpu
Armin Kuster [Tue, 26 Aug 2014 03:12:56 +0000 (20:12 -0700)]
IBM Power5 v2: Add new tune file for PPC power5 cpu

V2: rename file
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: CVE-2014-1544
Li Wang [Tue, 26 Aug 2014 08:33:24 +0000 (16:33 +0800)]
nss: CVE-2014-1544

the patch comes from:
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-1544
https://hg.mozilla.org/projects/nss/rev/204f22c527f8

author  Robert Relyea <rrelyea@redhat.com>
https://bugzilla.mozilla.org/show_bug.cgi?id=963150
Bug 963150: Add nssCertificate_AddRef and nssCertificate_Destroy calls
to PK11_ImportCert to prevent nssTrustDomain_AddCertsToCache from
freeing the CERTCertificate associated with the NSSCertificate. r=wtc.

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agologrotate: add packageconfigs
Fahad Usman [Tue, 26 Aug 2014 08:16:49 +0000 (13:16 +0500)]
logrotate: add packageconfigs

add packageconfigs for acl and selinux.

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agologrotate: obey our flags
Fahad Usman [Tue, 26 Aug 2014 08:16:48 +0000 (13:16 +0500)]
logrotate: obey our flags

Needed to quiet GNU_HASH warnings, and some minor fixes.

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/sdk/buildsudoku.py: add setUpModule method to run only when gtk+ in installed.
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:44 +0000 (13:05 +0300)]
oeqa/sdk/buildsudoku.py: add setUpModule method to run only when gtk+ in installed.

Adding setUpModule in order to skip the module when gtk+ is not installed in the toolchain.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/oetest.py: enable sdk tests to use hasFeature and hasPackage methods.
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:43 +0000 (13:05 +0300)]
oeqa/oetest.py: enable sdk tests to use hasFeature and hasPackage methods.

In order to use the hasFeature and hasPackage methods, we need to make oeSDKTest extend oeTest and also set the test context (tc) attribute in the oeTest class when loading the tests.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/testimage.bbclass: add more fields to the sdk TestContext
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:42 +0000 (13:05 +0300)]
classes/testimage.bbclass: add more fields to the sdk TestContext

In order to use hasFeature and hasPackage methods in sdk test modules, we need specific fields to be set in the TestContext object.
Adding pkgmanifest, imagefeatures and distrofeatures to the TestContext.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base.bbclass: add a manifest for target sdk
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:41 +0000 (13:05 +0300)]
classes/populate_sdk_base.bbclass: add a manifest for target sdk

Similar to the way BSP images have rootfs a manifest, the toolchain now also has a manifest file created alongside the sdk image.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86-64: support X11 when QEMU is emulating a different GPU than vmware
Max Eliaser [Tue, 26 Aug 2014 17:34:13 +0000 (10:34 -0700)]
qemux86-64: support X11 when QEMU is emulating a different GPU than vmware

QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware,
and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86-64 image,
the image can be made to launch an X server on when cirrus and std are chosen,
in addition to just vmware. (The build of QEMU in OE-Core appears to have QXL
disabled, meaning a driver for it is unnecessary.)

The runqemu script now allows the choice of emulated VGA adapter to be
specified manually, so it's important that qemux86-64 supports any configuration
the user might choose without requiring the image to be rebuilt.

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86-64: xorg.conf: allow X.Org driver to be selected automatically.
Max Eliaser [Tue, 26 Aug 2014 17:34:12 +0000 (10:34 -0700)]
qemux86-64: xorg.conf: allow X.Org driver to be selected automatically.

A section specifying the driver to use is deleted from the image's xorg.conf,
allowing the X server to automatically select the most appropriate driver.
Testing shows that it does always pick the correct one.

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86: support X11 when QEMU is emulating a different GPU than vmware
Max Eliaser [Tue, 26 Aug 2014 17:34:11 +0000 (10:34 -0700)]
qemux86: support X11 when QEMU is emulating a different GPU than vmware

QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware,
and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86 image,
the image can be made to launch an X server on when cirrus and std are chosen,
in addition to just vmware. (The build of QEMU in OE-Core appears to have QXL
disabled, meaning a driver for it is unnecessary.)

The runqemu script now allows the choice of emulated VGA adapter to be
specified manually, so it's important that qemux86 supports any configuration
the user might choose without requiring the image to be rebuilt.

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>