scm/bb/tizen-distro.git
10 years agosstatesig: include native/cross/nativesdk deps in target signatures
Martin Jansa [Sat, 18 Jan 2014 14:02:39 +0000 (15:02 +0100)]
sstatesig: include native/cross/nativesdk deps in target signatures

* I don't have any real evidence or good statistics for this, but when
  comparing signature dumps from my big bitbake world builds I usually
  see a lot of rebuilds caused by changes in .bbclasses and only very
  rare would be the case where oe-core upgrade brings changes in -native
  recipes and no change in .bbclasses used from target recipes
* changing the default to include them shouldn't cause significant
  increase in rebuilds and sstate reuse a bit safer
* people working on toolchain (e.g. using gcc from AUTOREV) can easily
  extend sstate_rundepfilter to ignore them again (it's easier than
  removing existing filter), example how add own signature handler in
  your layer is here:
  https://github.com/openwebos/meta-webos/commit/9ac3a7c803e7793b3274e4998f167b6278db8042

(From OE-Core rev: 336a7897e39b9e42dcfcba9e2520ea96b0c6a8d6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-utils: Remove strange PACKAGES native override
Richard Purdie [Fri, 17 Jan 2014 11:41:06 +0000 (11:41 +0000)]
opkg-utils: Remove strange PACKAGES native override

This code makes no sense, native.bbclass clears PACKAGES anyway. Drop
it.

(From OE-Core rev: 9c8d9781794ed0886a79c8ce4544ba98be0ff858)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-utils: Add basic PACKAGECONFIG for python dependencies
Richard Purdie [Fri, 17 Jan 2014 11:39:40 +0000 (11:39 +0000)]
opkg-utils: Add basic PACKAGECONFIG for python dependencies

In small configurations its useful not to have python dependencies. This
patch adds code to disable those using PACKAGECONFIG. This allows us to
fix poky-tiny after the recent move of update-alternatives to opkg-utils.

(From OE-Core rev: 0c0039048fd97cdd3cf28f9e1c829a716dfd68ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: add explicit build dependency on DBus when ptest is enabled
Ross Burton [Fri, 17 Jan 2014 11:09:32 +0000 (11:09 +0000)]
glib-2.0: add explicit build dependency on DBus when ptest is enabled

If the tests are enabled then configure will check for the presence DBus.  It's
generally present through the runtime dependencies so this often succeeds but as
it isn't a build dependency it's possible for DBus to be present at configure
time but removed at compile time, resulting in build failures.

(From OE-Core rev: 0150e86a7609579cf26f5ef5c6c69b521340218e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: Patch sstate tests to work with new sstate-cache naming and content
Corneliu Stoicescu [Fri, 17 Jan 2014 11:23:29 +0000 (12:23 +0100)]
oe-selftest: Patch sstate tests to work with new sstate-cache naming and content

Made modifications to account for:
- .siginfo files present in sstate-cache from non sstate-enabled tasks
- new naming format for sstate files

(From OE-Core rev: d23ad4255ad7465383286fa7805392aa70845ace)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcl: fix the TCL_INCLUDE_SPEC
Robert Yang [Fri, 17 Jan 2014 09:16:51 +0000 (17:16 +0800)]
tcl: fix the TCL_INCLUDE_SPEC

We have moved the header files to ${includedir}/tcl${VERSION}, but we
didn't fix the TCL_INCLUDE_SPEC which is still ${includedir}, it should
also be ${includedir}/tcl${VERSION}

Note: this commit modifiey alter-includedir.patch, so it doesn't look
very clear, I only fixed one line in both configure and configure.in:

-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""

The other changes are because I use git to create the patch while the
previous one uses svn.

[YOCTO #5732]

(From OE-Core rev: a263281d9c774a03cce76caa3cc477cc85a9c2a9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg/opkg-utils/chkconfig: Clean up u-a-cworth references
Richard Purdie [Fri, 17 Jan 2014 10:25:53 +0000 (10:25 +0000)]
opkg/opkg-utils/chkconfig: Clean up u-a-cworth references

Catch some u-a-cworth references that slipped through the move of u-a
to opkg-utils and its rename to -opkg.

(From OE-Core rev: a9ff0bbac5ae0688525c71f0a358f0750a277269)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-alternatives: We now use u-a in nativesdk so make sure the dependency is present
Richard Purdie [Fri, 17 Jan 2014 10:25:18 +0000 (10:25 +0000)]
update-alternatives: We now use u-a in nativesdk so make sure the dependency is present

When update-alternatives was part of opkg which got built in most nativesdk
scenarios, this missing dependency wasn't an issue. We now need nativesdk-opkg-utils
so we need to ensure the dependency is present in nativesdk cases.

This avoids build failures with the recent u-a move to opkg-utils.

(From OE-Core rev: 7e0adf676da45e49287b7ce6478a6dbfd8fa117f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto-dev: bump version to 3.13+
Bruce Ashfield [Thu, 16 Jan 2014 21:55:48 +0000 (16:55 -0500)]
linux-yocto-dev: bump version to 3.13+

(From OE-Core rev: 0e0307a23d50b2a0efd228e7e99baabc980ab9de)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa: allow a layer to provide it's own TEST_TARGET class
Stefan Stanacar [Thu, 16 Jan 2014 12:48:59 +0000 (14:48 +0200)]
lib/oeqa: allow a layer to provide it's own TEST_TARGET class

Allows a layer to define new classes in <layer>/lib/oeqa/utils/controllers.py
and completely control or extend deployment of a target. (core currently
has QemuTarget and SimpleRemoteTarget).
The value of TEST_TARGET must be the name of the new class.

(From OE-Core rev: 9b81aff0aca42353d448b1e9522f89842e23c7b2)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox11vnc: fix CAPS_LOCK issues
Laurentiu Palcu [Thu, 16 Jan 2014 14:25:08 +0000 (16:25 +0200)]
x11vnc: fix CAPS_LOCK issues

Currently, pressing CAPS_LOCK on the viewer changes the lock state on
the server and the key will not change the case.

To fix this, use -skip_lockkeys option to ignore all Caps_Lock,
Shift_Lock, Num_Lock, Scroll_Lock keysyms received from viewers, in
order to leave the lock state on the server side unchanged. However, the
keys will appear correctly on the remote side.

[YOCTO #4149]

(From OE-Core rev: 1e06d5ce83439b5bd75a958f305e6a880d40333d)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: depend on drm for 'launch' packageconfig enabled
Andreas Müller [Thu, 16 Jan 2014 18:09:44 +0000 (19:09 +0100)]
weston: depend on drm for 'launch' packageconfig enabled

configure fails with:

| configure:15654: checking for WESTON_LAUNCH
| configure:15661: $PKG_CONFIG --exists --print-errors "libdrm"
| Package libdrm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libdrm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libdrm' found
| configure:15664: $? = 1
| configure:15678: $PKG_CONFIG --exists --print-errors "libdrm"
| Package libdrm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libdrm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libdrm' found
| configure:15681: $? = 1
| configure:15695: result: no
| No package 'libdrm' found
| configure:15711: error: Package requirements (libdrm) were not met:
|
| No package 'libdrm' found

and configure.ac says:

| if test x$enable_weston_launch == xyes; then
|  PKG_CHECK_MODULES(WESTON_LAUNCH, [libdrm])

(From OE-Core rev: 6d0625a5a2ddd34760b2f85366810f20ad4ea15e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: No longer PROVIDES update-alternatives
Paul Barker [Thu, 16 Jan 2014 17:59:26 +0000 (17:59 +0000)]
opkg: No longer PROVIDES update-alternatives

The new provider is the opkg-utils recipe.

(From OE-Core rev: c63d241d15608ac431a1d716ec84ef568928cf85)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodefault-providers: Change update-alternatives provider to opkg-utils
Paul Barker [Thu, 16 Jan 2014 17:59:25 +0000 (17:59 +0000)]
default-providers: Change update-alternatives provider to opkg-utils

This allows dependencies to be added to the opkg recipe without causing circular
dependency loops. As opkg-utils has minimal dependencies it is the best recipe
to provide update-alternatives.

This partially solves Yocto Project issue 4836. More work is still needed for a
complete solution.

(From OE-Core rev: 2f18289493f9c2c67ba343fb8e16743bf5dfee24)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-utils: Upgrade to latest git HEAD
Paul Barker [Thu, 16 Jan 2014 17:59:24 +0000 (17:59 +0000)]
opkg-utils: Upgrade to latest git HEAD

The latest version of opkg-utils PROVIDES virtual/update-alternatives via a
script copied from opkg, packaged as update-alternatives-opkg.

The nativesdk class is added to the recipe to ensure that
nativesdk-update-alternatives-opkg is built.

(From OE-Core rev: 1e2c38ce13f8e4b25d8656d237343380cbc970aa)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowpa-supplicant-2.0: don't exit in pkg_postinst
Alexandre Belloni [Thu, 16 Jan 2014 13:34:39 +0000 (14:34 +0100)]
wpa-supplicant-2.0: don't exit in pkg_postinst

Exiting explicitly in pkg_postinst makes it impossible to use the
update-rc.d class in a .bbappend because the link creation is appended
to the pkg_postinst script.

(From OE-Core rev: 758d53d3044f29f3c33ffee3ada88c9edc9f864f)

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: fix mapped file ptest
Ross Burton [Thu, 16 Jan 2014 13:31:39 +0000 (13:31 +0000)]
glib-2.0: fix mapped file ptest

The mappedfile ptest was attempting to write into directories that may not exist
on a non-Sato image.  Instead, write into TMPDIR.

(From OE-Core rev: 93b4ecc263947826421d5b4fb1f99fe506b24287)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: fix the dbus-appinfo test when running outside of X
Ross Burton [Thu, 16 Jan 2014 13:31:38 +0000 (13:31 +0000)]
glib-2.0: fix the dbus-appinfo test when running outside of X

This test was attempting to connect to a session bus and hanging if it couldn't.
Take a patch from upstream to correctly use a private bus.

[ YOCTO #5696 ]

(From OE-Core rev: 12e30b653899567312a7ec29b6e972c85ba8e25e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/__init__.py: let try_mirror_url return correct value
Robert Yang [Wed, 25 Dec 2013 16:01:26 +0000 (00:01 +0800)]
bitbake: fetch2/__init__.py: let try_mirror_url return correct value

The fetcher will try:

1) PREMIRROR
2) Upstream
3) MIRROR

If it fails to download from the Upstream, but succeeds from the MIRROR,
and ud.localpath != origud.localpath (for example, the git tarball),
then we will get the error (e.g.: xf86-video-omapfb):

ERROR: Function failed: Fetcher failure for URL: 'xxx'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /path/to/log.do_fetch.28024

It should not show the error and let the build go on since it succeeds.
(e.g.: xf86-video-omapfb)

[YOCTO #5686]

(Bitbake rev: c08ca1e4eeb04f78e1354780cf5a4c3855e49572)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: SignatureGenerator: Add empty implementation for dump_sigs
Martin Jansa [Fri, 17 Jan 2014 13:13:43 +0000 (14:13 +0100)]
bitbake: SignatureGenerator: Add empty implementation for dump_sigs

* bitbake -S throws exception when 'noop' signature handler is used

[YOCTO #5738]

(Bitbake rev: 53352e8d388b7fc4da73f95b93dcc087e76d0426)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/gitsm: Use ud.basecmd instead of hardcoding git
Richard Purdie [Fri, 17 Jan 2014 12:01:27 +0000 (12:01 +0000)]
bitbake: fetch2/gitsm: Use ud.basecmd instead of hardcoding git

This allows FETCHCMD_git to override the fetcher command as the git fetcher does.

[YOCTO #5717]

(Bitbake rev: 23ab943be3a33077d6ad8be68bba53cd1e2270b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Don't allow '/' in user:pass, fix branch containing '@'
Martin Jansa [Thu, 16 Jan 2014 14:55:19 +0000 (15:55 +0100)]
bitbake: fetch2: Don't allow '/' in user:pass, fix branch containing '@'

* currently decode_url regexp parses branch=@foo as username so it ends like this:
  - ('git', '', 'foo', 'git.openembedded.org/bitbake;branch=', '', {})
  + ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'})
* http://hg.python.org/cpython/file/2.7/Lib/urlparse.py also assumes
  that there is at least one '/' as separator between netloc and path,
  params, so it looks reasonable to prevent including '/' in username

(Bitbake rev: 2c82742114091cb55055328b54223686816582f2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: siggen: Remove fsync that is causing performance issues
Richard Purdie [Sat, 18 Jan 2014 23:23:02 +0000 (23:23 +0000)]
bitbake: siggen: Remove fsync that is causing performance issues

This fsync was added for belt and braces protection for things like sstate
on NFS. To be honest, it probably doesn't buy much, if the rename isn't
atomic, all bets are off anyway and there are bigger issues to worry about.

The issue is that at the end of every task, the dump_sig() code is triggered
to save out information about the task and this was triggering an fsync(fd).

Whilst it may select the file descriptor, on file systems like ext4, it will
require large parts of the journal to be written out so it can have
significant impact. latencytop showed an average fsync() call overhead of about
2s and if that happens for 5000 tasks, the time mounts up. This blocks the next
task execution by that time.

We therefore drop the fsync since in reality its causing problems and is unlikely
to buy much.

(Bitbake rev: 46fd841319479f6079d850b3813e64bd8c2680a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: separated the SStateBase and SStateTests in different modules
Corneliu Stoicescu [Tue, 14 Jan 2014 13:21:21 +0000 (14:21 +0100)]
oe-selftest: separated the SStateBase and SStateTests in different modules

- SStateBase now has its own module to be imported by itself by other modules like sstatetests.py

(From OE-Core rev: 8163854adf87ac42a8f08ee25685d0ce1efb4724)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: renamed sstate.py module to sstatetests.py
Corneliu Stoicescu [Tue, 14 Jan 2014 13:21:20 +0000 (14:21 +0100)]
oe-selftest: renamed sstate.py module to sstatetests.py

(From OE-Core rev: 91115cf06b009427a444abfd4cf0317ae5215c6b)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: New object SStateBase cut off from SStateTests.
Corneliu Stoicescu [Tue, 14 Jan 2014 13:21:19 +0000 (14:21 +0100)]
oe-selftest: New object SStateBase cut off from SStateTests.

- SStateBase object contains basic methods used to run sstate related tests
- SStateTests now contains only sstate-related tests

(From OE-Core rev: 78e929bbcdce1f9a544b230433b93f4fc1f841e2)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: add reset.1 manpage in update-alternatives
Matthieu Crapet [Tue, 14 Jan 2014 15:09:45 +0000 (16:09 +0100)]
util-linux: add reset.1 manpage in update-alternatives

Adding "doc-pkgs" to IMAGE_FEATURES (in an image recipe) reports a conflict with reset.1 file, present both in util-linux and ncurses-doc packages.

<log>
| Collected errors:
|  * check_data_file_clashes: Package util-linux-doc wants to install file /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/rootfs/usr/share/man/man1/reset.1
|       But that file is already provided by package  * ncurses-doc
|  * opkg_install_cmd: Cannot install package util-linux-doc.
| WARNING: /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/run.do_rootfs.13877:1 exit 255 from
|   opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version install `cat $1`
| ERROR: Function failed: do_rootfs (log file is located at /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/log.do_rootfs.13877)
</log>

Same issue already occured few months ago:
Re: [OE-core] Clashing man pages
https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg38590.html

(From OE-Core rev: 67499dbffd0f7241fd199b7fb94edfe2cebe8a9b)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitrdscripts: add $CMDLINE to init-live switch_root
Krzysztof Sywula [Wed, 15 Jan 2014 11:27:04 +0000 (11:27 +0000)]
initrdscripts: add $CMDLINE to init-live switch_root

init-live.sh: $CMDLINE variable should be provided to switch_root
to let user specify runlevel on grub command line.
Feeding with -c /dev/console as well as busybox switch_root enables that option.

(From OE-Core rev: 5a2f4feeaac4f9278fa0cf808c2f495f0c19324f)

Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm: Fix a race with package_deb/package_ipk
Richard Purdie [Wed, 15 Jan 2014 17:47:45 +0000 (17:47 +0000)]
package_rpm: Fix a race with package_deb/package_ipk

We have the odd situation where the CONTROL/DEBIAN directory can be removed
in the middle of the walk, the isdir() test would then fail and the walk code
would assume its a file hence we check for the names in files too.

This resolves the autobuilder failure:

error: File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN

RPM build errors:
     File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN

(From OE-Core rev: e38d7702be279d6d6d4c79b3f2379e689a7473d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: remove hard-coded /usr/include in dev package
Andrew McDermott [Wed, 15 Jan 2014 23:03:51 +0000 (23:03 +0000)]
alsa-lib: remove hard-coded /usr/include in dev package

Specify the location of the alsa headers using ${includedir}. Without
this no headers get added to the image when the alsa-lib-dev package is
included.

(From OE-Core rev: 720d30aa5f0745185fc948376ce284cc17f0edb0)

Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-firmware: add firmware for additional iwlwifi devices
Saul Wold [Thu, 16 Jan 2014 04:05:50 +0000 (20:05 -0800)]
linux-firmware: add firmware for additional iwlwifi devices

(From OE-Core rev: 3654d1383cc71389d84e063baf2ecf505cd8b9a3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonativesdk-packagegroup-sdk-host: reverse inherit order
Laurentiu Palcu [Thu, 16 Jan 2014 11:16:56 +0000 (13:16 +0200)]
nativesdk-packagegroup-sdk-host: reverse inherit order

Currently, tow successive toolchain builds for different hosts, will
issue a warning:

WARNING: The recipe nativesdk-packagegroup-sdk-host is trying to install
files into a shared area when those files already exist. Those files and
their manifest location are:
   /ssd/work/yp1/build/tmp/deploy/ipk/all/nativesdk-packagegroup-sdk-host_1.0-r11_all.ipk
   Matched in manifest-x86_64-nativesdk-packagegroup-sdk-host.package_write_ipk
Please verify which package should provide the above files.

That's because packagegroup is manually inherited after nativesdk which
is usually a BBCLASSEXTEND operation, done last.

[YOCTO #5396]

(From OE-Core rev: 7621a40d24f3e53b373f233e070894e4afc2b4b2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoallarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"
Laurentiu Palcu [Thu, 16 Jan 2014 11:16:55 +0000 (13:16 +0200)]
allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"

allarch packages shouldn't use these variables.

[YOCTO #5396]

(From OE-Core rev: c7253ad1b00fcef8fe0aeaab06d2fe76c82ba0dc)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib: add missing dependencies for ptest
Ross Burton [Wed, 15 Jan 2014 17:32:11 +0000 (17:32 +0000)]
glib: add missing dependencies for ptest

Some of the GLib tests that we run under ptest are missing runtime dependencies.

iochannel-test needs the EUC-JP encoding.

convert needs the ISO-8859-1 and ISO-8859-15 encodings.

contenttype needs shared-mime-info.

Add these to the RDEPENDS so that these tests pass.

[ YOCTO #5696 ]

(From OE-Core rev: 7b6316093ab28782edd45084d43dbd5c309be7c8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: cleanup mesa depends
Andreas Müller [Wed, 15 Jan 2014 10:11:10 +0000 (11:11 +0100)]
weston: cleanup mesa depends

* do not depend by default
* depend on virtual/mesa instead of mesa

(From OE-Core rev: d8d02cb15f9d64f0e773223965e3ff6b6ae0874f)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: mohonpeak bsp config and scc files
Bruce Ashfield [Wed, 15 Jan 2014 05:57:44 +0000 (00:57 -0500)]
linux-yocto/3.10: mohonpeak bsp config and scc files

(From OE-Core rev: 9f086987f995729235601281161858d851b8df72)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: update to 3.10.25
Bruce Ashfield [Wed, 15 Jan 2014 05:57:43 +0000 (00:57 -0500)]
linux-yocto/3.10: update to 3.10.25

Updating the 3.10 tree to the 3.10.25 korg -stable release.

(From OE-Core rev: 85ec7e0bb1306b3ac3506627a3aa04a42c0ec180)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: update meta data for media fragments
Bruce Ashfield [Wed, 15 Jan 2014 05:57:42 +0000 (00:57 -0500)]
linux-yocto/3.10: update meta data for media fragments

Updating the meta SRCREV to import the following changes:

   d9cd83c0292b remove old MEDIA config fragments
   06b76256d7e2 common-pc-standard.scc: Enable USB webcam support
   acb8b43837d8 common-pc-64.scc: update as per changes in the media config fragments
   5513fd2ad72a minnow-standard.scc: Enable media features
   172ba799bedc media-all.scc: A feature including all the media features
   1a7e1d3a292e media-platform: A feature for platform media devices
   03c48dacbb9a media-dvb-frontends : A feature for Digital Video Broadcast Devices
   59b92b9d6c72 media-usb-tv: A feature for USB TV media adapters
   5ec0709b1fed media-tuners: A feature for media tuner devices
   356dc83e39f3 media-rc: A feature for remote control media devices
   89d96cf9d574 media-radio: A feature for AM/FM radio devices
   3dd2ebeaf49b media-pci-capture: A feature for PCI media capture devices
   9ee0e95bfc52 media-i2c: A feature for I2C media devices
   28976f4a3e27 media-usb-webcams: A feature for USB media devices
   f8206f4e00b1 media: A feature for media infrastructure
   08bfb248a17f standard.scc: Add firmware loading feature
   e567a3d53593 firmware: A feature for firmware loading support

(From OE-Core rev: f4b00c4ddf1efb2a728b7a08b542c9c7254c787f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: fix makefile race
Ross Burton [Wed, 15 Jan 2014 14:10:54 +0000 (14:10 +0000)]
ltp: fix makefile race

There is a Makefile dependency race causing occasional build failures:

*** No rule to make target `.../work/core2-poky-linux/ltp/20130904-r0/git/testcases/kernel/include/linux_syscall_numbers.h.23161.sh', needed by `linux_syscall_numbers.h'.  Stop.

This is due to a bad dependency wildcard that is matching more than the one file
it should match, so replace it with a concrete filename.

(From OE-Core rev: 639ecfb578ff926f5deddb984f4f8600e161e22a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus-ptest: fix incorrect option name
Ross Burton [Wed, 15 Jan 2014 16:32:33 +0000 (16:32 +0000)]
dbus-ptest: fix incorrect option name

(From OE-Core rev: e27aee379c5f254f47daeb2fcb0a4a177740ea01)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd-compat-units: remove dnsmasq from sysv disabled list
Anders Darander [Wed, 15 Jan 2014 07:31:02 +0000 (08:31 +0100)]
systemd-compat-units: remove dnsmasq from sysv disabled list

The dnsmasq recipe in meta-networking ships a dnsmasq.service file, that will
correctly override the SysV init script. Thus, as pointed out by Ross Burton,
we should remove dnsmasq from the list.

(From OE-Core rev: 69a8153c55bf74fa6178d6bd65ac8e761c041a0e)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshutdown-desktop: use poweroff for the Exec field in the shutdown.desktop
Chen Qi [Wed, 15 Jan 2014 07:10:14 +0000 (15:10 +0800)]
shutdown-desktop: use poweroff for the Exec field in the shutdown.desktop

Use 'poweroff' instead of 'halt' for the Exec field in the shutdown.desktop.

The purpose of this patch is to make the 'shutdown' icon on on our sato
images work as expected for both sysvinit and systemd images. Previously,
the Exec field was 'halt'. The `halt' command could poweroff the system
in sysvinit images but it only could halt the system in systemd images.
The difference is due to the different implementations of the `halt' command.

In sysvinit, the `halt' command will effective execute `/sbin/init 0'. This
is for the compatibility with sysvinit 2.4, as stated in the comments of the
source code. In systemd, the `halt' command will effectively execute the
reboot(RB_HALT_SYSTEM).

As the 'shutdown' icon is expected to actually shutdown the system, we should
use poweroff instead of halt for its Exec field.

[YOCTO #4347]

(From OE-Core rev: c87d44a079c13a98734f9f726ec1b55d86793f8c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus-ptest: disable systemd
Ross Burton [Wed, 15 Jan 2014 12:13:54 +0000 (12:13 +0000)]
dbus-ptest: disable systemd

Explicitly disable systemd support so that it isn't a floating dependency and
libsystemd-login doesn't become a runtime dependency on non-systemd images.

Also don't bother setting the systemd unit directory as we're not installing
anything.

(From OE-Core rev: 4f5d00b551e2ee6056ebfc8365a05a5ca8e5d651)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodropbear: Refresh pam patch so it applies against recent version
Richard Purdie [Tue, 14 Jan 2014 21:55:43 +0000 (21:55 +0000)]
dropbear: Refresh pam patch so it applies against recent version

Patch application failed on the autobuilder for pam, this refresh of the
patch should resolve the build failure.

(From OE-Core rev: c4c5ec52effc2ff97ac17270c1aa7884c808f5a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc-locale: Fix multilib builds to depend on the correct binutils
Richard Purdie [Tue, 14 Jan 2014 21:49:33 +0000 (21:49 +0000)]
eglibc-locale: Fix multilib builds to depend on the correct binutils

(From OE-Core rev: 858c60adbcc5e21c585383fe90f6803d52f0807f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-nose: don't install as an Egg
Ross Burton [Tue, 14 Jan 2014 11:10:49 +0000 (11:10 +0000)]
python-nose: don't install as an Egg

Nose is installed as an Egg by default which we don't want, so change the
inherit to setuptools from distutils to disable the eggification.

(From OE-Core rev: 47a07c42f5f67dcf69f844531f7a527029e6280e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc-locale: Fix previous dependency change to properly work in nativesdk case
Richard Purdie [Tue, 14 Jan 2014 17:54:12 +0000 (17:54 +0000)]
eglibc-locale: Fix previous dependency change to properly work in nativesdk case

(From OE-Core rev: 7a4f3ee1b137cc8465f0cd9b1e461d3643182a81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-nose: Add BBCLASSEXTEND for native/nativesdk
Richard Purdie [Tue, 14 Jan 2014 16:42:35 +0000 (16:42 +0000)]
python-nose: Add BBCLASSEXTEND for native/nativesdk

Without this, nativesdk-python-numpy doesn't build.

(From OE-Core rev: 78711c887520c88d733182a80edac49650a7e94f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: Move ancillary binaries to ${PN}-bin
Phil Blundell [Tue, 14 Jan 2014 16:26:08 +0000 (16:26 +0000)]
harfbuzz: Move ancillary binaries to ${PN}-bin

The binaries:

-rwxr-xr-x root/root     21956 2014-01-09 19:39 ./bin/hb-shape
-rwxr-xr-x root/root     21504 2014-01-09 19:39 ./bin/hb-ot-shape-closure
-rwxr-xr-x root/root     36520 2014-01-09 19:39 ./bin/hb-view

are not generally useful on target systems.  Also, their presence in the
same binary package as libharfbuzz.so defeats the debian package autonamer.
Inherit lib_package to move these to ${PN}-bin.

(From OE-Core rev: d716f63d5785fa9239497d25bffc5035a9e58d28)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosecurity_flags: db can't use pie flags from gcc for security build
Saul Wold [Tue, 14 Jan 2014 16:22:18 +0000 (08:22 -0800)]
security_flags: db can't use pie flags from gcc for security build

[YOCTO #5721]

(From OE-Core rev: 0cfe254e7eafed27f512216cccfb7fee76fc0be7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-tools-testapps: add Piglit
Ross Burton [Tue, 14 Jan 2014 15:19:32 +0000 (15:19 +0000)]
packagegroup-core-tools-testapps: add Piglit

Respect the OpenGL distro feature and if it's enabled, pull in piglit and
mesa-tools.

(From OE-Core rev: cd61c62ed30694eeb82e88e058a3a3e1bfb06f78)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopiglit: add (from meta-oe)
Ross Burton [Tue, 14 Jan 2014 15:19:31 +0000 (15:19 +0000)]
piglit: add (from meta-oe)

Piglit is an OpenGL testing tool.  This recipe is taken directly from meta-oe.

(From OE-Core rev: cab8dad6f3b14f21115a765a4e55d38a0f73f337)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowaffle: add (from meta-oe)
Ross Burton [Tue, 14 Jan 2014 15:19:30 +0000 (15:19 +0000)]
waffle: add (from meta-oe)

Waffle is needed for Piglit.  This recipe is based on the recipe in meta-oe,
upgraded to the latest upstream 1.3.0.

(From OE-Core rev: 67228f682cb8acc71dd5f8b44af67f529727f780)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-numpy: add (from meta-oe)
Ross Burton [Tue, 14 Jan 2014 15:19:29 +0000 (15:19 +0000)]
python-numpy: add (from meta-oe)

python-numpy is needed for Piglit.  This recipe is taken directly from meta-oe.

(From OE-Core rev: 9bf355cceaec6ebacdcbcc35f9713ff73e1c85da)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-nose: add (from meta-oe)
Ross Burton [Tue, 14 Jan 2014 15:19:28 +0000 (15:19 +0000)]
python-nose: add (from meta-oe)

python-nose is a build dependecy for python-numpy, needed for Piglit.  This
recipe is taken directly from meta-oe.

(From OE-Core rev: 6b0c3e9955292d2ea13c6871c686824cd04150f1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-mako: add (from meta-oe)
Ross Burton [Tue, 14 Jan 2014 15:19:27 +0000 (15:19 +0000)]
python-mako: add (from meta-oe)

python-mako is needed for Piglit.  This recipe is taken from meta-oe, and
upgraded to the latest upstream version.

Checksums updated as the upstream LICENSE file contains the copyright dates.

(From OE-Core rev: 1ad759508d834f3bcb3bb8542ae2012a2b6ef2e0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: specify all install paths
Ross Burton [Tue, 14 Jan 2014 15:19:26 +0000 (15:19 +0000)]
cmake: specify all install paths

Specify the full set of install paths (bindir, libdir, etc) for packages that
use the GNUInstallDirs module, instead of just the prefix and leaving the rest
as default (which breaks with multilib).

(From OE-Core rev: d3995ac14ba05c0420f15f264f7e9d0c3af71f74)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoseparatebuilddir: Drop cmake lines since cmake class has this as default now
Richard Purdie [Tue, 3 Dec 2013 15:52:25 +0000 (15:52 +0000)]
separatebuilddir: Drop cmake lines since cmake class has this as default now

The changes to cmake make this unneeded now.

(From OE-Core rev: 92472980b816ee9ada502c1965976cb6eedc0a27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi: remove configure patch, simply seed the cache
Ross Burton [Mon, 13 Jan 2014 17:26:51 +0000 (17:26 +0000)]
grub-efi: remove configure patch, simply seed the cache

grub-2.00-disable-help2man patches configure.ac to disable the help2man check
because we don't need the man pages.  It also then patches configure itself so
that autogen.sh doesn't have to be called for performance reasons.  However,
do_configure causes a full autoreconf so this optimisation is moot, and can
cause patch failures when an existing build tree is re-used.

Instead, simply use CACHED_CONFIGUREVARS to tell configure that it can't find
help2man.

(From OE-Core rev: 34b9b2931da1fbf4c68a3e35f4ca56553058574b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: fix the AUTOMAKE_DIR
Robert Yang [Tue, 14 Jan 2014 02:42:13 +0000 (10:42 +0800)]
alsa-tools: fix the AUTOMAKE_DIR

There should be only one automake under the STAGING_DATADIR_NATIVE in
theory, but der_steffi@gmx.de has reported an odd problem which seemed
like that there are more than one. However, the "automake
--print-libdir" is the regular way to locate automake libdir.

[YOCTO #5706]

Reported-by: der_steffi@gmx.de
(From OE-Core rev: 59f46f9c9f8a36d8829b9b33291249a7b92ebcac)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonativesdk-packagegroup-sdk-host: Cleanup strange darwin override
Richard Purdie [Tue, 14 Jan 2014 11:48:54 +0000 (11:48 +0000)]
nativesdk-packagegroup-sdk-host: Cleanup strange darwin override

The cross-canadian packages were split into their own package group
some time ago. These two are leftovers and can be safely removed.

(From OE-Core rev: 0f05393bad8ac84627f339aa1619c96c22d2dc37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoptest: d.keys() is slow, use a list instead
Richard Purdie [Tue, 14 Jan 2014 11:43:14 +0000 (11:43 +0000)]
ptest: d.keys() is slow, use a list instead

Unfortunately d.keys is extremely slow. Using a list in this case should be
fine since the addtask lines are immediately above the code and aren't
going to change often.

(From OE-Core rev: 5901189f0442cefc4d17623547f7358ffc2d37a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc-locale: Fix depends on binutils
Richard Purdie [Tue, 14 Jan 2014 11:42:38 +0000 (11:42 +0000)]
eglibc-locale: Fix depends on binutils

The dependency here needs to apply for nativesdk as well as target packages
as the autobuilder just tripped over that. We'd never want a native version
so I'm not sure why the target class override was even present. The dependency
also applies to do_package so lets be explicit about that in case sstate
decides to get clever.

(From OE-Core rev: b7ec21ac8ebac9d7fba34d6f11d93ecb8f561ca8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomake: Disable floating guile dependency
Richard Purdie [Tue, 14 Jan 2014 11:42:05 +0000 (11:42 +0000)]
make: Disable floating guile dependency

This makes builds of make deterministic.

(From OE-Core rev: 9ab5e5f16cb485f8838ba886216912a78cee01e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types bbclass: add support for tar.lz4 and cpio.lz4
Koen Kooi [Tue, 14 Jan 2014 11:00:49 +0000 (12:00 +0100)]
image_types bbclass: add support for tar.lz4 and cpio.lz4

(From OE-Core rev: 0a541a0497902ee9993449b47da853b6c6a306d9)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: add support for LZ4 initramfs files
Koen Kooi [Tue, 14 Jan 2014 11:00:48 +0000 (12:00 +0100)]
kernel.bbclass: add support for LZ4 initramfs files

(From OE-Core rev: 4cf53999459f3984f541ad5e666057a6727a066c)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistrodata bbclass: add support for lz4 archives
Koen Kooi [Tue, 14 Jan 2014 11:00:47 +0000 (12:00 +0100)]
distrodata bbclass: add support for lz4 archives

(From OE-Core rev: 4c6fb26d3fb54c75e99f6531a53054b8c6482a8b)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase bbclass: add support for lz4 compressed archives
Koen Kooi [Tue, 14 Jan 2014 11:00:46 +0000 (12:00 +0100)]
base bbclass: add support for lz4 compressed archives

(From OE-Core rev: 8b31b2d612b7bcd98c393c3760bb2e1542c02bd5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: add r112
Koen Kooi [Tue, 14 Jan 2014 11:00:45 +0000 (12:00 +0100)]
lz4: add r112

lz4-native is needed for kernels using lz4 compression, which was merged in 3.11.

Lz4 has a similar compression rate to lzo but decompresses a lot (>4x) faster.

(From OE-Core rev: 13e5da254529716b0445895d70b40489ce22941b)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: default to out-of-tree builds
Ross Burton [Fri, 10 Jan 2014 16:34:31 +0000 (16:34 +0000)]
cmake: default to out-of-tree builds

Set B=${WORKDIR}/build in cmake.bbclass so that recipes using cmake.bbclass do
out-of-tree builds by default.

(From OE-Core rev: 783fb88f476c94d5d4f4b954f7053464d9a6dff5)

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>
10 years agoseparatebuilddir: build libproxy and taglib out of the source tree
Ross Burton [Tue, 3 Dec 2013 15:52:25 +0000 (15:52 +0000)]
separatebuilddir: build libproxy and taglib out of the source tree

(From OE-Core rev: 706084cedc73612af4feb5dd9075f1efb1b7d58c)

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>
10 years agocmake: respect ${S} and ${B}
Ross Burton [Tue, 3 Dec 2013 15:42:58 +0000 (15:42 +0000)]
cmake: respect ${S} and ${B}

Instead of the class-specific variables OECMAKE_BUILDPATH and
OECMAKE_SOURCEPATH, just use ${B} and ${S}.

If these two paths are different, delete any existing ${B} before running a
build so that previous builds don't taint the current build.

Note that OECMAKE_SOURCEPATH and OECMAKE_BUILDPATH are not respected, so recipes
that manually set these in the past will need to be updated to either use
something along the lines of separatebuilddir.inc or set B themselves.  If the
old variables are set, a warning is displayed.

(From OE-Core rev: 43073569cb67d98c11aa71211d77b566b64f9145)

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>
10 years agogrub git: update to latest git
Koen Kooi [Mon, 13 Jan 2014 12:54:28 +0000 (13:54 +0100)]
grub git: update to latest git

Drop the 2 patches since the functionality is upstream now.
Also sync PACKAGECONFIG with grub 2.00 recipe.

The debugedit problem for 64 bit machines in do_package is still present, though:

ERROR: debugedit failed with exit code 256 (cmd was '/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b '/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux' -d '/usr/src/debug' -i -l '/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/debugsources.list' '/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/package/usr/lib/grub/arm64-efi/cpio_be.module'):
/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit: /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/package/usr/lib/grub/arm64-efi/cpio_be.module: Unhandled relocation 258 in .debug_info section
ERROR: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/temp/log.do_package.29234
ERROR: Task 10 (/build/linaro/build/openembedded-core/meta/recipes-bsp/grub/grub_git.bb, do_package) failed with exit code '1'

(From OE-Core rev: cd29ff3927a6deae5e808525bd56acf7b4b0b60c)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibproxy: Update to 0.4.11
Phil Blundell [Mon, 13 Jan 2014 12:41:17 +0000 (12:41 +0000)]
libproxy: Update to 0.4.11

Delete patches that have been applied upstream or are no longer necessary.
Update LIC_FILES_CHKSUM to match new COPYING (whitespace changes only).

(From OE-Core rev: 7c3b070b9cdd8b1d564d8900858cd31d11b20e6f)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibacpi: Fix GNU_HASH problem
Yasir-Khan [Mon, 13 Jan 2014 11:57:57 +0000 (16:57 +0500)]
libacpi: Fix GNU_HASH problem

Fixes GNU_HASH problem by adding LDFLAGS to TARGET_CC_ARCH

(From OE-Core rev: 7b69e70f68da163e95f5e263832a85f1a0070006)

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibidn: disable C# directly
Zhang Xiao [Mon, 13 Jan 2014 09:38:26 +0000 (17:38 +0800)]
libidn: disable C# directly

Disable C# building with --disable-csharp instead of remove
useless binary files.

(From OE-Core rev: b4c4923d2e1035a036d04199c0acff6ccdd49cfe)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: upgrade to 1.8.9p1
Chen Qi [Mon, 13 Jan 2014 07:05:45 +0000 (15:05 +0800)]
sudo: upgrade to 1.8.9p1

Upgrade sudo from 1.8.8 to 1.8.9p1.

This patch adds include/queue.h to the LIC_FILES_CHECKSUM because it's
specified in the doc/LICENSE file.

(From OE-Core rev: 0262bd1fc9507a39b7f313a8a5e85e7001f6bd9f)

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>
10 years agoman-pages: upgrade to 3.56
Saul Wold [Sat, 11 Jan 2014 09:30:40 +0000 (11:30 +0200)]
man-pages: upgrade to 3.56

(From OE-Core rev: bf4a2ebce1097394a6ce77511fb9fff319b58858)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: upgrade to 1.7.1
Saul Wold [Sat, 11 Jan 2014 09:01:55 +0000 (11:01 +0200)]
cups: upgrade to 1.7.1

(From OE-Core rev: 881c94aa291631cd65aecfceac8ebea1be892918)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Add fstrim utility
MiLo [Fri, 10 Jan 2014 17:56:00 +0000 (18:56 +0100)]
util-linux: Add fstrim utility

Add "util-linux-fstrim" package, containing /sbin/fstrim, for trimming
unused sectors on SSDs.

(From OE-Core rev: ee3599472d7c5ccbf259312c7622b982941b6b1e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsdl2: upgrade to 2.0.1
Paul Eggleton [Tue, 31 Dec 2013 13:37:05 +0000 (13:37 +0000)]
libsdl2: upgrade to 2.0.1

(From OE-Core rev: 558ce1216ab2d6f31025f58d82b7614d7cd19b61)

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>
10 years agocdrtools-native: upgrade to 3.01a20
Paul Eggleton [Tue, 31 Dec 2013 13:22:44 +0000 (13:22 +0000)]
cdrtools-native: upgrade to 3.01a20

(From OE-Core rev: 2ea41b8e857825b2a725606560e4a5b6909febaf)

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>
10 years agochrpath: upgrade to 0.15
Paul Eggleton [Tue, 31 Dec 2013 12:54:50 +0000 (12:54 +0000)]
chrpath: upgrade to 0.15

(From OE-Core rev: 1c45c9b5712937d149baae2ca51f0aff63059dbf)

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>
10 years agodropbear: upgrade to 2013.62
Paul Eggleton [Tue, 17 Dec 2013 12:04:15 +0000 (12:04 +0000)]
dropbear: upgrade to 2013.62

LIC_FILES_CHKSUM has changed with the introduction of a BSD-3-Clause
algorithm (curve25519-donna); this has prompted a re-evaluation of the
LICENSE value which should now reflect the licenses declared in the
upstream documentation. Thanks to Beth Flanagan for helping with this.

(From OE-Core rev: 232e8b96988ffa6e5107917fbf41222d26e4e90b)

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>
10 years agoptest.bblass: Fix package QA issues when disabled
Nathan Rossi [Fri, 10 Jan 2014 08:01:33 +0000 (18:01 +1000)]
ptest.bblass: Fix package QA issues when disabled

When the ptest distro feature is disabled, a ptest directory is still
created in the install phase, This directory is not cleaned up or
consumed by any package and will throw a QA error, e.g.

ERROR: QA Issue: glib-2.0: Files/directories were installed but not
shipped
  /usr/lib/glib-2.0/ptest
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa

This is caused by the do_install_ptest_base[cleandirs] attribute which
is not setup to be conditional on ptest being enabled.

This patch refactors the use of PTEST_ENABLED in the *ptest_base tasks,
replacing the conditional execution with the removal of the tasks from
the build, this prevents any part (including cleandirs) of the ptest
tasks from executing when disabled.

(From OE-Core rev: def21f3f0bedae51651f1f0fc58b62b8aaaf37ae)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd-compat-units: do not mask available services
Anders Darander [Fri, 10 Jan 2014 07:15:03 +0000 (08:15 +0100)]
systemd-compat-units: do not mask available services

Do also check systemd_unitdir/system/ for available unit files.

This was hiding dnsmasq.service for us, as /etc/systemd/system has
priority over systemd_unitdir/system...

(From OE-Core rev: 5aea3d375b717d96f8f916f2f830e8f8649a4991)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus: Remove stray semicolon from SRC_URI
Phil Blundell [Fri, 10 Jan 2014 17:02:20 +0000 (17:02 +0000)]
dbus: Remove stray semicolon from SRC_URI

(From OE-Core rev: 80affbb4e0e79d3cca6022d7426503d7f20ce3ac)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/systemd: wait for services to start/fail
Ross Burton [Thu, 9 Jan 2014 16:01:51 +0000 (16:01 +0000)]
oeqa/runtime/systemd: wait for services to start/fail

When checking that no services have failed to start, actually wait for services
to finish starting by waiting for there not be no units in the "activating"
state.

(From OE-Core rev: 4d6422a84eba005a6fd788ce18c9dd42b079e2a8)

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>
10 years agobitbake: toaster: Toaster GUI, generic search, filter and order
Alexandru DAMIAN [Tue, 7 Jan 2014 13:10:42 +0000 (13:10 +0000)]
bitbake: toaster: Toaster GUI, generic search, filter and order

This patch implements table searching, filtering and ordering, in a
generic mode reusable for all tables.

The search operates list of fields defined in the corresponding
class for each model, search_allowed_fields.

The search expression and filters are sent through GET requests
using a QuerySet-like input. The inputs are filtered and
validated before usage to prevent inadvertent or malicious use.

Filters and table headers are defined in the views for each table,
and rendered by generic code which is easily modified for various
tables.

The Build table and Configuration table are implemented using this
framework as an example of how it should be used.

    [YOCTO #4249]
    [YOCTO #4254]
    [YOCTO #4255]
    [YOCTO #4256]
    [YOCTO #4257]
    [YOCTO #4259]
    [YOCTO #4260]

(Bitbake rev: 2ca15117e4bbda38cda07511d0ff317273f91528)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Build dashboard implementation
Alexandru DAMIAN [Fri, 13 Dec 2013 17:14:34 +0000 (17:14 +0000)]
bitbake: toaster: Build dashboard implementation

This patch adds the build dashboard page implementation,
which is the landing page for the Toaster GUI.

Also adds correct links from the main build page
to the various parts of the dashboard.

    [YOCTO #4258]

(Bitbake rev: bf7fbf5c0ee39564d813f82e194242f9d4f73c47)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Create the base page navigation structure
Alexandru DAMIAN [Wed, 11 Dec 2013 16:42:34 +0000 (16:42 +0000)]
bitbake: toaster: Create the base page navigation structure

Updating the general container pages to use the graphical
design and features from the design phase.

In the process of adapting the Simple UI to the designed
interface, we create all the pages and the navigation
structure for the Toaster GUI.

Views for each page have been added, and the url mapping
has been updated to reflect newly added pages.

The table page has been refactored to be component-oriented
instead of class-oriented in order to facilitate reusage.

Changes are made in different layers of the template
(base, basetable) in order to maximize code reuse among
different pages in the build.

(Bitbake rev: d31f039ae31b77023722c06e66542751536a1362)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update static media for Toaster GUI
Alexandru DAMIAN [Wed, 11 Dec 2013 16:40:05 +0000 (16:40 +0000)]
bitbake: toaster: update static media for Toaster GUI

In the process of making the GUI more usable, we
bring in the static assets used during the design
phase into the application.

Licenses used:

    Bootstrap 2.3.2 under Apache License 2.0
    Font Awesome under SIL OFL 1.1 (GPL compatible) and MIT licence
    GLYPHICONS Halflings released with Bootstrap, CC BY 3.0
    jQuery 2.0.3 under MIT licence
    prettify.js under Apache Licence 2.0

(Bitbake rev: 0b3d2000c0bcd2bb5a3af5d49a514a90f001a7d2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: clone Simple UI as base for Toaster GUI
Alexandru DAMIAN [Wed, 18 Dec 2013 19:50:45 +0000 (19:50 +0000)]
bitbake: toaster: clone Simple UI as base for Toaster GUI

This patch clones the Simple UI to provide the base code for
the development of the Toaster GUI. The clone takes the place
of the application that was reserved for Javascript MVC code.

The templates used for Simple UI are renamed to start with
an "simple_" to prevent name resolution conflict with the
Toaster GUI templates.

Minor changes are made to the settings.py and urls.py in the
toaster main section to account for the newly enabled application.

(Bitbake rev: e2fde84f16da017ba0d71aef6a1fa8e2b9255db4)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoterminal.bbclass: do not export PS1
Anders Darander [Fri, 10 Jan 2014 14:59:01 +0000 (15:59 +0100)]
terminal.bbclass: do not export PS1

With a complex PS1 setup, PS1 might not have all characters correctly escaped
when terminal.bbclass writes the export. This caused the run.do_terminal.PID to
terminate, making it impossible to use the devshell.

As the spawned shell will parse e.g. .bashrc (or whatever rc-file is being
used), PS1 will be reset in the devshell.

(From OE-Core rev: a5e6926cd409140d16391c72316da00ffbfe5429)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Keep global pkgfiles[] up to date when snapping library symlinks
Phil Blundell [Fri, 10 Jan 2014 14:38:32 +0000 (14:38 +0000)]
package: Keep global pkgfiles[] up to date when snapping library symlinks

Since ca86603607a69a17cc5540d69de0e242b33382d3 we are now calling stat() on
all the pkgfiles[] during emit_pkgdata().  If symlink snapping has removed
some of the files then we will blow up trying to stat a path that no longer
exists.  Fix that by ensuring that pkgfiles[] is updated when we process the
list of library renames.

(From OE-Core rev: bdad58c51dfdda5253933c3e371a7d526cdbb67e)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Also add autoconf-native to DEPENDS
Phil Blundell [Fri, 10 Jan 2014 12:54:16 +0000 (12:54 +0000)]
binutils: Also add autoconf-native to DEPENDS

Commit 616354f13732d13c17434d5b60b166f691c25761 is insufficient because
gnu-config-native's gnu-configize script uses perl modules from autoconf
and hence doesn't work unless autoconf-native is staged (which it may
not be if building from sstate).

Ideally g-c-n would itself declare a dependency on autoconf-native but this
is difficult to arrange without creating a dependency loop.  autoconf-native
already depends on gnu-config-native (because autoreconf invokes gnu-configize)
and has a build dependency on m4-native, which in turn build-depends on g-c-n
because it configizes itself by steam in do_configure and needs config.{guess,sub}
to be available.  Adding some sort of gnu-config-initial-native recipe would
fix the latter problem, but this would be ugly because it would need special-casing
in (at least) autotools.bbclass, and in any case this still wouldn't solve
the problem of autoconf itself depending on g-c-n.

So, the easiest solution to the problem at hand is to arrange for those
few recipes that depend on g-c-n but not autoconf-native to gain that
latter dependency as well.

(From OE-Core rev: 507199e57acfcc99639dc2c53abe194d77d60866)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-module-split: Remove extraneous call to depmod from module postinst
Phil Blundell [Fri, 10 Jan 2014 12:57:02 +0000 (12:57 +0000)]
kernel-module-split: Remove extraneous call to depmod from module postinst

During rootfs construction, image.bbclass will call depmod after all the
modules are installed.  There's no need to run it from the postinst when
operating in offline root mode.

(From OE-Core rev: e8db81e4655ab7535db04aa3c8d7f9868ced6039)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsoup: Remove libproxy from DEPENDS
Phil Blundell [Thu, 9 Jan 2014 11:16:10 +0000 (11:16 +0000)]
libsoup: Remove libproxy from DEPENDS

Although libsoup did use to support direct usage of libproxy, it hasn't
done so for some time.  Worse, if libsoup depends on libproxy then it
is impossible to build libproxy against webkit since webkit itself
depends on libsoup in some configurations.  Fix this by removing the
extraneous entry from DEPENDS.

(From OE-Core rev: e588ba009402be27c643f2596acea0f178d4e42f)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub: add PACKAGECONFIG for device-mapper
Ming Liu [Fri, 10 Jan 2014 08:23:37 +0000 (16:23 +0800)]
grub: add PACKAGECONFIG for device-mapper

Avoids it's auto-detected from sysroot, which will lead implicit results.

(From OE-Core rev: 6f9e72f77cd0b06c5ad753cb9ab05dd681690c6b)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: Remove stray .git files after unpacking
Phil Blundell [Thu, 9 Jan 2014 11:18:26 +0000 (11:18 +0000)]
qemu: Remove stray .git files after unpacking

The qemu tarball ships some extraneous .git metadata in the dtc/ and pixman/
subfolders, containing a reference to the path "../.git/modules" which
doesn't exist.  The presence of these files will confuse git if it happens
to recurse into the qemu source folder during an operation on some parent
directory, for example "git clean" at a higher level.  Avoid that problem
(mostly) by removing them immediately after the sources are unpacked.

(From OE-Core rev: cd962b790d5d15985a5a436169d6b2e3b0db0b2d)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>