]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agowic: setup infrastructure for nosetests
Ed Bartosh [Fri, 10 Apr 2015 10:22:35 +0000 (13:22 +0300)]
wic: setup infrastructure for nosetests

cd scripts && nosetests runs 3 simple tests and
produces nice test coverage report for wic codebase.

This infra can be used to test other scripts and modules.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add argv argument to main
Ed Bartosh [Thu, 9 Apr 2015 18:41:20 +0000 (21:41 +0300)]
wic: Add argv argument to main

Make it possible to call wic as an API from tests passing
command line parameters as arguments to main.

This is yet another enabler for wic unit testing.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Use __file__ instead of sys.argv[0]
Ed Bartosh [Thu, 9 Apr 2015 12:54:35 +0000 (15:54 +0300)]
wic: Use __file__ instead of sys.argv[0]

Using __file__ makes the code work independently of the way
it's loaded. In some cases wic can be imported by another
program without executing it. sys.argv[0] would not contain
path to the wic in such a cases.

This is an enabler for unit testing with nose framework.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic:code cleanup: No space allowed
Ed Bartosh [Thu, 9 Apr 2015 11:36:49 +0000 (14:36 +0300)]
wic:code cleanup: No space allowed

Fixed pylint warning
  'No space allowed around keyword argument assignment'

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane.bbclass: Enhance file-rdeps QA check
Alejandro Hernandez [Thu, 9 Apr 2015 21:55:58 +0000 (16:55 -0500)]
insane.bbclass: Enhance file-rdeps QA check

Adds symlink-to-sysroot check to QA_WARN to detect symlinks that
point to locations under TMPDIR, which are most likely broken.

Changes filerdepends from set() to dict(), hence methods for adding
or deleting items had to change too. Now it keeps track of key:value
relationship, flags the QA issue; warning the user about which
file/package causes the problem, making it easier to debug.

[YOCTO #7126]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-2.7.py: Add fractions to ${PN}-numbers
Tim Orling [Thu, 9 Apr 2015 23:55:22 +0000 (16:55 -0700)]
generate-manifest-2.7.py: Add fractions to ${PN}-numbers

python-cryptography requires fractions module which is currently unpackaged.

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopcmciautils: fix for parallel build
Robert Yang [Mon, 30 Mar 2015 02:50:44 +0000 (19:50 -0700)]
pcmciautils: fix for parallel build

Fixed:
Compiling lex_config.c.
  src/lex_config.l:34:25: fatal error: yacc_config.h: No such file or directory

There was a patch for fixing the paralle issue before, so modify the
patch again.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: add PACKAGECONFIG for grub-mount and device-mapper
Robert Yang [Thu, 2 Apr 2015 08:55:16 +0000 (01:55 -0700)]
grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

We had PACKAGECONFIGs for grub_2.00 and grub_git, we also need them for
grub-efi, otherwise there might be failures as:
grub-2.00/util/grub-mount.c:37:23: fatal error: fuse/fuse.h: No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-core: Upgrade to 2.16.0
Jussi Kukkonen [Thu, 9 Apr 2015 12:16:24 +0000 (15:16 +0300)]
at-spi2-core: Upgrade to 2.16.0

* Add new org.a11y.atspi.Registry D-Bus service file

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibepoxy: Add as GTK+ 3.16 requirement
Jussi Kukkonen [Thu, 9 Apr 2015 12:16:26 +0000 (15:16 +0300)]
libepoxy: Add as GTK+ 3.16 requirement

Libepoxy is a OpenGL function pointer management library required by
GTK 3.16.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-atk: Upgrade to 2.16.0
Jussi Kukkonen [Thu, 9 Apr 2015 12:16:25 +0000 (15:16 +0300)]
at-spi2-atk: Upgrade to 2.16.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoatk: Upgrade to 2.16.0
Jussi Kukkonen [Thu, 9 Apr 2015 12:16:23 +0000 (15:16 +0300)]
atk: Upgrade to 2.16.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: Upgrade to 1.14.2
Jussi Kukkonen [Thu, 9 Apr 2015 12:16:22 +0000 (15:16 +0300)]
cairo: Upgrade to 1.14.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-networking: Upgrade to 2.44.0
Jussi Kukkonen [Thu, 9 Apr 2015 12:16:21 +0000 (15:16 +0300)]
glib-networking: Upgrade to 2.44.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogit: 2.3.1 -> 2.3.5
Robert Yang [Fri, 10 Apr 2015 08:31:29 +0000 (01:31 -0700)]
git: 2.3.1 -> 2.3.5

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowget: 1.16.2 -> 1.16.3
Robert Yang [Fri, 10 Apr 2015 08:31:28 +0000 (01:31 -0700)]
wget: 1.16.2 -> 1.16.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: 1.22.2 -> 1.22.3
Robert Yang [Fri, 10 Apr 2015 08:31:27 +0000 (01:31 -0700)]
groff: 1.22.2 -> 1.22.3

* Updated groff-1.22.2-correct-man.local-install-path.patch

* Add perl to RDEPENDS_groff since there are a few perl scripts:
  groff/usr/bin/roff2pdf:#! /usr/bin/env perl
  groff/usr/bin/afmtodit:#! /usr/bin/env perl -w
  groff/usr/bin/roff2dvi:#! /usr/bin/env perl
  groff/usr/bin/roff2text:#! /usr/bin/env perl
  groff/usr/bin/glilypond:#! /usr/bin/env perl
  groff/usr/bin/roff2ps:#! /usr/bin/env perl
  groff/usr/bin/gperl:#! /usr/bin/env perl
  groff/usr/bin/mmroff:#! /usr/bin/env perl
  groff/usr/bin/gpinyin:#! /usr/bin/env perl
  groff/usr/bin/roff2html:#! /usr/bin/env perl
  groff/usr/bin/grog:#! /usr/bin/env perl
  groff/usr/bin/gropdf:#! /usr/bin/env perl -w
  groff/usr/bin/pdfmom:#! /usr/bin/env perl -w
  groff/usr/bin/chem:#! /usr/bin/env perl
  groff/usr/bin/roff2x:#! /usr/bin/env perl
  groff/usr/bin/groffer:#! /usr/bin/env perl
  groff/usr/lib64/groff/gpinyin/subs.pl:#! /usr/bin/env perl
  groff/usr/lib64/groff/grog/subs.pl:#! /usr/bin/env perl
  groff/usr/lib64/groff/groffer/subs.pl:#! /usr/bin/env perl
  groff/usr/lib64/groff/groffer/man.pl:#! /usr/bin/env perl
  groff/usr/lib64/groff/groffer/main_subs.pl:#! /usr/bin/env perl

* Fix the dangling /usr/bin/perl or /bin/perl for grog.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: split files needed for PAM use into separate package
Matt Madison [Sat, 4 Apr 2015 18:04:58 +0000 (11:04 -0700)]
shadow: split files needed for PAM use into separate package

The rootfs creator automatically removes shadow for read-only
root filesystems, which breaks use of PAM plugins for login and
other process identity management utilities.  Package those programs
and config files separately, so they don't get removed.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.29
Cristian Iorga [Fri, 3 Apr 2015 14:13:10 +0000 (17:13 +0300)]
bluez5: upgrade to 5.29

- Large release with over a month and 475 commits since 5.28;
- Internal GATT library received lots of updates;
- Fix for AVCTP key repeat timeout;
- Added support for the Multi Profile Specification (MPS).

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: Boot test for poky-tiny.
Lucian Musat [Thu, 9 Apr 2015 08:08:12 +0000 (11:08 +0300)]
oeqa/runtime: Boot test for poky-tiny.

Bug 6705.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils: Add runner for poky-tiny qemu.
Lucian Musat [Thu, 9 Apr 2015 08:08:11 +0000 (11:08 +0300)]
oeqa/utils: Add runner for poky-tiny qemu.

The connection and commands are done via serial.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/targetcontrol: Add support for poky-tiny in QemuTarget.
Lucian Musat [Thu, 9 Apr 2015 08:08:10 +0000 (11:08 +0300)]
oeqa/targetcontrol: Add support for poky-tiny in QemuTarget.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: Fix building with musl
Khem Raj [Mon, 6 Apr 2015 17:36:46 +0000 (17:36 +0000)]
mesa: Fix building with musl

backport needed patches
add a patch to use _NP macros only on glibc
based linux and not on all linux

Change-Id: Ib43bec9d222856f8e7acb9f0143b406517f049c8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-core: Add nls.m4 from gettext
Khem Raj [Mon, 6 Apr 2015 17:36:47 +0000 (17:36 +0000)]
at-spi2-core: Add nls.m4 from gettext

This is needed for building it with musl, since
we disable NLS, I think it will fails in same
way with glibc if NLS was disabled there too

Change-Id: I95c6858adfb33361cab466999e0bacb47c1e1fde
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez4: Fix encrypt symbol namespace collision
Khem Raj [Mon, 6 Apr 2015 17:36:45 +0000 (17:36 +0000)]
bluez4: Fix encrypt symbol namespace collision

| Makefile:3352: recipe for target 'test/l2test.o' failed
| make[1]: *** [test/l2test.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| test/rctest.c:82:12: error: 'encrypt' redeclared as different kind of
symbol
|  static int encrypt = 0;
|             ^
| In file included from test/rctest.c:33:0:

Change-Id: Iaf2f644ef3cef6f96c6e4bc421c9e78a0e23e674
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoquota: Fix build with musl
Khem Raj [Mon, 6 Apr 2015 17:36:44 +0000 (17:36 +0000)]
quota: Fix build with musl

add more packageconfigs so we can disable
certain features on demand

Add patches to make it more portable
by making posix compliant and libc agnostic code

Change-Id: Ifa1c7f7923322fd22368538310685cd5c440516d
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Fix linking issue for R_ARM_REL32 relocs
Khem Raj [Mon, 6 Apr 2015 17:36:35 +0000 (17:36 +0000)]
binutils: Fix linking issue for R_ARM_REL32 relocs

This issue is surfaces with gcc 5.0 but its a real issue in gold
errors are like

https://sourceware.org/ml/binutils/2010-12/msg00473.html
is the test case

Change-Id: I44806e9fb75a164745e52f0040b7efc9be624ae6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoncurses: Upgrade 4.9 stable to latest patchlevel 20150329
Khem Raj [Mon, 6 Apr 2015 17:36:29 +0000 (17:36 +0000)]
ncurses: Upgrade 4.9 stable to latest patchlevel 20150329

gcc5 barfs on older release

Change-Id: Ib1ad9b1cf7f16eb454da21fd61dc56fe1d9f6783
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibusb-compat: Include sys/types.h in usb.h
Khem Raj [Mon, 6 Apr 2015 17:36:40 +0000 (17:36 +0000)]
libusb-compat: Include sys/types.h in usb.h

Fixes compile errors when usb.h is included in
other packages, it expects sys/types.h to be
there, instead it should include it itself

Change-Id: Ib49477b7d3f3cd97d65c9578bdc33f2ee33f5a26
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Upgrade to 2.26
Khem Raj [Mon, 6 Apr 2015 17:36:39 +0000 (17:36 +0000)]
util-linux: Upgrade to 2.26

Drop backports

Change-Id: I94d442edaf37ab8e685670f0e14ed60031a995fa
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoquota: Upgrade quota_4.01.bb -> quota_4.02.bb
Khem Raj [Mon, 6 Apr 2015 17:36:38 +0000 (17:36 +0000)]
quota: Upgrade quota_4.01.bb -> quota_4.02.bb

Change-Id: Idea094dfe4b49eef58b90296c4cd2b3e239eeabb
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibffi: Use proper compiler define for linux platform
Khem Raj [Mon, 6 Apr 2015 17:36:43 +0000 (17:36 +0000)]
libffi: Use proper compiler define for linux platform

Change-Id: I8253249a2e1c5e9ded0d028545f21cfdc093c3cd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocommon-licenses: Add BSD-0-Clause
Khem Raj [Mon, 6 Apr 2015 17:36:42 +0000 (17:36 +0000)]
common-licenses: Add BSD-0-Clause

Some packages like toybox use it

Change-Id: I2ae4fd024e310bce644581e4c63ed2980ee1998f
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibdaemon: Explicitly include unisttd.h instead of sys/unistd.h
Khem Raj [Mon, 6 Apr 2015 17:36:41 +0000 (17:36 +0000)]
libdaemon: Explicitly include unisttd.h instead of sys/unistd.h

Fixes build errors on musl

Change-Id: Ia00bdc9c0578c8d5e1249c9d433079d795e83cb2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: make error message more informative
Ed Bartosh [Tue, 7 Apr 2015 09:03:06 +0000 (12:03 +0300)]
wic: make error message more informative

Included name of the missing program into the error message produced
by exec_native_cmd when program is not found.

Removed mentioning of the host programs as this API is not running
them anymore.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: don't use host paths when looking for native tools
Ed Bartosh [Tue, 7 Apr 2015 08:12:08 +0000 (11:12 +0300)]
wic: don't use host paths when looking for native tools

exec_native_cmd should not use host paths in $PATH to
avoid finding and using host tools.

[YOCTO: #6204]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-server: Security Advisory - xorg-server - CVE-2015-0255
Li Zhou [Tue, 7 Apr 2015 07:49:56 +0000 (15:49 +0800)]
xorg-server: Security Advisory - xorg-server - CVE-2015-0255

Updated x11-server packages fix security vulnerability:

Olivier Fourdan from Red Hat has discovered a protocol handling issue in
the way the X server code base handles the XkbSetGeometry request, where
the server trusts the client to send valid string lengths. A malicious
client with string lengths exceeding the request length can cause the server
to copy adjacent memory data into the XKB structs. This data is then
available to the client via the XkbGetGeometry request. This can lead to
information disclosure issues, as well as possibly a denial of service if a
similar request can cause the server to crash (CVE-2015-0255).

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap.inc: consolidate inherit and PACKAGECONFIG lines
Andre McCurdy [Mon, 6 Apr 2015 18:13:21 +0000 (11:13 -0700)]
libpcap.inc: consolidate inherit and PACKAGECONFIG lines

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap.inc: remove obsolete libnl1 PACKAGECONFIG
Andre McCurdy [Mon, 6 Apr 2015 18:13:20 +0000 (11:13 -0700)]
libpcap.inc: remove obsolete libnl1 PACKAGECONFIG

There's no libnl1 recipe in oe-core (or any other layer in the layer
index).

Keeping the libnl1 PACKAGECONFIG is likely to cause problems for the
libnl PACKAGECONFIG since libnl and libnl1 both use --with-libnl and
--without-libnl.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/smart: Added new decorators for existing automated tests.
Lucian Musat [Thu, 9 Apr 2015 08:01:51 +0000 (11:01 +0300)]
oeqa/runtime/smart: Added new decorators for existing automated tests.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/rpm: Added new decorators for existing automated tests.
Lucian Musat [Thu, 9 Apr 2015 08:01:50 +0000 (11:01 +0300)]
oeqa/runtime/rpm: Added new decorators for existing automated tests.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/ping: Added new decorators for existing automated tests.
Lucian Musat [Thu, 9 Apr 2015 08:01:49 +0000 (11:01 +0300)]
oeqa/runtime/ping: Added new decorators for existing automated tests.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/parselogs: Added new decorators for existing automated tests.
Lucian Musat [Thu, 9 Apr 2015 08:01:48 +0000 (11:01 +0300)]
oeqa/runtime/parselogs: Added new decorators for existing automated tests.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/ldd: Added new decorators for existing automated tests.
Lucian Musat [Thu, 9 Apr 2015 08:01:46 +0000 (11:01 +0300)]
oeqa/runtime/ldd: Added new decorators for existing automated tests.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotestimage: sort modules based on dependencies
Patrick Ohly [Thu, 9 Apr 2015 09:24:24 +0000 (02:24 -0700)]
testimage: sort modules based on dependencies

TEST_SUITES="auto" is useful to run all suitable tests without
having to hard-code the list. However, it did not take test
dependencies into account, which can be an issue for tests
which really depend on some other test to run first.

To fix this, modules get loaded in the order determined by
TESTS_SUITES, but then get re-ordered based on dependencies
derived from @skipUnlessPassed before running them. The original
order is used to break ties when there are no dependencies, so
reordering only occurs when really necessary.

@skipUnlessPassed gets extended such that it makes the test name
a method depends on available for inspection by the test loader
in oetest.py.

Unfortunately Python's unittest offers no API to inspect tests
in a TestSuite, so the code has to rely on implementation details
to find all tests. The worst that can happen when the implementation
changes is that tests are not found and reordering does not happen.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/systemd.py: skip instead of failing without avahi
Patrick Ohly [Thu, 9 Apr 2015 09:24:23 +0000 (02:24 -0700)]
oeqa/runtime/systemd.py: skip instead of failing without avahi

The SystemdServiceTests assume that avahi-daemon is installed,
which is not necessarily the case depending on the image being
tested.

Better check this dependency before starting the tests and skip
them if the service is not installed. This has to be done for
each test instead of for the entire module, because other
tests in the module can run without avavi.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/oetest.py: use bb logging
Patrick Ohly [Thu, 9 Apr 2015 09:24:22 +0000 (02:24 -0700)]
oeqa/oetest.py: use bb logging

Plain print has two drawbacks:
- the output is handled by different processes, causing the message
  about found tests to appear randomly after the result of the initial
  tests
- the output is not part of the bitbake console output

Affects image testing with testimage.bbclass.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-ffmpeg: fix internal-libav builds with inherit autotools-brokensep
Koen Kooi [Thu, 9 Apr 2015 09:09:53 +0000 (11:09 +0200)]
gst-ffmpeg: fix internal-libav builds with inherit autotools-brokensep

Building the internal copy of ffmpeg is broken when using S!=B, so
inherit autotools-brokensep

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-ffmpeg: remove bogus patch that leads to build failures
Koen Kooi [Thu, 9 Apr 2015 09:09:52 +0000 (11:09 +0200)]
gst-ffmpeg: remove bogus patch that leads to build failures

'0001-huffyuvdec-check-width-more-completely-avoid-out-of-.patch'
patches the internal copy of ffmpeg with a hunk that generates a compile
failure because AV_PIX_FMT_YUV422P is undefined.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-ffmpeg: fix libav-9.patch
Koen Kooi [Thu, 9 Apr 2015 09:09:51 +0000 (11:09 +0200)]
gst-ffmpeg: fix libav-9.patch

The patch has a stray '>' in an #incude directive leading to build
failures when used.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodpkg: add triplet entry to fix build error for armeb
Krishnanjanappa, Jagadeesh [Wed, 8 Apr 2015 13:59:09 +0000 (19:29 +0530)]
dpkg: add triplet entry to fix build error for armeb

Cross-compling dpkg application for armeb fails with below error
during configure task,

(snip)
 configure:23141: checking dpkg cpu type
 configure:23148: result: armeb
 configure:23150: WARNING: armeb not found in cputable
 configure:23162: checking dpkg operating system type
 configure:23169: result: linux-gnueabi
 configure:23171: WARNING: linux-gnueabi not found in ostable
 configure:23183: checking dpkg architecture name
 configure:23189: error: cannot determine host dpkg architecture
-- CUT --

Add the required combination of "gnueabi-linux-armeb" entry in
triplet list.

Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa/selftest/bblayers: improve test for add-layer and remove-layer
Yi Zhao [Thu, 9 Apr 2015 07:10:57 +0000 (15:10 +0800)]
lib/oeqa/selftest/bblayers: improve test for add-layer and remove-layer

Use absolute path instead of relative path for meta-skeleton.
Otherwise the case would fail if the builddir outside the poky source
tree.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: add 'util-linux-sulogin' to RDEPENDS
Chen Qi [Thu, 9 Apr 2015 05:49:29 +0000 (13:49 +0800)]
shadow: add 'util-linux-sulogin' to RDEPENDS

If shadow is installed, sulogin from busybox cannot work correctly because
it still assumes that /etc/shadow is not there. This leads to the problem
when booting into rescue mode in an image with shadow installed but not
sulogin from util-linux.

To fix this problem, we add 'util-linux-sulogin' to RDEPENDS of shadow.
This runtime dependency is specific to OE, because we have to ensure
that sulogin can work correctly and sulogin from busybox cannot because
FEATURE_SHADOWPASSWORDS is not enabled by default. And we cannot enable
it by default for busybox, because that would lead to utilities in busybox
to assume the existence of /etc/shadow which is not always true in OE.

[YOCTO #6698]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: split out util-linux-sulogin
Chen Qi [Thu, 9 Apr 2015 05:49:28 +0000 (13:49 +0800)]
util-linux: split out util-linux-sulogin

[YOCTO #6698]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopango: fix postinst
Martin Jansa [Wed, 8 Apr 2015 12:40:45 +0000 (14:40 +0200)]
pango: fix postinst

* merge postinst_prologue with the append in the do_split_packages call
  Now we can call correct pango-querymodules binary and respect D
  variable, otherwise we're trying to regenerate it on host which fails:
  pango-module-basic-fc.postinst: line 17: /usr/bin/pango-querymodules:
  No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: fix postinst
Martin Jansa [Wed, 8 Apr 2015 12:40:44 +0000 (14:40 +0200)]
tzdata: fix postinst

* add quotes around possibly empty tz variable
* use exit instead of return, because we're not in function and postinst
  fails:
  line 9: return: can only `return' from a function or sourced script"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error: Fix native build on i686
Gary Thomas [Wed, 8 Apr 2015 12:33:53 +0000 (06:33 -0600)]
libgpg-error: Fix native build on i686

Most modern x86 systems return i686 as the system type.  This
patch handles i486, i586 and i686 correctly.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: Create connman.service at proper moment
Jukka Rissanen [Wed, 8 Apr 2015 11:36:19 +0000 (14:36 +0300)]
connman: Create connman.service at proper moment

ConnMan commit ac332c5d01b0737c18cb58c8ccc67cf6b0427e1d changes
how the connman.service file is created from .in file. After
that commit, the file is created by Makefile instead of configure.
This means that we need to tweak the service file in compile
time instead of configure time because the generated file will not
be there after the configuration.

This commit can be used even with older ConnMan version as the
connman.service file is there when the compilation happens.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: Fix build in x32 ABI
Aníbal Limón [Wed, 8 Apr 2015 10:04:45 +0000 (10:04 +0000)]
nss: Fix build in x32 ABI

When try to build nss with x32 ABI enabled fails because
it need to be specified USE_X32 env var.

[YOCTO #7420]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokexec-tools: Add support for build with x32 ABI in x86_64
Mariano Lopez [Wed, 8 Apr 2015 10:04:44 +0000 (10:04 +0000)]
kexec-tools: Add support for build with x32 ABI in x86_64

Add autoconf test for detect when build is x32 ABI this enables to
test into purgatory Makefile to avoid use -mcmodel=large flag in CC.

Add ELFCLASS read and syscall number into kexec, see patch.

[YOCTO #7419]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+: Upgrade to 2.24.27
Jussi Kukkonen [Wed, 8 Apr 2015 11:08:29 +0000 (14:08 +0300)]
gtk+: Upgrade to 2.24.27

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: upgrade to 5.2.1
Chen Qi [Wed, 8 Apr 2015 10:09:30 +0000 (18:09 +0800)]
xz: upgrade to 5.2.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agosysstat: upgrade to 11.1.3
Chen Qi [Wed, 8 Apr 2015 07:26:47 +0000 (15:26 +0800)]
sysstat: upgrade to 11.1.3

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agosudo: upgrade to 1.8.13
Chen Qi [Wed, 8 Apr 2015 06:39:14 +0000 (14:39 +0800)]
sudo: upgrade to 1.8.13

The do_configure_prepend is deleted because it doesn't seem to have any
positive effect and it causes the following error.

| aclocal: error: acinclude.m4:133: file 'm4/ax_sys_weak_alias.m4' does not exist
| autoreconf: aclocal failed with exit status: 1
| ERROR: autoreconf execution failed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agobusybox: upgrade to 1.23.2
Chen Qi [Tue, 7 Apr 2015 07:03:00 +0000 (15:03 +0800)]
busybox: upgrade to 1.23.2

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agocurl: upgrade to 7.41.0
Chen Qi [Tue, 7 Apr 2015 06:46:58 +0000 (14:46 +0800)]
curl: upgrade to 7.41.0

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agowic: Implement --build-rootfs command line option
Ed Bartosh [Tue, 7 Apr 2015 09:57:41 +0000 (12:57 +0300)]
wic: Implement --build-rootfs command line option

-f/--build-rootfs option makes wic to run bitbake <image> to
produce rootfs. This option requires image name to be specified
with -e/--image-name.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: support ontrackdm6aux3 partitions
Alexandre Belloni [Tue, 7 Apr 2015 10:21:59 +0000 (12:21 +0200)]
wic: support ontrackdm6aux3 partitions

ontrack dm6 aux3 is a type of partition required to be able to boot a Freescale
mxs based platform.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: rawcopy: ensure comparison is done on int
Alexandre Belloni [Tue, 7 Apr 2015 10:21:58 +0000 (12:21 +0200)]
wic: rawcopy: ensure comparison is done on int

The size comparison may fail because it is done on strings rather than
integers.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: code cleanup: unused imports
Ed Bartosh [Tue, 7 Apr 2015 11:51:51 +0000 (14:51 +0300)]
wic: code cleanup: unused imports

Fixed pylint warning 'Unused import'

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: code cleanup: bad indentation
Ed Bartosh [Tue, 7 Apr 2015 11:29:25 +0000 (14:29 +0300)]
wic: code cleanup: bad indentation

Fixed pylint warning 'Bad indentation'

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosecurity_flags.inc: elfutils on ARM fails with PIE flags
Denys Dmytriyenko [Tue, 7 Apr 2015 20:53:54 +0000 (16:53 -0400)]
security_flags.inc: elfutils on ARM fails with PIE flags

The error messages look like this:
R_ARM_TLS_LE32 relocation not permitted in shared object

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofile: add -P prompt into usage info
Junling Zheng [Wed, 8 Apr 2015 07:53:37 +0000 (07:53 +0000)]
file: add -P prompt into usage info

Currently, file's usage info doesn't contain -P prompt. So add it.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: module overload rdpends on overloading
Wenzong Fan [Wed, 8 Apr 2015 06:08:47 +0000 (14:08 +0800)]
perl: module overload rdpends on overloading

Fix perl runtime issue:

* Can't locate overloading.pm in @INC (you may need to install the
overloading module ...) at /usr/lib64/perl/5.20.0/overload.pm line 83.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Change python 2.7.9 to use libffi from the system
Nathan Rossi [Wed, 8 Apr 2015 05:47:56 +0000 (15:47 +1000)]
python: Change python 2.7.9 to use libffi from the system

Changes in python 2.7.9 from 2.7.3 cause issues when building the in
tree libffi for ctypes. These issues primarily affect less common
platforms (e.g. MicroBlaze) that are supported by libffi but the python
overrides for the in tree libffi are not able to detect correctly.

This patch changes the python 2.7.9 recipe to match how the python 3
recipe handles libffi by configuring the build to use the system
libffi. This brings consistency between the libffi used for different
python versions as well as with the system.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: 2.42.1 -> 2.44.0
Robert Yang [Tue, 7 Apr 2015 08:53:24 +0000 (01:53 -0700)]
glib-2.0: 2.42.1 -> 2.44.0

Backported a patch to fix build on CentOS' gcc 4.4.7:
0001-GListModel-roll-back-use-of-type-redefinition.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Fix packaging now gold is always built
Richard Purdie [Wed, 8 Apr 2015 13:18:36 +0000 (13:18 +0000)]
binutils: Fix packaging now gold is always built

Resolves:

ERROR: QA Issue: binutils: Files/directories were installed but not shipped
  /usr/bin/dwp
  /usr/bin/ld.gold [installed-vs-shipped]

now gold is always built.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcmode-default: Pin gdb to 7.9
Khem Raj [Wed, 8 Apr 2015 17:00:05 +0000 (10:00 -0700)]
tcmode-default: Pin gdb to 7.9

Change-Id: I034a3bf7b9288df4579744f242e990f213193e85
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-4.8: Upgrade 4.8.2 -> 4.8.4
Khem Raj [Mon, 6 Apr 2015 17:36:37 +0000 (17:36 +0000)]
gcc-4.8: Upgrade 4.8.2 -> 4.8.4

Drop already applied patches
This fixes random ICE seen on mips with large c++ files ( webkit )
Then there are several backports

Change-Id: Ie1c3acda2fda1b6cbd356416c860938f6cbd758e
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpcbind: Fix build with musl
Khem Raj [Mon, 6 Apr 2015 17:36:52 +0000 (17:36 +0000)]
rpcbind: Fix build with musl

most patches are just removing glibc'ism e.g. using sys/queue.h
of cdefs.h the one patch which is specific to musl
is housed with overrides

Change-Id: Ia15bf6c9c4b562c9392a704ef92e9090aa5f6381
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml2: Contain glibc-extentions under __GLIBC__
Khem Raj [Mon, 6 Apr 2015 17:36:51 +0000 (17:36 +0000)]
libxml2: Contain glibc-extentions under __GLIBC__

Makes it more portable

Change-Id: I7bbc4cc0ebc26d54248b8433dab94db207615445
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowpa-supplicant: Replace non-standard base defines with c99 compliant ones
Khem Raj [Mon, 6 Apr 2015 17:36:50 +0000 (17:36 +0000)]
wpa-supplicant: Replace non-standard base defines with c99 compliant ones

Makes it more portable

Change-Id: I033787934cd91243ce8f8ce3a974a157aa5cfd6a
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopixman,libpciaccess: Fix build on musl
Khem Raj [Mon, 6 Apr 2015 17:36:49 +0000 (17:36 +0000)]
pixman,libpciaccess: Fix build on musl

The fixes are not specific to musl, however they came
to surface due to musl, these are generic problems which
should be fixed in components

Change-Id: If9aa95968d9dec9c16e3e5819955befcaa38937c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoofono: Disable backtrace for non-glibc libraries
Khem Raj [Mon, 6 Apr 2015 17:36:48 +0000 (17:36 +0000)]
ofono: Disable backtrace for non-glibc libraries

It uses glibc backtrace() API which is not implemented
everywhere e.g. musl

Change-Id: I96380b994c27968542dba6dae220adfecaeda556
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: 3.76 -> 3.82
Robert Yang [Tue, 7 Apr 2015 11:24:30 +0000 (04:24 -0700)]
man-pages: 3.76 -> 3.82

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodhcp: 4.3.1 -> 4.3.2
Robert Yang [Tue, 7 Apr 2015 11:24:28 +0000 (04:24 -0700)]
dhcp: 4.3.1 -> 4.3.2

Removed dhcp-xen-checksum.patch since already merged.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosocat: 1.7.2.4 -> 1.7.3.0
Robert Yang [Tue, 7 Apr 2015 11:24:27 +0000 (04:24 -0700)]
socat: 1.7.2.4 -> 1.7.3.0

Removed fix-cross-compiling-failed.patch and
socat-1.7.2.4-linux-3.17.patch since upstream has fixed them.

Updated README's LIC_FILES_CHKSUM, there is a word changed (GPL ->
GPLv2, it should be GPLv2 as COPYING shows), its license is already
"GPL-2.0+-with-OpenSSL-exception", so we just update the md5 is OK.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: 2.1.1 -> 2.1.2
Robert Yang [Tue, 7 Apr 2015 11:24:26 +0000 (04:24 -0700)]
gnupg: 2.1.1 -> 2.1.2

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: 1.6.2 -> 1.6.3
Robert Yang [Tue, 7 Apr 2015 11:24:25 +0000 (04:24 -0700)]
libgcrypt: 1.6.2 -> 1.6.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopatch: 2.7.1 -> 2.7.5
Robert Yang [Tue, 7 Apr 2015 11:24:24 +0000 (04:24 -0700)]
patch: 2.7.1 -> 2.7.5

* Removed backport patch patch-CVE-2015-1196.patch
* Add HOMEPAGE

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibuser: 0.60 -> 0.61
Robert Yang [Tue, 7 Apr 2015 11:24:23 +0000 (04:24 -0700)]
libuser: 0.60 -> 0.61

Removed fixsepbuild.patch since it is not needed any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: 4.9 -> 4.10
Robert Yang [Tue, 7 Apr 2015 11:24:22 +0000 (04:24 -0700)]
strace: 4.9 -> 4.10

Updated patches:
Makefile-ptest.patch
strace-add-configure-options.patch

Fixed:
debugedit: netlink_unix_diag: canonicalization unexpectedly shrank by one character

It was because oe_runmake -C ${TESTDIR} buildtest-TESTS didn't set OS
and ARCH, which caused "-I<foo>//" in gcc options, and would cause
debugedit error.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: Build with gold to avoid build failures
Richard Purdie [Tue, 7 Apr 2015 14:53:04 +0000 (15:53 +0100)]
libunwind: Build with gold to avoid build failures

The library fails to build with binutils 2.25 and standard ld. This
issue is fixed in gcc 5 with no plans to backport to gcc 4. Easiest
workaround for now is to use gold as the linker for the library
since gold does not have the issue. The bug is x86 only.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Allow gold to build even when not the default
Richard Purdie [Tue, 7 Apr 2015 14:51:12 +0000 (15:51 +0100)]
binutils: Allow gold to build even when not the default

It can be useful to have gold available for testing even when its not the
default, therefore build gold by default in all configurations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot: Avoid issues with binutils-2.25
Richard Purdie [Tue, 7 Apr 2015 14:49:32 +0000 (15:49 +0100)]
u-boot: Avoid issues with binutils-2.25

Add a patch based on one from Zhenhua Luo <zhenhua.luo@freescale.com>
in the meta-fsl-ppc layer to avoid build failures for u-boot with the
mpc8315e-rdb machine with binutils 2.25.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: add lastb.1 and nologin.8 to update-alternatives
Matthieu Crapet [Tue, 31 Mar 2015 12:23:29 +0000 (14:23 +0200)]
util-linux: add lastb.1 and nologin.8 to update-alternatives

/usr/share/man/man1/lastb.1
is also provided by sysvinit recipe.

/usr/share/man/man8/nologin.8
is also provided by shadow recipe.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoprelink_git.bb: Update to latest cross-prelink version
Mark Hatle [Mon, 30 Mar 2015 22:10:33 +0000 (17:10 -0500)]
prelink_git.bb: Update to latest cross-prelink version

[YOCTO #7056]

Adds support for armhf dynamic linker
Update prelink-rtld to glibc 2.20 base
Fix testsuite to work with latest autotools

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopinentry: update to 9.1
Armin Kuster [Tue, 31 Mar 2015 19:43:55 +0000 (12:43 -0700)]
pinentry: update to 9.1

Fix build problems on AIX.
Update to automake 1.14.

remove "PR"

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouseradd_base.bbclass: typo fixes (s/scucess/success/)
Mario Domenech Goulart [Wed, 1 Apr 2015 13:45:45 +0000 (10:45 -0300)]
useradd_base.bbclass: typo fixes (s/scucess/success/)

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovalgrind: add configure option to build only 32-bit or 64-bit components
Krishnanjanappa, Jagadeesh [Fri, 3 Apr 2015 17:55:26 +0000 (23:25 +0530)]
valgrind: add configure option to build only 32-bit or 64-bit components

Building both 32-bit and 64-bit binaries in valgrind at a time would
lead to following QA issue as below,

(snip)
 ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_exp-sgcheck-x86-linux.so
 ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/getoff-x86-linux
 ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_core-x86-linux.so
 ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_memcheck-x86-linux.so
-- CUT --

hence perform only one type of build 32-bit or 64-bit, but not both.

Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>