scm/bb/tizen-distro.git
9 years agoxf86-video-intel/xf86-video-omapfb: Fix build with glibc 2.20
Khem Raj [Fri, 29 Aug 2014 02:08:05 +0000 (19:08 -0700)]
xf86-video-intel/xf86-video-omapfb: Fix build with glibc 2.20

include xorg-xserver.h

(From OE-Core rev: 286c3e8c88b1afbb3090a4988692968e67f498cf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-input-synaptics/xf86-input-vmmouse: Fix build with glibc 2.20
Khem Raj [Fri, 29 Aug 2014 01:43:54 +0000 (18:43 -0700)]
xf86-input-synaptics/xf86-input-vmmouse: Fix build with glibc 2.20

Backport the upstream patches needed for them to work with glibc 2.20

(From OE-Core rev: 60f78480135aab55e538c9e4e0b6d387139f1404)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: Use 2.6.32 for oldest supported kernel
Khem Raj [Thu, 28 Aug 2014 07:55:59 +0000 (00:55 -0700)]
bitbake.conf: Use 2.6.32 for oldest supported kernel

glibc 2.20+ wont support any older than that

(From OE-Core rev: 32b3a9ca554d9ff8f3b9c2ff62cc66ee865c61bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipes: Remove references to eglibc
Khem Raj [Thu, 28 Aug 2014 06:13:57 +0000 (06:13 +0000)]
recipes: Remove references to eglibc

change use of eglibc related variabled to glibc equivalents

(From OE-Core rev: fd15d6e0c8da75951a91d4467eda23c229b1026d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa: sstatetests should now look for glibc-initial
Khem Raj [Thu, 28 Aug 2014 06:12:13 +0000 (06:12 +0000)]
oeqa: sstatetests should now look for glibc-initial

(From OE-Core rev: ddc8e7394051c6a2a9cfdab6a9cd39699b7d61a7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage-swab.bbclass: Account for eglibc -> glibc move
Khem Raj [Thu, 28 Aug 2014 06:11:36 +0000 (06:11 +0000)]
image-swab.bbclass: Account for eglibc -> glibc move

(From OE-Core rev: 9942fe4b36e2a18510cb0805ddb7be71d72a75a2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoconf: Account for eglibc->glibc move
Khem Raj [Thu, 28 Aug 2014 06:10:13 +0000 (06:10 +0000)]
conf: Account for eglibc->glibc move

Change references in documentation appropriately

(From OE-Core rev: bbd2eae187f9d6cadf03cbe8d84259593e3551ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodistro: TCLIBC now defines glibc instead of eglibc
Khem Raj [Thu, 28 Aug 2014 06:08:18 +0000 (06:08 +0000)]
distro: TCLIBC now defines glibc instead of eglibc

Adjust naming conventions to reflect eglibc->glibc move

(From OE-Core rev: ce3f296ec9021d207cb80cb2c697932b83fd0e81)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglibc: Migrate eglibc 2.19 -> glibc 2.20
Khem Raj [Thu, 28 Aug 2014 06:00:54 +0000 (06:00 +0000)]
glibc: Migrate eglibc 2.19 -> glibc 2.20

- This is a big swoop change where we switch to using glibc
- option-groups are forward ported
- cross-localedef is extracted out from eglibc and hosted
  at github.com/kraj/localedef, its used for cross-localedef
  recipe
- Other non ported patches from eglibc are forward ported
  ppc8xx cache line workaround
  SH fpcr values
  dynamic resolver
  installing PIC archives is there but is not applied
  libc header bootstrap

- Delete eglibc recipes we moved back to using glibc now
- Fix ppc/e500 build

- Fix crypt module build when options are used
- Fix fnmatch build when options OPTION_EGLIBC_LOCALE_CODE is unset
  HAVE_MBSTATE_T and HAVE_MBSRTOWCS should be defined conditionally
  based upon OPTION_EGLIBC_LOCALE_CODE being set/unset
- Move the ports/ patches to relevant files now that ports is gone

(From OE-Core rev: 1027c535ea753e63d9ffe469a423e04467cf8940)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: add explicit configs for Time-HiRes
Jackie Huang [Mon, 1 Sep 2014 07:04:44 +0000 (03:04 -0400)]
perl: add explicit configs for Time-HiRes

The compilation of Time-HiRes tries to compile and run the testing
program but definitely fails since we are cross compiling:
Looking for clock_gettime()... ./tmp26733: ./tmp26733: cannot execute binary file
Looking for clock_getres()... ./tmp26733: ./tmp26733: cannot execute binary file

so add explicit configs to avoid the auto detecting.

(From OE-Core rev: 750b2a89af404dc7b275aa40fb693b07b9b297fe)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoghostscript: Don't build-depend on libgcrypt for the local cups
Jackie Huang [Mon, 1 Sep 2014 08:59:56 +0000 (04:59 -0400)]
ghostscript: Don't build-depend on libgcrypt for the local cups

Backported for the ghostscript supplied cups code from
http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch

This addresses the cryto dependency seen during build.

(From OE-Core rev: f3e8914ea675217b3c86806522407ea19963d14f)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonative.bbclass: deltask package_qa
Robert Yang [Mon, 1 Sep 2014 14:34:36 +0000 (07:34 -0700)]
native.bbclass: deltask package_qa

The native recipe doesn't need package_qa, and it has a race issue with
do_unpack which requires the clean dir of ${S}, then causes error:

NOTE: recipe opkg-utils-native-0.1.8+gitAUTOINC+eae0d8fa44-r0: task do_package_qa: Failed
ERROR: Task 283 (virtual:native:/path/to/opkg-utils_git.bb, do_package_qa) failed with exit code '1'

(From OE-Core rev: 6ad0979a6064755fd6d86b568bd3cbbcdd3d4e37)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: ensure that recipe specific defaults take precedence
Bruce Ashfield [Mon, 1 Sep 2014 02:33:44 +0000 (22:33 -0400)]
linux-yocto: ensure that recipe specific defaults take precedence

In order to make KBRANCH assignments more flexible and easy to override the
default in each recipe as changed to a conditional assignment. But the
common include file, sets its own branch default to master.

This results in the recipes not overriding KBRANCH and master always being
used.

By putting the include after the default assignment, we now get the proper
default branch.

(From OE-Core rev: ef48de6a4c1454c6f6e2de8636277b374ee44b50)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-yocto: replace --is-ancestor with basic git porcelain commands
Bruce Ashfield [Sun, 31 Aug 2014 05:18:24 +0000 (01:18 -0400)]
kernel-yocto: replace --is-ancestor with basic git porcelain commands

--is-ancestor is a relatively new git option [commit 5907cda1, Aug 30 2012].
To support build machines with older versions of git installed, we can use
the basic porcelain commands to acheive the same check.

merge-base: "--is-ancestor A B" can be replaced with:

    if test "$(git rev-parse --verify A)" = "$(git merge-base A B)"

(From OE-Core rev: 2ddfffe52720d1df70b04131eac553776da7bc73)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 362aaebbeb7b241edba00dd8ea08eab07596378c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 1bb73c05ff0304d5626d977d2751107bb23de48c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: b05729f22dbda6257a9469313a401c5ed3211ada)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 36823f7aff5c8e28900997c96a97c302947981b0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 1686d69de08bcecd39942802df18c4f0ca029ffe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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).

(From OE-Core rev: e631fc989b08873f559c5927117301294f04298c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: bf555ee3305114483aa5083cde1accd23b46a39e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 2ffa3f8be6996877cd552ff22260de35c19c413d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 04bd4cee625574cfa67679b6b2a150a21106c5bf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: e272cfbba87a98393d6c22bd96c7f1cb6902170a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: fbacbb0ca79cdae33803fdd3158671488b9bbcbe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 93a7c7bd8e860e621af7174ef10d571b0d8622b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: a9b6550d3e2f5bf21fd05a17bca3e57c5b74e057)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 9e473d348d9e0db34e03446065c6c48d36964e1e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 97075af9e9a691276cd417f1181ca73223f52d1c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 228c05013fe691321ec00467d8d0c0bb64dd175c)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 05508339882c7cc1fe3f1f67f72314fdcab979b7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: knotty: ignore interrupted system calls
Dan McGregor [Fri, 29 Aug 2014 19:46:18 +0000 (13:46 -0600)]
bitbake: knotty: ignore interrupted system calls

With the improved exception handling added in an earlier commit bitbake
now stops when recieving a SIGWINCH. This happens frequently when
disconnecting and reconnecting tmux sessions and bitbake didn't survive.
Restore old behaviour of ignoring interrupted system calls but keep
proper exception handling for other errors.

(Bitbake rev: 418358a595c75f45b8d15160ec42bbe569562d91)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toastergui: added pages for project details
Alexandru DAMIAN [Fri, 29 Aug 2014 15:42:00 +0000 (16:42 +0100)]
bitbake: toastergui: added pages for project details

We add new pages for the layer importing, layer details,
showing project builds and project configuration.

The pages are  in read-only mode, but they're needed as
to be able to verify the quality of data in the system.

Write capabilities will be added in a subsequent patch.

[YOCTO #6595]
[YOCTO #6590]
[YOCTO #6591]
[YOCTO #6588]
[YOCTO #6589]

(Bitbake rev: eed9ae5c2a2bd7567e12ae9a4f02a5a966a1e1a3)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: add project pages for machines, targets, layers
Alexandru DAMIAN [Fri, 29 Aug 2014 15:41:59 +0000 (16:41 +0100)]
bitbake: toaster: add project pages for machines, targets, layers

We add new pages for the all-machines and all-targets
project-related views.

We update the existing template structure to create
a base project view, similar to a base build view, that includes
a breadcrumb.

Updating existing all layers view to use the new structure.

We update methods in the models to provide corrent
information display.

[YOCTO #6592]
[YOCTO #6593]

(Bitbake rev: 973f582a19441c1ec67061160e4c50ce03ed7b68)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: a57b24f848a7cb89cf57830e07682224f8bbc96f)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 0c14e824e1412438806b2ddc16d23f772f97ba90)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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]

(From OE-Core rev: 804c1284891c2654e1431fe4d777ca41ac466120)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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).

(From OE-Core rev: 7246d62406acf862d3c79e6f615e0c595d46845e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 48ca9989e4ac098532d3e0d4ce2a59eab9159b24)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: bb25eac63cb9b2d0e1a45f5002a5e90562471aa1)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 11f95603e8582c2cf63304f8b0a020ccbbd778e4)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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!

(From OE-Core rev: ff962963de4dea9143f11ded480d0cca79a66d99)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 0e56f9277da053b702cc7ce709988dfd54f1f09f)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 6558c8e1a7e5cd9f1f5271718c10355f67573b4c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 5d3c96339e43a777542fa696b300322adbb636e1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: f8e8a5aa61be5a165a00191c1a8b283176cd4642)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 0971703aca0f7f503fb236fa77d5337d36b91a41)

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

(From OE-Core rev: e0b9c83ade46f0f5332f4aef6a13dfa32733b387)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: b2aae7176f71772a43f19b897e09291579008ad8)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: f28e6f4131e675a60795156012851b8367ac1b4d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 736dc0abd22be122cac053e8934e8bfd5b82eec0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 7a8d88b73d35ac86198a1092c49b33c378416a03)

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: e68a2b9f927ee4217a7b534383106016b0bedad0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 04e53e971451b023ac1c57086603a9a7fbba838c)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 4bc977e532b67311a6ba4da78397badc0e4c4ac5)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 8fbdb1d64dd469624004cc82660a25b98f44dee0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 1f70d23430e803e9e8950e5bd825df972194feb4)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: ba03f8ddc2fc6d6f85628d6d4a87d465c83c9fde)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 7f58488e1ed175136da49109ead3d3eaaf988aeb)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 7640444d1b947ae3d7b9b43f70bdb9798a38c5ae)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 559bacdb178d3f4846de86f90c9428ee662b471a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 2bb244e9e18124b3b86195e0e10b2ebd40cd4f81)

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: fbf6995306d85ad868fa5d33da9b493e7e0de414)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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().

(From OE-Core rev: 9972f0686794a01582fd1a15889dcbd89bc5cf72)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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...

(From OE-Core rev: abf4eb613eba0892a5f240de7aa3a9a1b2879354)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 7977a3c28677d9a248059b0be230f345227e798a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: d373d4332a03eb71c1112b8dd51052e56ca4fa59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 620aa5f9022335a9166b4d47bdcdce611ff5466a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: a14d076a401397b6773d5d1b99e49126261f1eb4)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: bef6c3f4ebcd19ea3845aab27a165c370102b62c)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 260ea7b85ecacf2fcd4d09fa2f602d3e4368ef69)

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>
9 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.

(From OE-Core rev: 057954bcc4baf9194968169591537cd7584f8bcb)

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>
9 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.

(From OE-Core rev: 0a90616b09290e4651aafe1186229d861392e89f)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: create Build methods for calculating progress and ETA
Alexandru DAMIAN [Wed, 27 Aug 2014 16:24:42 +0000 (17:24 +0100)]
bitbake: toaster: create Build methods for calculating progress and ETA

We move the code to calculate build progress as percent
and the ETA of the build to the model, so that they can be
reused across different pages.

(Bitbake rev: c2ced09e7ea4a1762d2788bb12a761734d20fd8e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: buildinfohelper: BuildRequest project file update soft linked
Alexandru DAMIAN [Wed, 27 Aug 2014 14:50:35 +0000 (15:50 +0100)]
bitbake: buildinfohelper: BuildRequest project file update soft linked

(Bitbake rev: 93887dadd5ee35557d320e96059c466d2e541065)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toatergui: update pages to match project models
Alexandru DAMIAN [Tue, 26 Aug 2014 14:39:14 +0000 (15:39 +0100)]
bitbake: toatergui: update pages to match project models

We update pages and queries to match the new project
models.

(Bitbake rev: 8f47ec259106da714260c7388cee75a6c1f4622d)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: update the bldcontrol to the new orm models
Alexandru DAMIAN [Tue, 26 Aug 2014 14:36:29 +0000 (15:36 +0100)]
bitbake: toaster: update the bldcontrol to the new orm models

We update the build controller application to make proper
use of the bitbake specification in project settings.

Added heuristic to detect when the meta* layers and bitbake
are checked out from Yocto Project poky, and use a single
git checkout.

Building without a proper oe-init-build-env is not yet supported.

(Bitbake rev: 9eafe14956013f5af39b68fc93e1b03e7ea1f5c2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: update checksettings command for auto-detection
Alexandru DAMIAN [Tue, 12 Aug 2014 14:45:48 +0000 (15:45 +0100)]
bitbake: toaster: update checksettings command for auto-detection

We enhance the checksettings command to try to automatically
detect settings for running on localhost.

The checksettings will look for a nearby poky layer source,
for a nearby build directory, and will try to import settings
from "toasterconf.json" files found in the local layer.

On new configuration, it will also perform updates from the
layer source.

(Bitbake rev: 2aab77dfccb538e2b09829841ea6c464d40cafb1)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: add all layers page
Alexandru DAMIAN [Tue, 12 Aug 2014 09:56:42 +0000 (10:56 +0100)]
bitbake: toaster: add all layers page

We add a page where the user can browse
and import layers from all the layers known
by Toaster.

[YOCTO #6590]

(Bitbake rev: 59f4a9750a6c4f5360a91e3a4d1c03ceb42da086)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: create project section navigation structure
Alexandru DAMIAN [Fri, 8 Aug 2014 16:50:02 +0000 (17:50 +0100)]
bitbake: toaster: create project section navigation structure

We create the navigation structure for the project section.
This includes adding URLs for configuration, builds, all layers,
layer details and all targets pages.

Changes to existing pages to exemplify navigation links.

(Bitbake rev: 6f0cb9d106129eb496a4c009d95b0727378e97c1)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: enable admin interface on select models
Alexandru DAMIAN [Fri, 8 Aug 2014 16:17:13 +0000 (17:17 +0100)]
bitbake: toaster: enable admin interface on select models

We enable the admin interface in Toaster.

We add admin models for Build Environments (where the
sysadmin can configure where the builds take place)
and for Layer Sources (marking the upstream provider
for layer information).

The admin interface and associated data are enabled
only for the MANAGED version.

(Bitbake rev: 6618613c9210fb44d36d90f5f2404b435f10dfc8)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: update orm models for layerindex compatibility
Alexandru DAMIAN [Fri, 8 Aug 2014 14:03:03 +0000 (15:03 +0100)]
bitbake: toaster: update orm models for layerindex compatibility

We add a ToasterSettings table that will keep
installation-wide settings.

We update the models for the layer-related data storage to
make them compatible with the layerindex application API.

We add a LayerSource class that can update local data from
a LayerIndex-like compatible API.

Adding a command line option to perform information update
from all upstream layer sources.

Fair warning - there is no backward migration from 0013.

(Bitbake rev: 89e13579e1b44b738f10fadec8454aa0e6f073af)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: fix application discovery in settings.py
Alexandru DAMIAN [Mon, 28 Jul 2014 10:28:39 +0000 (11:28 +0100)]
bitbake: toaster: fix application discovery in settings.py

We fix application discovery, tuples don't have .append().

Other minor fixes.

(Bitbake rev: a6f18aac3e6bb448d89a3425a2f756c6514ee595)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toasterui: refactor log saving and save out-of-build errors
Alexandru DAMIAN [Thu, 24 Jul 2014 17:20:25 +0000 (18:20 +0100)]
bitbake: toasterui: refactor log saving and save out-of-build errors

We refactor log saving to go through only one code path.

All logs that happened outside the build (i.e. before build
starting) now will be logged to either toaster_ui.log if the
build command ran in interactive mode, or to the build request
errors if the command ran in managed mode.

This enables proper display of error logs in project page.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: build/data: Write out more complete python run files
Richard Purdie [Wed, 27 Aug 2014 13:24:52 +0000 (14:24 +0100)]
bitbake: build/data: Write out more complete python run files

Currently the output in the python task/function run files is rather
incomplete and effectively useless. This enhances the code to take
advantage of the bitbake's dependency tracking and extend the output to
include dependencies. This makes the files more usable for debugging
purposes. Since this only happens at python function execution time, the
overhead is minimal in the grand scheme of things.

(Bitbake rev: 02667e048c3e632f857c87177c0022eaf5481802)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-worker: Extra profiling data dump
Richard Purdie [Wed, 27 Aug 2014 13:55:50 +0000 (14:55 +0100)]
bitbake: bitbake-worker: Extra profiling data dump

Currently we get no profiling oversight into either the main bitbake worker
process, or the overall parsing before task execution. This adds in extra
profiling hooks so we can truly capture all parts of bitbake's execution
into the profile data.

To do this we modify the 'magic' value passed to bitbake-worker to trigger
the profiling, before the configuration data is sent over to the worker.

(Bitbake rev: 446e490bf485b712e5cee733dab5805254cdcad0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: utils: Improve profile log processing
Richard Purdie [Wed, 27 Aug 2014 13:56:25 +0000 (14:56 +0100)]
bitbake: utils: Improve profile log processing

This stream redirection of stdout is horrible. pstats takes a stream argument
so lets use that instead.

(Bitbake rev: 93d155f4766e27e7b004d13569aa03961fe89e3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2/hg: Fix username/password handling
Richard Purdie [Wed, 27 Aug 2014 12:56:25 +0000 (13:56 +0100)]
bitbake: fetch2/hg: Fix username/password handling

We should only add user/password options if they're specified as in the
fetch case. Patch from Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>

(Bitbake rev: 303e6256947f4df4f283b75b7ccfdffa72864d67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: runqueue: Fix setscene tasks not running
Richard Purdie [Wed, 27 Aug 2014 12:07:24 +0000 (13:07 +0100)]
bitbake: runqueue: Fix setscene tasks not running

Currently, if you have hard dependencies between setscene tasks (like avahi on
base-passwd through useradd.bbclass), other dependencies may not be installed
even if these exist in sstate. For example, avahi -> expat -> pigz-native
(and avahi -> base-passwd) yet if you cleansstate base-passwd:

bitbake gzip-native:do_clean avahi:do_clean expat:do_clean pigz-native:do_clean base-passwd:do_cleansstate
bitbake avahi | tee

you will currently see pigz-native being rebuilt even though it was in
sstate. The fix for this is to continue to iterate dependency chains
around hard blocked dependencies as per this patch.

After this patch is applied, you will see pigz-native installed from sstate.

(Bitbake rev: f787957a224e8c2682a19e5c4a4d9c86bdce52ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: d2fbc55d6863a767e69092bac686c02c3ec34650)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 5cf12b20c08d927af8b1a4e2997d325a030c2269)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: bd96d929345e90d121f7a5d40fde382a4f83796b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: f1a3f28c3f2aa9f16c138712fbfd671d731fd62e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 895ff60e5029e1b7f2f2c8b9a01eed900fe1fe00)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 70c6e0b84d3e17807cbea0677df2f0772a284130)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: d081a85fc76e2b7a469c6c70175ecf7aed9de053)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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

(From OE-Core rev: 92b554e2c023c14013625e4464df8fa7187e4524)

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

(From OE-Core rev: b983f74fe5147d09f1743eaff4c7808d0411c742)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 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.

(From OE-Core rev: 4c13eced019eac49f047a620994c1b56af5d4951)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>