scm/bb/tizen-distro.git
11 years agooprofile: add Upstream-Status for several patches
Zhenhua Luo [Tue, 16 Jul 2013 03:45:57 +0000 (11:45 +0800)]
oprofile: add Upstream-Status for several patches

Add "Upstream-Status: Accepted" for below patches:
* meta/recipes-kernel/oprofile/oprofile/0001-Allow-ppc64-events-to-be-specified-with-or-without-_.patch
* meta/recipes-kernel/oprofile/oprofile/0001-Fix-PPC64-specific-libpfm-usage-so-it-doesn-t-break-.patch
* meta/recipes-kernel/oprofile/oprofile/0001-ophelp-lists-events-Fix-doc-URL-for-ppc64-arch.patch

(From OE-Core rev: 357e850115e802e6b32c8163c3bf6620f6cb3531)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcl: fix typo of upstream status in patch file
Kai Kang [Tue, 16 Jul 2013 02:36:12 +0000 (10:36 +0800)]
tcl: fix typo of upstream status in patch file

Fix typo of upstream status in tcl-remove-hardcoded-install-path.patch
that may cause some scripts out of work. Fix it.

(From OE-Core rev: 0931eead0f874112836926dd493c9f47b3edbd16)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-ptest: Disable python module check
Mark Hatle [Tue, 16 Jul 2013 00:36:39 +0000 (19:36 -0500)]
dbus-ptest: Disable python module check

Disable the python module check, as the host python modules are
not needed for generating the target tests.

(From OE-Core rev: 1395a2364aefbe1d19af155e132b6885ec095771)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: Fix on-device SDK C++ runtime issue
Khem Raj [Mon, 15 Jul 2013 23:41:42 +0000 (16:41 -0700)]
gcc-4.8: Fix on-device SDK C++ runtime issue

This fixes the issue where g++ is not able to
find C++ headers when sysroot is '/'

The patch needs to be upstreamed into gcc as well.

[Yocto #4812]

(From OE-Core rev: 18537025ca8777a45cb24f1d9ee781323695607a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoUpstream-Status: Correct capitalization
Saul Wold [Mon, 15 Jul 2013 23:44:42 +0000 (16:44 -0700)]
Upstream-Status: Correct capitalization

(From OE-Core rev: 2d5c457bf888771891e9c29e82ec5a5cecace528)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: allow libdir QA check to be skipped using INSANE_SKIP
Paul Eggleton [Mon, 15 Jul 2013 18:17:44 +0000 (19:17 +0100)]
classes/insane: allow libdir QA check to be skipped using INSANE_SKIP

This path check isn't handled in the normal way where a QA check
function is called for every file (there's some minor setup that we want
to avoid doing for every file) so we need to check INSANE_SKIP
explicitly.

In the process, change the code structure a little bit so that we can
report the package that contains the errant file.

Fixes [YOCTO #4822].

(From OE-Core rev: 3bdbec1bdecc52828cbbf8108786ff076c981845)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: fix regression in libdir QA regex
Paul Eggleton [Mon, 15 Jul 2013 18:17:43 +0000 (19:17 +0100)]
classes/insane: fix regression in libdir QA regex

There was a slight mistake in the recent change to the lib_re regex -
it still needs to begin with a /.

(From OE-Core rev: 194e47e6d8d9b9ee98e0203f0ebb574084277c46)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: backport patch to fix dbus interface for autoscan functionality
Simon Busch [Mon, 15 Jul 2013 18:11:44 +0000 (18:11 +0000)]
wpa-supplicant: backport patch to fix dbus interface for autoscan functionality

See https://lists.connman.net/pipermail/connman/2013-July/014871.html for details about
the issue with connman and http://lists.shmoo.com/pipermail/hostap/2013-July/028167.html
about the upstream submission of the patch.

(From OE-Core rev: 0d045e401bbd6a5ebf31a25e333fccc5a529f8cb)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: fix ip reference in simple.script
Mark Hatle [Mon, 15 Jul 2013 20:10:28 +0000 (15:10 -0500)]
busybox: fix ip reference in simple.script

The ip is being installed into /sbin as of the latest busybox.

(From OE-Core rev: 222ae6001db286d66462c6334f7f054ca727b7be)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal.bbclass: Fix BB_RUNFMT processing
Mark Hatle [Mon, 15 Jul 2013 20:10:27 +0000 (15:10 -0500)]
terminal.bbclass: Fix BB_RUNFMT processing

BB_RUNFMT can include task and taskfunc, as well as func and pid.  Add the
two missing items toe the runfmt processing.

Also BB_RUNFMT can include arbitrary directory structure.

(From OE-Core rev: 95f6e9a3d8fa24acc3bab392719e2d92be25d806)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Update gcc sanity check
Mark Hatle [Mon, 15 Jul 2013 20:10:26 +0000 (15:10 -0500)]
sanity.bbclass: Update gcc sanity check

The gcc sanity check should be checking for the atomic function directly
instead of using the gcc macro.  Older versions of gcc do not have the macro
defined, but do support the atomic operations.  (glib-2.0 checks for both
the macro and the function, as long as one is available it will successfully
compile.)

Update the check to try both -mcpu=native and -mcpu=BUILD_ARCH.  Tell the user
which version worked properly.

[YOCTO #4845]

(From OE-Core rev: c126729b29822d3602c9c4fd9016cc79b6057fc5)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: add PACKAGECONFIG for Python support
Jonathan Liu [Sun, 14 Jul 2013 07:04:20 +0000 (17:04 +1000)]
gdb: add PACKAGECONFIG for Python support

(From OE-Core rev: 4f7fd6ba77e3c233faafe490c1986527789ed80c)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt-mobility: tighten up config generation and use PACKAGECONFIG
Paul Eggleton [Mon, 15 Jul 2013 13:00:43 +0000 (14:00 +0100)]
qt-mobility: tighten up config generation and use PACKAGECONFIG

* Add DEPENDS on util-linux (for libblkid) and gstreamer (was likely
  always being auto-detected since it is currently an unconditional
  dependency of Qt itself in our Qt recipes)
* Use PACKAGECONFIG to allow individual configuration of pulseaudio and
  bluetooth features rather than additional variables
* Generate a static platform configuration and tell the configure script
  to use that instead of running compile tests during do_configure. This
  should avoid the issue of camerabin sometimes being built and failing
  as seen on the Yocto Project autobuilder.

(From OE-Core rev: 9d64f117cccf69916ce5b08039edcb3a19dc2b58)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: backport a patch to support mipsn32el and mips64el
Roy.Li [Mon, 15 Jul 2013 08:59:06 +0000 (16:59 +0800)]
dpkg: backport a patch to support mipsn32el and mips64el

(From OE-Core rev: cdc8c8d73ab782d712acafb85d97f2af688ae4c9)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
[sgw - tweaked Upstream-Status]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa: fix dependecy check
Stefan Stanacar [Sat, 13 Jul 2013 14:57:56 +0000 (17:57 +0300)]
lib/oeqa: fix dependecy check

Adds missing skip for smart test and fix the check (which I somehow broke
a while ago).

(From OE-Core rev: cf1790d992f067be8d5f9894458f55f6f1bdc61f)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotestimage.bbclass, lib/oeqa: add headers and comments
Stefan Stanacar [Fri, 12 Jul 2013 16:08:53 +0000 (19:08 +0300)]
testimage.bbclass, lib/oeqa: add headers and comments

Adds some comments to testimage.bbclass and the files it calls,
just to give an ideea of what it does.

(From OE-Core rev: 8bbb7116cf02466dfc59a17dc7bb51287aeea55b)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/testimage.bbclass: use a copy of rootfs for tests
Stefan Stanacar [Fri, 12 Jul 2013 09:15:19 +0000 (12:15 +0300)]
classes/testimage.bbclass: use a copy of rootfs for tests

Make a copy of the rootfs and test that.
We can now drop the snapshot option.

(From OE-Core rev: ba58f1fe8fb7a0e3ff9320dfc108235d484da6a1)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/runtime: add tests for syslog and df
Alexandru Palalau [Fri, 12 Jul 2013 10:44:37 +0000 (13:44 +0300)]
lib/oeqa/runtime: add tests for syslog and df

Add tests for free space and syslog.

Changed in v2:
    - limit df's output to /
    - syslog: fix restart in case of systemd

(From OE-Core rev: 1b39d57e7b5c9b69d565cf4d188ebc2f14e66ae6)

Signed-off-by: Alexandru Palalau <alexandru.palalau@intel.com>
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/oetest.py: provide a ps command for all tests
Stefan Stanacar [Fri, 12 Jul 2013 10:38:53 +0000 (13:38 +0300)]
lib/oeqa/oetest.py: provide a ps command for all tests

Many tests will use 'ps' but we need to know if it's busybox
or standard ps.
Drop the existing check from the connman test.

(From OE-Core rev: 1515d33d2c5b7275a3ac20e07c1db1d8273de796)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/runtime/multilib.py: use readelf instead of file
Stefan Stanacar [Thu, 11 Jul 2013 19:00:51 +0000 (22:00 +0300)]
lib/oeqa/runtime/multilib.py: use readelf instead of file

file was pulled by rpm in sato images, readelf comes with binutils
so it's in ipk/deb too.
Also the test was looking at connmand instead of connman-applet
(which is what the testcase says and the AB nightly-multilib target installs)

(From OE-Core rev: c2c47a002996b8dbcf9b311dff677202b1f11a64)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotestimage.bbclass, lib/oeqa/utils/qemurunner.py: make boot timeout configurable and...
Stefan Stanacar [Wed, 10 Jul 2013 11:33:32 +0000 (14:33 +0300)]
testimage.bbclass, lib/oeqa/utils/qemurunner.py: make boot timeout configurable and increase it

On a loaded host (such as an AB setup where multiple builds run)
the 200 seconds timeout might not be enough to reach the login prompt.
Also make it configurable so we can set it from local.conf/auto.conf

(From OE-Core rev: e828571683333e6f18ed56a84e114b5e54975bc7)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/utils/sshcontrol.py: fix passing command to subprocess
Stefan Stanacar [Tue, 9 Jul 2013 14:52:55 +0000 (17:52 +0300)]
lib/oeqa/utils/sshcontrol.py: fix passing command to subprocess

Don't use shlex.split in subprocess call and also prepend
. /etc/profile, because PATH over ssh is always
/usr/bin:/bin which isn't what many tests expect.

Changed in v2:
 We now need to use a separate call for scp command.

(From OE-Core rev: 1988de2fad86e8e34070ed6573a7be09fff5c0a2)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/runtime/dmesg.py: whitelist dmesg message for systemd net interface name
Stefan Stanacar [Mon, 8 Jul 2013 13:40:00 +0000 (16:40 +0300)]
lib/oeqa/runtime/dmesg.py: whitelist dmesg message for systemd net interface name

Messages such as:
"systemd-udevd[79]: error changing net interface name eth0 to enp0s3: Device or resource busy"
are harmless as systemd can't rename interfaces in qemu (the interface is already active).
Alternatively, passing net.ifnames=0 to the kernel will stop systemd renaming the interfaces.

(From OE-Core rev: c072fed6531f2ce3c687f8342a97f593ebf37653)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: Update to 9.48
Saul Wold [Sat, 13 Jul 2013 20:15:26 +0000 (13:15 -0700)]
initscripts: Update to 9.48

(From OE-Core rev: b089dfd983e427c805e8dec33630d853ca3ca742)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomc: upgrade to 4.8.9
Saul Wold [Sat, 13 Jul 2013 09:47:21 +0000 (12:47 +0300)]
mc: upgrade to 4.8.9

(From OE-Core rev: e527cd5071e423cb0bb392d7f002ff9698b28fae)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibidn: upgrade to 1.28
Saul Wold [Sat, 13 Jul 2013 10:50:02 +0000 (13:50 +0300)]
libidn: upgrade to 1.28

(From OE-Core rev: 02988d8e03e9189f1b287b959994b70f261217bd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image-lsb.bb: add 'package-management' to IMAGE_FEATURES
Chen Qi [Fri, 12 Jul 2013 05:17:56 +0000 (13:17 +0800)]
core-image-lsb.bb: add 'package-management' to IMAGE_FEATURES

Add 'package-management' to IMAGE_FEATURES to make sure that the
packaging data is not removed, as LSB requires a package manager
available.

[YOCTO #4814]

(From OE-Core rev: c66228663177896458488eb058af4cd17a272424)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: make BBLAYERS parsing more robust
Tom Zanussi [Wed, 10 Jul 2013 14:11:44 +0000 (09:11 -0500)]
yocto-kernel: make BBLAYERS parsing more robust

This allows the BBLAYERS parsing code to handle cases where BBLAYERS
is spread across multiple assignments or all on a single line, within
double or single quotes.

Fixes [YOCTO #3746].

(From meta-yocto rev: 4ab26d9e655bab0069ffe9b135557d943cf1f524)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistrodata.bbaclass: change in git and svn package reporting
Emilia Ciobanu [Fri, 12 Jul 2013 14:43:33 +0000 (17:43 +0300)]
distrodata.bbaclass: change in git and svn package reporting

For git packages the Package Reporting System should always report the
latest HEAD.
For svn packages the new version reporting has the following format:
version+svn[r|-]revision

(From OE-Core rev: 43c28375f97161e618fa54349c65be2058c33c53)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: QEMU fix libtool usage
Mark Hatle [Fri, 12 Jul 2013 01:00:04 +0000 (20:00 -0500)]
qemu: QEMU fix libtool usage

QEMU uses the environment variable LIBTOOL by default.  We want to ensure
we set it to the proper libtool version, instead of letting it default to
the host system version.

This corrects target building, and ensures we're linking properly for
native and nativesdk versions.

(From OE-Core rev: b91d65fc78c18948ed4ec96f34b85c431dbc3d95)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoncurses: add xterm-256color to terminfo-base
Saul Wold [Fri, 12 Jul 2013 00:57:14 +0000 (17:57 -0700)]
ncurses: add xterm-256color to terminfo-base

This is to address the buildtools-tarball still having problems with certain
xterms

[YOCTO #4835]

(From OE-Core rev: b367466287e6b1793c38afce6a9524130c48cf86)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopciutils: Add kmod dependency
Saul Wold [Tue, 9 Jul 2013 19:39:43 +0000 (12:39 -0700)]
pciutils: Add kmod dependency

pciutils now uses libkmod to look up kernel module info.

[YOCTO #4821]

(From OE-Core rev: f6643c08c11fa8ff72172b76eb6dde2853971351)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboost: backport glibc patch for new eglibc
Saul Wold [Thu, 11 Jul 2013 20:06:07 +0000 (13:06 -0700)]
boost: backport glibc patch for new eglibc

The newer eglibc removed a macro that was being checked by the boost
code, this patch replaces that.

(From OE-Core rev: 0115604c5b2fa649f27d734e8ae3b730d1e374ea)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: upgrade to 1.6.10
Cristian Iorga [Thu, 11 Jul 2013 12:41:43 +0000 (15:41 +0300)]
dbus: upgrade to 1.6.10

dbus-ptest also upgraded to 1.6.10
systemd-address.patch removed; included in upstream.

(From OE-Core rev: e516f18d663447954082b5d2df6c1033cb9b4e65)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoethtool: add ptest
Gabriel Barbu [Thu, 11 Jul 2013 13:28:08 +0000 (15:28 +0200)]
ethtool: add ptest

Install ethtool test and run it as a ptest.

(From OE-Core rev: 6b70373923909a05bb4d99beb8105c732ee0b2de)

Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxdg-utils: upgrade to 1.1.0-rc1
Cristian Iorga [Thu, 11 Jul 2013 12:51:50 +0000 (15:51 +0300)]
xdg-utils: upgrade to 1.1.0-rc1

This version of xdg-utils is needed by BA in order
to associate correctly types of files with PCManFM
file manager.
The release cycle of xdg-utils is very slow, so this
is the best shot of a stable version available for
YP 1.5 release.
As a reference, the previous stable version was released in 2007.
Also, desktop Linux distros use this release candidate as a stable
version, for example, Ubuntu 12.04.

Part of the implementation of [YOCTO #2370].

(From OE-Core rev: 494a3c3c4904be64f3b9d8187063767e9b5d68fe)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-x11-free: fix post-processing of QtWebKit.pc
Andreas Oberritter [Thu, 11 Jul 2013 01:04:17 +0000 (03:04 +0200)]
qt4-x11-free: fix post-processing of QtWebKit.pc

Previously it worked for qt4-embedded only. qt4-x11-free has X11
libs between -lwebcore and -ljscore.

(From OE-Core rev: 5110f3894902db6e9a35cce40b91943b3b2ee237)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonss: fix incorrect shebang line of perl script
Hongxu Jia [Thu, 11 Jul 2013 11:57:17 +0000 (19:57 +0800)]
nss: fix incorrect shebang line of perl script

Replace incorrect shebang line with `#!/usr/bin/env perl'.

(From OE-Core rev: d78ecdbd66d8d93ecf67f56cfbbf4b954dec3c7b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonss: create checksum files for the nss libraries
Hongxu Jia [Wed, 10 Jul 2013 07:54:17 +0000 (15:54 +0800)]
nss: create checksum files for the nss libraries

Add checksum files required for the NSS softoken to operate in FIPS 140 mode.
The shlibsign is invoked to sign the libraries, and it is built for the target
architecture and doesn't support cross-compiling so far.

Invoke shlibsign at target's first boot time to generate checksum files.

https://developer.mozilla.org/en-US/docs/NSS/NSS_Tech_Notes/nss_tech_note6
http://en.wikipedia.org/wiki/FIPS_140
https://bugzilla.mozilla.org/show_bug.cgi?id=681624

(From OE-Core rev: a4580f967c8064294a06d406acf5deb24aee2acc)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonss: add version 3.15.1
Hongxu Jia [Wed, 10 Jul 2013 07:52:42 +0000 (15:52 +0800)]
nss: add version 3.15.1

Network Security Services (NSS) is a set of libraries designed to support
cross-platform development of security-enabled client and server applications.
Applications built with NSS can support SSL v2 and v3, TLS, PKCS 5, PKCS 7,
PKCS 11, PKCS 12, S/MIME, X.509 v3 certificates, and other security standards.

[YOCTO #4096]

(From OE-Core rev: 22c146fd3e829b89c07a2019005e180e93fece5d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-lsb: add nss for LSB library check
Hongxu Jia [Wed, 10 Jul 2013 07:27:27 +0000 (15:27 +0800)]
packagegroup-core-lsb: add nss for LSB library check

Add nss for LSB library check.
...
Unable to find library libnss3.so
Unable to find library libssl3.so
...

[YOCTO 4096]

(From OE-Core rev: e845ba645299f0fd2f007b94b0004a36a607d945)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonspr: add native version
Hongxu Jia [Wed, 10 Jul 2013 07:26:07 +0000 (15:26 +0800)]
nspr: add native version

It is required by nss-native.

[YOCTO #4096]

(From OE-Core rev: a0a1c4137bb53616bacb84b5cf5d5f7690e82bb9)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-state: Provide an empty asound.conf by default
Darren Hart [Tue, 9 Jul 2013 22:15:28 +0000 (15:15 -0700)]
alsa-state: Provide an empty asound.conf by default

An empty asound.conf should work for most cases. The existing asound.conf
uses plug dmix which causes arecord to fail without a special -D device
specification on the command line (as no capture device is defined).

Clear asound.conf for the default case. Any needed changes should be
made in the BSP layers.

(From OE-Core rev: 736b0da53b3b38224ae3cb6f0ebd21da7fb04f4d)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopowertop: fix update-alternatives link
Sergey Matyukevich [Tue, 9 Jul 2013 13:47:22 +0000 (17:47 +0400)]
powertop: fix update-alternatives link

In the new stable busybox_1.21.1 default location of symbolic link for
powertop has been changed: /usr/sbin instead of /bin. This update breaks
creation of alternative links when both busybox and powertop packages are
installed on the system.

Fix: modification of ALTERNATIVE_LINK_NAME in powertop recipe.

(From OE-Core rev: d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b)

Signed-off-by: Sergey Matyukevich <sergey_matyukevich@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorxvt-unicode: Check existence of acinclude.m4
Radu Moisan [Thu, 11 Jul 2013 12:47:45 +0000 (12:47 +0000)]
rxvt-unicode: Check existence of acinclude.m4

copy should only happen if acinclude.m4 doesn't exist

(From OE-Core rev: f3f892cba2d4f23d6b994b907ce06badd5ad2f0c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl-1.0: make building cogl-pango optional
Andreas Oberritter [Thu, 11 Jul 2013 00:56:36 +0000 (00:56 +0000)]
cogl-1.0: make building cogl-pango optional

Add a 'cogl-pango' PACKAGECONFIG option and enable it by default.

(From OE-Core rev: 767a2893f6cbc7d48619086970b8ed6262a883e7)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl-1.0: put each library into its own package
Andreas Oberritter [Thu, 11 Jul 2013 00:56:35 +0000 (00:56 +0000)]
cogl-1.0: put each library into its own package

This allows to install cogl-gles2 and cogl-pango only when needed and
enables Debian package renaming. This stops cogl-pango from dragging
in unwanted runtime dependencies, if cogl-pango isn't used.

(From OE-Core rev: bcccb87a3213f5315f52fb18610b7e9dab510a7e)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: remove xx.spec before doing rpmbuild xx.src.rpm
Bian Naimeng [Tue, 9 Jul 2013 08:27:43 +0000 (08:27 +0000)]
package_rpm.bbclass: remove xx.spec before doing rpmbuild xx.src.rpm

If the spec file already exist, and has not been stored into pseudo's files.db,
it maybe cause rpmbuild src.rpm fail, so remove it before doing rpmbuild src.rpm.

(From OE-Core rev: 760af902a98b350a2f1f3203fa0096965924a83d)

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibogg: upgrade to 1.3.1
Cristian Iorga [Wed, 10 Jul 2013 13:11:28 +0000 (13:11 +0000)]
libogg: upgrade to 1.3.1

- obsolete_automake_macros.patch no longer needed; removed;
already integrated in upstream;
- switched to tar.xz archive format.

(From OE-Core rev: 04568c35c989f0b28769d3b00ee902cb3a6ef2bc)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboot-directdisk: allow specifying custom MBR disk signature
Jonathan Liu [Wed, 10 Jul 2013 03:19:45 +0000 (03:19 +0000)]
boot-directdisk: allow specifying custom MBR disk signature

This introduces a DISK_SIGNATURE variable that allows controlling the
32-bit MBR disk signature. By default it is set to an automatically
generated disk signature but it may by overridden in the image recipe
by setting DISK_SIGNATURE to a 8 digit hex string.

This DISK_SIGNATURE variable can also be used in the image recipe to
specify the root by UUID using:
SYSLINUX_ROOT = "root=PARTUUID=${DISK_SIGNATURE}-02"

Specifying the root by UUID allows the kernel to locate the root
filesystem even if the device name changes (e.g. /dev/hda2, /dev/hdb2 or
/dev/sdb2 instead of /dev/sda2) due to differences in hardware
configuration.

(From OE-Core rev: 4382a419b4c90312d22aa55ff535b45bcf704716)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Acked-by: Darren hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-tools-profile: exclude systemtap and valgrind for mips64
Kang Kai [Thu, 11 Jul 2013 02:48:58 +0000 (02:48 +0000)]
packagegroup-core-tools-profile: exclude systemtap and valgrind for mips64

systemap and valgrind are not buildable for mips64, so exclude them for
mips64 from packagegroup-core-tools-profile.

(From OE-Core rev: fbc198113548783e326eebbb6b28b181528e900f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: extend packageconfig and dependencies
Andreas Oberritter [Thu, 11 Jul 2013 01:05:13 +0000 (01:05 +0000)]
xserver-xorg: extend packageconfig and dependencies

- split glx into dri, dri2 and glx, to be able to select e.g. dri2 only
- update dependencies to match configure.ac

(From OE-Core rev: 408766da9cc1f2ca80d0b3f13575fea8f33cab3e)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodiffutils: Upgrade to v3.3
Radu Moisan [Wed, 10 Jul 2013 12:24:12 +0000 (12:24 +0000)]
diffutils: Upgrade to v3.3

(From OE-Core rev: 071c9bbf3103b73ea898442b284fa42f2b3b4268)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiputils: Upgrade to v20121221
Radu Moisan [Wed, 10 Jul 2013 12:24:11 +0000 (12:24 +0000)]
iputils: Upgrade to v20121221

Removed obsolete patches
Header for arping changed. New author added.
Capability support enabled by default(upstream) -> added libcap to DEPENDS
Gnutls enabled by default(upstream) -> switched from openssl to gnutls

(From OE-Core rev: 52ca4ac9f3af16fe99b28eaeaff8bb52f86eb24c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: remove pango-module-basic-x RRECOMMENDS
Roy.Li [Tue, 9 Jul 2013 02:33:59 +0000 (02:33 +0000)]
pango: remove pango-module-basic-x RRECOMMENDS

pango-module-basic-x has been removed from pango-1.31.0 and we're using
pango-1.32.5, so we should not refer pango-module-basic-x.
    Commit 194b6ee552318ec6c494f34ed9f0979d0460fe4f
    Author: Behdad Esfahbod <behdad@behdad.org>
    Date:   Thu Aug 16 21:48:50 2012 -0400

        Remove PangoX

        Been overdue...

(From OE-Core rev: a609771a7dc8a102f080d31526e795705154e514)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosecurity_flags: Add addition recipes to the non pie list
Saul Wold [Mon, 8 Jul 2013 18:50:18 +0000 (11:50 -0700)]
security_flags: Add addition recipes to the non pie list

Create a local SECURITY_NO_PIE_CFLAGS to cover the recipes that have
issues with with pic and pie cflags set.

(From OE-Core rev: 4f5009dcbbeb27bdf5dcaebb3b457fecef410ebe)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokconfig-frontends: Update to 3.10
Saul Wold [Tue, 9 Jul 2013 00:24:29 +0000 (17:24 -0700)]
kconfig-frontends: Update to 3.10

Rename recipe to match upstream tarball name which requires a fix the the SOLIBS numbering

(From OE-Core rev: cd749a50eb7dcdb735b5f7bd8b7e15f709e0a38e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzcode-native: Update to 2013d
Saul Wold [Tue, 9 Jul 2013 00:22:47 +0000 (17:22 -0700)]
tzcode-native: Update to 2013d

(From OE-Core rev: 54ee014d1e595ebac12afeebb350ba32af3e25e9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocmake: Update to 2.8.11.2
Saul Wold [Tue, 9 Jul 2013 00:19:59 +0000 (17:19 -0700)]
cmake: Update to 2.8.11.2

(From OE-Core rev: 3a709c2d189a0fccf04ee0fabd21975d6886e734)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman-pages: Update to 3.52
Saul Wold [Tue, 9 Jul 2013 00:19:05 +0000 (17:19 -0700)]
man-pages: Update to 3.52

(From OE-Core rev: 2841df9166351ecb0ee72a7312304087309bbab3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Use PACKAGECONFIG to control pam and system config options
Saul Wold [Fri, 5 Jul 2013 19:24:02 +0000 (12:24 -0700)]
util-linux: Use PACKAGECONFIG to control pam and system config options

The PACKAGECONFIG will ensure consistent enabling and disabling of the pam and systemd related
options for configure and the correct dependencies

(From OE-Core rev: 7cde7c639c53724327d981cbc0db5e123607de1c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: add -march=i486 into CFLAGS automatically when needed.
Jackie Huang [Mon, 8 Jul 2013 02:45:09 +0000 (10:45 +0800)]
glib-2.0: add -march=i486 into CFLAGS automatically when needed.

glib configure will check if current gcc need -march=i486,
when gcc need -march=i486 but CFLAGS don't have,
glib configure will abort and advise the user to add -march=i486.
This will break the build process,it's not good for automatic build system.
so change this to adding -march=i486 automatically when it is needed.

(From OE-Core rev: fdd523e5a14cacf31dce4dae435267e30dff9222)

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_deb.bbclass: make DESCRIPTION support newline
Robert Yang [Wed, 19 Jun 2013 05:25:38 +0000 (01:25 -0400)]
package_deb.bbclass: make DESCRIPTION support newline

The recipe's DESCRIPTION is wrapped automatically by textwrap, make it
support newline ("\n") to let the user can wrap it manually, e.g.:

DESCRIPTION = "Foo1\nFoo2"

In the past, it would be:
Foo1\nFoo2

Now:
Foo1
Foo2

[YOCTO #4348]

(From OE-Core rev: 568e303ef4447a9ddb7fb6370166d012a4375dab)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_ipk.bbclass: make DESCRIPTION support newline
Robert Yang [Wed, 19 Jun 2013 05:25:38 +0000 (01:25 -0400)]
package_ipk.bbclass: make DESCRIPTION support newline

The recipe's DESCRIPTION is wrapped automatically by textwrap, make it
support newline ("\n") to let the user can wrap it manually, e.g.:

DESCRIPTION = "Foo1\nFoo2"

In the past, it would be:
Foo1\nFoo2

Now:
Foo1
Foo2

[YOCTO #4348]

(From OE-Core rev: dff04de2de8bb159fd6912e29794eadd75d5d92a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: make DESCRIPTION support newline
Robert Yang [Wed, 19 Jun 2013 05:25:38 +0000 (01:25 -0400)]
package_rpm.bbclass: make DESCRIPTION support newline

The recipe's DESCRIPTION is wrapped automatically by textwrap, make it
support newline ("\n") to let the user can wrap it manually, e.g.:

DESCRIPTION = "Foo1\nFoo2"

In the past, it would be:
Foo1\nFoo2

Now:
Foo1
Foo2

[YOCTO #4348]

(From OE-Core rev: 503b6370080fcbcd99305eac846c6dfbdd07c5df)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: Update 2.18 recipes to fix ppc/e500 failures
Khem Raj [Sat, 6 Jul 2013 15:00:10 +0000 (08:00 -0700)]
eglibc: Update 2.18 recipes to fix ppc/e500 failures

This should fix the e500 errors due to bounded pointers removal

(From OE-Core rev: c7b10e33365f0c445d0aa1a6aad8e612cdc391e1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: add upstream QTBUG-31579 patch to fix polyline drawing regression
Jonathan Liu [Sat, 6 Jul 2013 01:51:42 +0000 (11:51 +1000)]
qt4: add upstream QTBUG-31579 patch to fix polyline drawing regression

(From OE-Core rev: 9cec5833bd1a19794a0d7d77c2412d451dc30dc8)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: drop unexplainable elfutils dependency
Ross Burton [Thu, 4 Jul 2013 15:36:34 +0000 (16:36 +0100)]
pango: drop unexplainable elfutils dependency

In dafefa7bd4de518adb63ec19390b77a56cb65d8e elfutils was added as a
build-dependency of Pango.  However there is no such linkage inside Pango, and
it builds fine without elfutils.

(From OE-Core rev: 48051f19a1df55ffdf72f90e331e31d9ccc76b3e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtkdoc: set the default docdir to ${S}, not ${B}
Ross Burton [Thu, 4 Jul 2013 14:37:50 +0000 (15:37 +0100)]
gtkdoc: set the default docdir to ${S}, not ${B}

Previously these directories were the same location, but with
seperatebuilddir.inc they are not and putting the file into ${B} means it goes
to the wrong place for autoreconf.

(From OE-Core rev: 6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxml2: Add ptest
Mihaela Sendrea [Thu, 4 Jul 2013 14:23:43 +0000 (16:23 +0200)]
libxml2: Add ptest

Install libxml2 test suite and run it as ptest.

(From OE-Core rev: 22cf4cc85fbe21a53ca4684b0b06b9af20b2ecc5)

Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: allow $OECORE_NATIVE_SYSROOT in sdk_env_script
Bernhard Guillon [Thu, 4 Jul 2013 09:16:30 +0000 (11:16 +0200)]
populate_sdk_base.bbclass: allow $OECORE_NATIVE_SYSROOT in sdk_env_script

Only grep for 'OECORE_NATIVE_SYSROOT=' otherwise things like

toolchain_create_sdk_env_script_append() {
    echo 'export MY_DIR_FOO=$OECORE_NATIVE_SYSROOT/my/dir/foo' >> $script
}

trigger the following error while executing the install script:

find: `$OECORE_NATIVE_SYSROOT/my/dir/foo': No such file or directory

(From OE-Core rev: d084c31720f9c13a71c5981f4eda21e18ba2350f)

Signed-off-by: Bernhard Guillon <Bernhard.Guillon@hale.at>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocmake: fix configure error if system Qt installation is broken
Paul Eggleton [Thu, 4 Jul 2013 11:26:04 +0000 (12:26 +0100)]
cmake: fix configure error if system Qt installation is broken

If the host Qt installation exists but is incomplete or the installed
qmake architecture doesn't match that of the Qt libraries, cmake was
failing at do_configure. cmake 2.8.10 failed silently here so we should
make 2.8.11 do the same.

Fixes [YOCTO #4565].

(From OE-Core rev: 2bf46fbd25e1a3a44d556758f536fa26c44edb03)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: add dmesg file to /var/log
Jackie Huang [Thu, 4 Jul 2013 10:06:21 +0000 (18:06 +0800)]
initscripts: add dmesg file to /var/log

We should create the /var/log/dmesg.log file as a default.
If we don't then a later kernel error can flush the dmesg
ring buffer, losing valuable debug information.

(From OE-Core rev: faa8cc6c2a582a32c695f3f2b0d45b6892c769fd)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: overwrite default hostname.sh
Jackie Huang [Thu, 4 Jul 2013 09:23:11 +0000 (17:23 +0800)]
initscripts: overwrite default hostname.sh

/etc/init.d/hostname.sh does not have a graceful fallback if the
/etc/hostname file doesn't exist. Other systems such as Ubuntu and RH
will either leave the hostname in place, if a proper hostname is
already set, otherwise it will set the hostname to 'localhost' when
the /etc/hostname files doesn't exist.

As you can see we have to add some additional handling to provide this
behavior when the system's hostname command doesn't take the '-b'
option.

(From OE-Core rev: 09e59f1dad9fb52adb1717840837e42a36a6c7a1)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies
Ting Liu [Thu, 4 Jul 2013 01:59:37 +0000 (09:59 +0800)]
qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies

Move to using the PACKAGECONFIG mechanism to select configure options
and dependencies. Without this the system will attempt to discover
various dependencies, and sometimes does so incorrectly.

(From OE-Core rev: 8438bbe210de6f565f842d745ccede131fa385db)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils
Martin Jansa [Fri, 5 Jul 2013 01:17:51 +0000 (03:17 +0200)]
eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils

* eglibc-collateral.inc inhibits all default deps, but do_package needs
  objcopy:
  ERROR: objcopy failed with exit code 127 (cmd was
  'i586-webos-linux-objcopy' --only-keep-debug
  'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so'
  'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so')
  ERROR: Function failed: split_and_strip_files

(From OE-Core rev: 9e615e2a6845d3a98f5d9b0cb555d132c696fc92)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemtap: inherit pkgconfig
Martin Jansa [Fri, 5 Jul 2013 01:05:22 +0000 (03:05 +0200)]
systemtap: inherit pkgconfig

* systemtap-native was failing with undefined AC_DEFINE
  configure.ac:56: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

(From OE-Core rev: 8026d9f84c6af3996ada906d39ff1e7a986a9b5a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: inherit pkgconfig
Martin Jansa [Fri, 5 Jul 2013 00:49:54 +0000 (02:49 +0200)]
libpam: inherit pkgconfig

* missing dependency on pkgconfig-native was causing
  that PKG_CHECK_MODULES(DBUS, dbus-1) stayed unexpanded in
  configure script:
  checking for dbm_store in -lndbm... no
  libpam/1.1.6-r2/Linux-PAM-1.1.6/configure:
  line 14217: syntax error near unexpected token `libtirpc,'
  libpam/1.1.6-r2/Linux-PAM-1.1.6/configure:
  line 14217: `      PKG_CHECK_MODULES(libtirpc, libtirpc,'
  Configure failed. The contents of all config.log files follows to aid
  debugging

(From OE-Core rev: d8d230a164b4e98dbb3a9e6d9bb567c2aabee7f9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoquota: inherit pkgconfig
Martin Jansa [Fri, 5 Jul 2013 00:43:17 +0000 (02:43 +0200)]
quota: inherit pkgconfig

* missing dependency on pkgconfig-native was causing
  that PKG_CHECK_MODULES(DBUS, dbus-1) stayed unexpanded in
  configure script:
  checking for ext2fs_initialize in -lext2fs... yes
  quota/4.01-r1/quota-tools/configure: line 3746: syntax error near unexpected token `DBUS,'
  quota/4.01-r1/quota-tools/configure: line 3746: `        PKG_CHECK_MODULES(DBUS, dbus-1)'
  Configure failed. The contents of all config.log files follows to aid debugging

(From OE-Core rev: 933df6f9cc309cfb5d63401c5b6cf8d4432a1b1a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotaglib: add missing dependency on zlib
Martin Jansa [Thu, 4 Jul 2013 08:14:48 +0000 (10:14 +0200)]
taglib: add missing dependency on zlib

* without target zlib it tries to use native one:
 | /OE/sysroots/x86_64-linux/usr/lib/libz.so: could not read symbols: File in wrong format
 | collect2: error: ld returned 1 exit status
 | make[2]: *** [taglib/libtag.so.1.12.0] Error 1

(From OE-Core rev: 663564d14b09073765e2c4657f1e6c94dab6a365)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-base: add missing dependency on glib-2.0-native
Martin Jansa [Thu, 4 Jul 2013 08:03:54 +0000 (10:03 +0200)]
gst-plugins-base: add missing dependency on glib-2.0-native

* glib-genmarshal is needed during do_compile:
  | /bin/bash: line 1: glib-genmarshal: command not found

(From OE-Core rev: 50fdebe819e4d51bc8ba011a0d4a090a8ded64b8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-bad: inherit gsettings
Martin Jansa [Thu, 4 Jul 2013 08:01:24 +0000 (10:01 +0200)]
gst-plugins-bad: inherit gsettings

* do_configure fails without native glib-compile-schemas:
  | checking for glib-compile-schemas... no
  | configure: error: glib-compile-schemas not found.

(From OE-Core rev: c8ba0ab9ba2a13eab3fdc6aed148c5ee3b53e253)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years ago(lib)telepathy*: add missing dependency on libxslt-native
Martin Jansa [Thu, 4 Jul 2013 07:41:04 +0000 (09:41 +0200)]
(lib)telepathy*: add missing dependency on libxslt-native

* do_configure fails without:
  | configure:13590: error: xsltproc (from the libxslt source package) is required

(From OE-Core rev: fe84f0b28ce49300d9744532fa011ab1678fbb70)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agousbutils: Upgrade to v007
Radu Moisan [Tue, 2 Jul 2013 15:21:57 +0000 (18:21 +0300)]
usbutils: Upgrade to v007

(From OE-Core rev: eb6bd747e7ab929bd5f134cb1950f29f418cf9f1)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapr-util: Upgrade to v1.5.2
Radu Moisan [Tue, 2 Jul 2013 14:51:53 +0000 (17:51 +0300)]
apr-util: Upgrade to v1.5.2

(From OE-Core rev: 6e329a8fc96eabf43c62b44ea7b082068e633ab7)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapr: Upgrade to v1.4.8
Radu Moisan [Tue, 2 Jul 2013 14:46:25 +0000 (17:46 +0300)]
apr: Upgrade to v1.4.8

(From OE-Core rev: 54f6893c1bcdd925368c46db06aa579c13da6a10)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibdmx: Upgrade to v1.1.3
Radu Moisan [Tue, 2 Jul 2013 14:23:50 +0000 (17:23 +0300)]
libdmx: Upgrade to v1.1.3

(From OE-Core rev: f1ec5f3111441a15bde6a8be171f18600ca70b5c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoed: Upgrade to v1.8
Radu Moisan [Fri, 21 Jun 2013 10:24:25 +0000 (13:24 +0300)]
ed: Upgrade to v1.8

License files chenged but not the license type

(From OE-Core rev: 10fb74abc7a34ff47b7e9abd210836b612ff75d3)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorxvt-unicode: Upgrade to v9.18
Radu Moisan [Wed, 19 Jun 2013 13:09:55 +0000 (16:09 +0300)]
rxvt-unicode: Upgrade to v9.18

do_configure was initially failing because could not stat aclocal.m4,
prepended ${S} so that it could find the file, however I don't know
the reasoning for do_configure_prepend in this recipe, it also builds
fine without it

(From OE-Core rev: 14b6be6f3f1658fa901ee6b124be54adef7e3576)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoelfutils: Upgrade to v0.155
Radu Moisan [Wed, 19 Jun 2013 09:12:09 +0000 (12:12 +0300)]
elfutils: Upgrade to v0.155

*license changed to GPLv3
*several patches were absolete so I removed them
*redhat-portability & redhat-robustify backported from
 latest elfutils-portability & elfutils-robustify from
 upstream

(From OE-Core rev: 6edbaf14f875b7759672e8d118c59a01dbdeb853)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoshutdown-desktop: give entire path in Exec field
Laurentiu Palcu [Wed, 3 Jul 2013 14:16:46 +0000 (17:16 +0300)]
shutdown-desktop: give entire path in Exec field

A normal user does not have /sbin in its PATH, by default, so having the
entire path here allows the correct execution when run as regular user.

[YOCTO #4345]

(From OE-Core rev: 8507335951dc5fb10ae40dc7f6850608c703ecc3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-nodm-init: remove xuser creation, RDEPEND on xuser-account
Laurentiu Palcu [Wed, 3 Jul 2013 14:14:47 +0000 (17:14 +0300)]
xserver-nodm-init: remove xuser creation, RDEPEND on xuser-account

[YOCTO #4345]

(From OE-Core rev: 8536c410c54956027807e80f37586fb1f4d29af9)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: remove xuser creation, RDEPEND on xuser-account
Laurentiu Palcu [Wed, 3 Jul 2013 14:11:38 +0000 (17:11 +0300)]
connman: remove xuser creation, RDEPEND on xuser-account

[YOCTO #4345]

(From OE-Core rev: c10d89b201c3854eaa1f1387a8ad684f57b84174)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxuser-account: create separate recipe for xuser creation
Laurentiu Palcu [Thu, 4 Jul 2013 10:11:24 +0000 (13:11 +0300)]
xuser-account: create separate recipe for xuser creation

(From OE-Core rev: 3c4420e55e8ba3859fd5396636bdbce149416249)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysvinit: allow users in shutdown group to perform halt/reboot
Laurentiu Palcu [Wed, 3 Jul 2013 14:02:49 +0000 (17:02 +0300)]
sysvinit: allow users in shutdown group to perform halt/reboot

For this to happen:
 * 'shutdown' group has been created;
 * changed ownership group for /sbin/halt and /sbin/shutdown to 'shutdown';
 * deny execution rights to other users except 'root' and those belonging
   to 'shutdown' group;
 * set setuid bit to both apps;

So, basically, in order for a normal user to be able to shutdown/reboot
the machine, it must be a member of 'shutdown' group.

Other changes:
 * fixed identation for 2 lines that used spaces instead of tabs;

[YOCTO #4345]

(From OE-Core rev: b32d06fbe797cd39cc19f62bda8a698effe7c0ea)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-basic: remove libpam
Saul Wold [Fri, 5 Jul 2013 19:06:30 +0000 (12:06 -0700)]
packagegroup-core-basic: remove libpam

It is a dependency of shadow and other PAM related recipes and will be
built when the pam DISTRO_FEATURE is enabled.

(From OE-Core rev: a57e4253c5e7d32702e32df5ec3ad007075a199f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: update to v3.4.52
Bruce Ashfield [Sun, 7 Jul 2013 02:07:06 +0000 (22:07 -0400)]
linux-yocto/3.4: update to v3.4.52

Updating the 3.4 kernel to the latest korg -stable release.

(From OE-Core rev: 5f5cd51eeb93a51b8cad42165b0535e764a01bbf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoethtool: Updated from 3.9 to 3.10
Ionut Radu [Fri, 5 Jul 2013 07:10:27 +0000 (07:10 +0000)]
ethtool: Updated from 3.9 to 3.10

(From OE-Core rev: e7afa4777c61c0140b1dde4c7a2ff32c32954c6e)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxv: Updated from 1.0.8 to 1.0.9
Ionut Radu [Fri, 5 Jul 2013 07:10:25 +0000 (07:10 +0000)]
libxv: Updated from 1.0.8 to 1.0.9

(From OE-Core rev: 07ab18203ac5d6cfb42bb37332e6b6d7eb70e624)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxrender: Updated from 0.9.7 to 0.9.8
Ionut Radu [Fri, 5 Jul 2013 07:10:24 +0000 (07:10 +0000)]
libxrender: Updated from 0.9.7 to 0.9.8

(From OE-Core rev: 104d7b6f28827ce8fa9c9689a9371e3a807650f6)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>