]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agooeqa/prservice: add useful failure messages to test cases
Costin Constantin [Thu, 16 Jul 2015 13:22:28 +0000 (16:22 +0300)]
oeqa/prservice: add useful failure messages to test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/recipetool: add useful failure messages to test cases
Costin Constantin [Thu, 16 Jul 2015 13:20:24 +0000 (16:20 +0300)]
oeqa/recipetool: add useful failure messages to test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/pkgdata: add useful failure messages to test cases
Costin Constantin [Thu, 16 Jul 2015 10:06:03 +0000 (13:06 +0300)]
oeqa/pkgdata: add useful failure messages to test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime: Added one runtime testcase in connman.
Daniel Istrate [Wed, 15 Jul 2015 14:35:34 +0000 (17:35 +0300)]
oeqa/runtime: Added one runtime testcase in connman.

(testcase 223) Check that only one connmand runs in background.

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm4: Drop native RDEPENDS
Richard Purdie [Wed, 22 Jul 2015 07:08:55 +0000 (08:08 +0100)]
rpm4: Drop native RDEPENDS

Native recipes should *never* depend on target recipes since this would
cause them to rebuild every time the target changes. Before the recent
datastore changes, this happened to work. Now, this makes rpm-native
unbuildable since base-files-native doesn't exist and the code remaps
the variable.

Dropping these dependencies here is the correct way to resolve this issue
and fix an autobuilder selftest failure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipeutils.py: get_recipe_pv_without_srcpv remove prefixes from pv
Aníbal Limón [Wed, 15 Jul 2015 00:43:57 +0000 (19:43 -0500)]
recipeutils.py: get_recipe_pv_without_srcpv remove prefixes from pv

Some recipes uses v or r prefixes in versions that makes wrong
comparisions over recipes like lz4 r123 > 128.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/recipeutils.py: get_recipe_upstream_info update to get revision
Aníbal Limón [Wed, 15 Jul 2015 00:43:56 +0000 (19:43 -0500)]
oe/recipeutils.py: get_recipe_upstream_info update to get revision

Bitbake fetcher latest_versionstring now returns a tuple with (version,
 revision) that helps SCM's like git to build current upstream version.

[YOCTO #7605]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/recipeutils.py: get_recipe_upstream_info only use sfx and pfx when exits
Aníbal Limón [Wed, 15 Jul 2015 00:43:55 +0000 (19:43 -0500)]
oe/recipeutils.py: get_recipe_upstream_info only use sfx and pfx when exits

Don't use pfx and sfx when not exist because cause formatting errors
like 2.9HASH instead of 2.9+gitAUTOINC+HASH.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibx11: update Upstream-Status on a merged patch
Ross Burton [Mon, 20 Jul 2015 11:00:49 +0000 (12:00 +0100)]
libx11: update Upstream-Status on a merged patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest: Fix imagefeature testcases not to interfere with testimage on AB
Daniel Istrate [Tue, 21 Jul 2015 12:54:40 +0000 (15:54 +0300)]
oeqa/selftest: Fix imagefeature testcases not to interfere with testimage on AB

[YOCTO #8017] - selftest does not use pkill qemu
[YOCTO #7976] - tests do not touch .ssh/known_hosts
              - don't hardcode qemu IP
[YOCTO #8027] - use qemu nographic
Extra: removed unnecessary assert for bitbake and runCmd status

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoRevert "create-pull-request: Fix error on 2.0 versions of git"
Ross Burton [Fri, 17 Jul 2015 11:29:13 +0000 (12:29 +0100)]
Revert "create-pull-request: Fix error on 2.0 versions of git"

This breaks create-pull-request for git <2, which is many people.

This reverts commit 7ee64ea60ede5477b2f9a355d93bdc556e6b7895.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity.bbclass: Remove check if /tmp is writable
Mariano Lopez [Wed, 15 Jul 2015 11:21:51 +0000 (11:21 +0000)]
sanity.bbclass: Remove check if /tmp is writable

The check would be managed using BB_DISKMON_DIRS so this
removes the check from the sanity class.

[YOCTO #8000]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonative: Move virtclass override to earlier so DEPENDS is handled correctly
Richard Purdie [Tue, 21 Jul 2015 11:16:03 +0000 (12:16 +0100)]
native: Move virtclass override to earlier so DEPENDS is handled correctly

Currently the virtclass override is added too late to be taken into
account when DEPENDS and other variables are processed by the virtclass
extension code. This sets the overrides in a more optimal place, meaning
they are accounted for in variables like DEPENDS.

Recipes in meta-oe like libwmf-native showed the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.4.0-rc1
Ross Burton [Mon, 20 Jul 2015 14:47:17 +0000 (15:47 +0100)]
qemu: upgrade to 2.4.0-rc1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopseudo: 1.6.5 -> 1.6.7
Richard Purdie [Mon, 20 Jul 2015 09:31:45 +0000 (09:31 +0000)]
pseudo: 1.6.5 -> 1.6.7

Adds proper support for fifos, giving performance back to bitbake
with the recent logging changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocore-image-lsb-sdk: use kernel-devsrc to ensure kernel module builds work
Ross Burton [Fri, 17 Jul 2015 14:40:22 +0000 (15:40 +0100)]
core-image-lsb-sdk: use kernel-devsrc to ensure kernel module builds work

With the move of the kernel source to the kernel-devsrc, we need this package to
ensure the kernel module sanity tests made on core-image-lsb-sdk continue to
pass. Therefore update the name of the package included in the image.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec-tools: change powerpc memory size limit
Quanyang Wang [Fri, 17 Jul 2015 02:58:44 +0000 (10:58 +0800)]
kexec-tools: change powerpc memory size limit

When run "kexec" in powerpc board, the kexec has a limit that
the kernel text and bss size must be less than 24M. But now
some kernel size exceed the limit. So we need to change the limit,
else will get the error log as below:

my_load:669: do
Could not find a free area of memory of 0x12400 bytes...
Could not find a free area of memory of 0x13000 bytes...
locate_hole failed

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec-tools: disable the GCC's stack protection for purgatory code
Kevin Hao [Fri, 17 Jul 2015 02:58:32 +0000 (10:58 +0800)]
kexec-tools: disable the GCC's stack protection for purgatory code

If the GCC's stack protection is enabled by default, the purgatory will
also be built with this option. But it makes no sense to enable this
for the purgatory code, and would cause error when we are trying to
relocate the purgatory codes because symbol like __stack_chk_fail is
unresolved. Instead of disabling this for some archs specifically,
disable it for all the archs.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpam: Upgrade v1.1.6 -> v1.2.1
Amarnath Valluri [Fri, 17 Jul 2015 08:53:24 +0000 (11:53 +0300)]
libpam: Upgrade v1.1.6 -> v1.2.1

Dropped upstreamed patches(commit-id):
- add-checks-for-crypt-returning-NULL.patch(8dc056c)
- destdirfix.patch(d7e6b92)
- libpam-fix-for-CVE-2010-4708.patch(4c430f6)

Dropped backported patches(commit-id):
- pam_timestamp-fix-potential-directory-traversal-issu.patch(9dcead8)
- reflect-the-enforce_for_root-semantics-change-in-pam.patch(bd07ad3)

Forward ported patches:
- pam-unix-nullok-secure.patch
- crypt_configure.patch

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-modules: 2.6.1 -> 2.6.2
Robert Yang [Tue, 14 Jul 2015 02:44:11 +0000 (19:44 -0700)]
lttng-modules: 2.6.1 -> 2.6.2

* Rename recipe name from lttng-modules_2.6.1.bb to lttng-modules_git.bb

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobtrfs-tools: 4.0.1 -> 4.1.1
Robert Yang [Tue, 14 Jul 2015 02:34:15 +0000 (19:34 -0700)]
btrfs-tools: 4.0.1 -> 4.1.1

This upgrade fixes DEBUG_BUILD on qemuarm:
    [CC]     btrfs-convert.o
    [CC]     btrfs-corrupt-block.o
    [CC]     btrfs-calc-size.o
{standard input}: Assembler messages:
{standard input}:3257: Error: invalid operands (.text and *UND* sections) for `-'
{standard input}:3263: Error: invalid operands (.text and *UND* sections) for `-'
make: *** [cmds-fi-usage.o] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopulseaudio: rdepend on modules referenced by start-pulseaudio-x11
Tanu Kaskinen [Fri, 17 Jul 2015 09:22:18 +0000 (12:22 +0300)]
pulseaudio: rdepend on modules referenced by start-pulseaudio-x11

pulseaudio-server contains /usr/bin/start-pulseaudio-x11 when X11 is
enabled, and that script tries to load module-device-manager,
module-x11-cork-request, module-x11-publish, and module-x11-xsmp.
Therefore, pulseaudio-server should rdepend on those modules when X11
is enabled, otherwise the script won't work as intended.

[YOCTO #8007]

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoneard: merge .inc file
Ross Burton [Thu, 16 Jul 2015 23:34:08 +0000 (00:34 +0100)]
neard: merge .inc file

The .inc file contains so much version-dependent logic (for example behaviour of
libexecdir and location of installed daemon) that there's not really any point
in having the two split.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoneard: remove overridden do_install
Ross Burton [Thu, 16 Jul 2015 23:32:53 +0000 (00:32 +0100)]
neard: remove overridden do_install

Overriding libexecdir was required when neard did funky things in the Makefile,
but it doesn't anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognome-icon-theme: clean up icon-naming search
Ross Burton [Thu, 16 Jul 2015 22:51:55 +0000 (23:51 +0100)]
gnome-icon-theme: clean up icon-naming search

Previous this recipe added an argument to specify where the icon-name-mapping
binary is installed, to override a failing pkg-config call (as target pkg-config
won't find native .pc files), and munged libexecdir as it likely contains PN.

This is all very complicated and we have a native pkg-config binary now, so just
use pkg-config-native for that section of configure.ac.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-smartpm: Improve warnings/errors consistency
Richard Purdie [Thu, 16 Jul 2015 22:54:11 +0000 (23:54 +0100)]
python-smartpm: Improve warnings/errors consistency

Sadly, smart is not deterministic so the same build can go down multiple different
pathways. We'd expect to see the same warnings however depending on the pathway
taken, it may or may not warn, particularly with Recommends since they're optional.

For example, where a Recommended package is available but has Conflicts, we'd expect
to see an warning that we couldn't install it. Some code paths silently hide this
(its a LOCKED_CONFLICT). We add printing of warnings for this case.

Also, if there are two compatible feeds available (e.g. i586 and core2_32), this
changes the code path from direct _install() to _pending() since there are multiple
providers. This patch adds warning handling to _pending() so we don't hit hard
failures there. This is as seen with the mysterious libspeexdsp failures for x86-lsb
on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/package_manager: Use log-level warning instead of quiet
Richard Purdie [Thu, 16 Jul 2015 22:53:01 +0000 (23:53 +0100)]
lib/oe/package_manager: Use log-level warning instead of quiet

quiet means that no warnings are shown on the console and really is too
quiet for our needs. This is more verbose but that is better than too
little and does aid debugging things when they go wrong.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_ipk/deb: Drop version information from RPROVIDES
Richard Purdie [Thu, 16 Jul 2015 22:47:30 +0000 (23:47 +0100)]
package_ipk/deb: Drop version information from RPROVIDES

In some scenarios rpm needs version information from RPROVIDES. We can
add this to the metadata where needed however we need to stop it entering
the ipk/deb packages. This data is not needed due to the way opkg/dpkg
handle the data.

This patch ensures that data isn't used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodebian: Add versions to RPROVIDES
Richard Purdie [Thu, 16 Jul 2015 22:48:51 +0000 (23:48 +0100)]
debian: Add versions to RPROVIDES

Recently, libspeexdsp-dev added RCONFLICTS = "speex-dev < 1.2rc2". where
libspeexdsp is 1.2rc3. That all seems reasonable, except there is a problem.

debian.bbclass renames speex-dev to libspeex-dev and adds a "Provides: speex-dev"
which the packaging backends duly note. The trouble is rpm sees that as having no
version at all. This means that "speex-dev < 1.2rc2" conflicts with "speex-dev"
and the -dev package simply cannot be installed.

We can't simply version all Provides for rpm since some dependencies clearly
shouldn't be versioned (e.g. the locale ones).

The solution that seems to work best is to add the versions in debian.bbclass.
If the backend doesn't like these, the backend can then strip them off
(separate patch does this).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogamin: remove
Ross Burton [Thu, 16 Jul 2015 22:24:06 +0000 (23:24 +0100)]
gamin: remove

Gamin hasn't been required for many years now, maintenance upstream stopped in
2008 and the addition of inotify to the kernel made it redundant.

Remove the recipe from oe-core, and references to it in pacakgegroup-core-lsb
(LSB doesn't require gamin) and packagegroup-self-hosted.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoextensible sdk: Error when trying to install as root.
Randy Witt [Thu, 16 Jul 2015 20:34:21 +0000 (13:34 -0700)]
extensible sdk: Error when trying to install as root.

Since the extensible sdk uses bitbake, which can't run as root, the sdk
shouldn't be installed as root.

Previously it would error out late into setup when bitbake errored
saying not to run bitbake as root.

Now the script errors with a message saying the extensible sdk can't be
installed as root.

[Yocto #7545]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosubversion_1.8.13.bb: Upstream-Status updated to Accepted
Jose Lamego [Tue, 14 Jul 2015 09:01:38 +0000 (09:01 +0000)]
subversion_1.8.13.bb: Upstream-Status updated to Accepted

Upstream-Status changed to Accepted due to [1]

[1] http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/serf.m4?r1=1594156&r2=1689824

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap: control attr PACKAGECONFIG via xattr DISTRO feature
Andre McCurdy [Thu, 16 Jul 2015 01:58:08 +0000 (18:58 -0700)]
libcap: control attr PACKAGECONFIG via xattr DISTRO feature

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap: avoid losing default Large File Support CFLAGS
Andre McCurdy [Thu, 16 Jul 2015 01:58:07 +0000 (18:58 -0700)]
libcap: avoid losing default Large File Support CFLAGS

-D_LARGEFILE64_SOURCE and -D_FILE_OFFSET_BITS=64 are present in the
default libcap CFLAGS. Add them to the OE CFLAGS too, so that they
are still in effect when the OE CFLAGS over-ride the defaults.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibcap: always link apps dynamically
Andre McCurdy [Thu, 16 Jul 2015 01:58:06 +0000 (18:58 -0700)]
libcap: always link apps dynamically

Without the explicit over-ride, apps will be linked statically
if a .git directory is found in the top level source directory.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolocal.conf.sample: Added /tmp to BB_DISKMON_DIRS
Mariano Lopez [Wed, 15 Jul 2015 11:17:48 +0000 (11:17 +0000)]
local.conf.sample: Added /tmp to BB_DISKMON_DIRS

If the there is no space left in /tmp the build
will fail with very exotic errors. This monitor
the space of /tmp.

[YOCTO #8000]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/3.19: drm and axxia updates
Bruce Ashfield [Thu, 16 Jul 2015 05:03:06 +0000 (01:03 -0400)]
linux-yocto/3.19: drm and axxia updates

Bumping the 3.19 SRCREVs for the following fixes:

  e152349de59b drm/i915: Reset CSB read pointer in ring init
  a87a6ffb3459 drm/i915/bdw: Enable execlists by default where supported
  a70b2eb273ef meta: axxiaarm: add configuration fragments

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/3.14: fix gcc 4.9.4/5.1 build issues, yaffs2 memory leak
Bruce Ashfield [Thu, 16 Jul 2015 05:03:05 +0000 (01:03 -0400)]
linux-yocto/3.14: fix gcc 4.9.4/5.1 build issues, yaffs2 memory leak

Updating the 3.14 SRCREVs for the following commits:

  7534aeb01883 yaffs2: fix memory leak in mount/umount
  4287412436cb MIPS: Fix build with binutils 2.24.51+

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: upgrade to 2.4.0-rc0
Cristian Iorga [Thu, 16 Jul 2015 17:30:06 +0000 (20:30 +0300)]
qemu: upgrade to 2.4.0-rc0

- Get rid of direct use of gnutls APIs in quorum
blockdrv in favour of using the crypto APIs.
- Convert VNC websockets to use crypto APIs.
- quorum and vnc-ws packageconfig options no
longer exist, removed.
- All previous CVE are now included.
- larger_default_ram_size.patch patch removed,
no longer necessary.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk-icon-utils: Rename, upgrade, add binary
Jussi Kukkonen [Tue, 9 Jun 2015 13:46:38 +0000 (16:46 +0300)]
gtk-icon-utils: Rename, upgrade, add binary

* Rename from gtk-update-icon-cache to gtk-icon-utils to better
  reflect the content. Fix references in other recipes and classes
* Upgrade to GTK+ 3.16.4
* Add gtk-encode-symbolic-svg binary: it is used by icon themes
  (e.g. Adwaita) to generate png versions of svg icons.
* Depend on librsvg-native for gtk-encode-symbolic-svg
* Add a patch that removes Gdk dependency from gtk-encode-symbolic-svg:
  this way the native build stays slim.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/recipeutils: fix replace_dir_vars to return the correct variables
Paul Eggleton [Tue, 14 Jul 2015 21:56:00 +0000 (22:56 +0100)]
lib/oe/recipeutils: fix replace_dir_vars to return the correct variables

If we sort by length of name here we get the variables we are interested
in first. I've tested this with all of the variables we care about (the
ones at the top of bitbake.conf) and it returns the right results.

This fixes the failures we've been seeing in the oe-selftest
test_recipetool_appendfile_* tests.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate.bbclass: remove redundant cd and mkdir commands
Andre McCurdy [Wed, 15 Jul 2015 00:54:42 +0000 (17:54 -0700)]
sstate.bbclass: remove redundant cd and mkdir commands

Update sstate_create_package and sstate_unpack_package to remove
redundant initial mkdir and cd commands. The working directory is
now setup correctly before the shell functions are called.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/devtool: add useful failure messages for some test cases
Costin Constantin [Wed, 15 Jul 2015 13:04:50 +0000 (16:04 +0300)]
oeqa/devtool: add useful failure messages for some test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: fix qemu user mode linux for qemuarm64
Cristian Iorga [Wed, 15 Jul 2015 07:58:02 +0000 (10:58 +0300)]
bitbake.conf: fix qemu user mode linux for qemuarm64

OLDEST_KERNEL is invalid for aarch64, it didn't exist
back in our current version. Use a more recent version
for aarch64 to allow user mode qemu to work correctly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
9 years agorunqemu-internal: add temporary disk interface to qemuarm64
Cristian Iorga [Tue, 7 Jul 2015 13:44:58 +0000 (16:44 +0300)]
runqemu-internal: add temporary disk interface to qemuarm64

Starting with qemu 2.4, a disk needs be attached via a specified
interface, even if that interface is none. In case of qemuarm64
machine, the board is virtual, so a none interface it works
correctly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
9 years agooeqa/buildoptions: add useful failure messages for all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:11 +0000 (14:31 +0300)]
oeqa/buildoptions: add useful failure messages for all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/bblayers.py: add useful failure messages to all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:10 +0000 (14:31 +0300)]
oeqa/bblayers.py: add useful failure messages to all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/bbtests: add useful failure messages for all test cases
Costin Constantin [Tue, 14 Jul 2015 11:31:09 +0000 (14:31 +0300)]
oeqa/bbtests: add useful failure messages for all test cases

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman-conf: fix SRC_URI_append
Martin Jansa [Tue, 14 Jul 2015 12:36:45 +0000 (14:36 +0200)]
connman-conf: fix SRC_URI_append

* add leading space so that it works even with some .bbappend adding
  additional files to SRC_URI without trailing space

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/logging: allow shell message functions to work in devshell
Paul Eggleton [Tue, 14 Jul 2015 08:54:46 +0000 (09:54 +0100)]
classes/logging: allow shell message functions to work in devshell

Fix a regression caused by the shell message changes - if you run a
shell task's runfile, the task isn't actually running in BitBake and
thus the message FIFO won't exist - so we should just fall back to
printing the message with echo as we did before so that the run files
are still useful.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoUse die() or bbfatal_log() where the log should definitely be printed
Paul Eggleton [Mon, 13 Jul 2015 15:20:03 +0000 (16:20 +0100)]
Use die() or bbfatal_log() where the log should definitely be printed

Change calls to bbfatal() to either die() or bbfatal_log() where we know
we want the full log to be printed by the UI (calling bberror or bbfatal
would otherwise suppress it since the change to connect these functions
through to the UI.) bbfatal() is still fine to use where there is enough
context information in the message such that the log isn't needed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/base: fix die() to print the full log
Paul Eggleton [Mon, 13 Jul 2015 15:30:09 +0000 (16:30 +0100)]
classes/base: fix die() to print the full log

The recent change to connect through the shell logging functions caused
a regression - bb.error() and bb.fatal() cause a flag to be set
internally such that BitBake's UI will not print the full task log on
failure; unfortunately we have in a lot of places called die() or
bbfatal() within shell functions with a very terse message as a means of
exiting out, where we still want to see the full log (and we were
previously). We do still want to have fatal errors with proper messages
that don't result in the full log being printed, however we can't ignore
the typical usage of die(). Having added a mechanism to BitBake to log an
error and reset the flag, create a bbfatal_log() function that uses this
and call it from die() to restore the previous behaviour.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/useradd: don't read bbnote/bbwarn/bbfatal values
Paul Eggleton [Mon, 13 Jul 2015 14:26:28 +0000 (15:26 +0100)]
classes/useradd: don't read bbnote/bbwarn/bbfatal values

Since these functions now log through BitBake's message logging system
we must have standalone implementations here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoguile: Add explicit directories to guile_cross_config
Ross Burton [Tue, 14 Jul 2015 14:50:05 +0000 (15:50 +0100)]
guile: Add explicit directories to guile_cross_config

guile_cross_config() was using relative paths which mean it depends on exactly
what directory it starts in.  To clarify the code, always use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agochkconfig: use explicit directories in obey_variables()
Ross Burton [Tue, 14 Jul 2015 14:49:13 +0000 (15:49 +0100)]
chkconfig: use explicit directories in obey_variables()

obey_variables() was using relative paths which mean it depends on exactly what
directory it starts in.  To clarify the code, always use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodmidecode: use absolute paths in fixup task
Ross Burton [Tue, 14 Jul 2015 14:40:24 +0000 (15:40 +0100)]
dmidecode: use absolute paths in fixup task

The calls to sed use relative paths so they depend on the directory the task
starts in.  To clarify the code, use absolute paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodepmodwrapper-cross: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:38:43 +0000 (15:38 +0100)]
depmodwrapper-cross: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemuwrapper-cross: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:38:03 +0000 (15:38 +0100)]
qemuwrapper-cross: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopkg-arch-config: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:37:33 +0000 (15:37 +0100)]
opkg-arch-config: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd-compat-units: set S correctly
Ross Burton [Tue, 14 Jul 2015 14:36:59 +0000 (15:36 +0100)]
systemd-compat-units: set S correctly

This recipe doesn't unpack any source, so set S to ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognupg: fix build of GPLv2 version of gnupg with gcc 5
Andre McCurdy [Sat, 11 Jul 2015 07:30:24 +0000 (00:30 -0700)]
gnupg: fix build of GPLv2 version of gnupg with gcc 5

Force gcc's traditional handling of inline to avoid issues with gcc 5.

Upstream gnupg has a more specific fix, however it was made after
gnupg was relicensed to GPLv3 so may be unsafe to backport directly.

  http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=5093bed27580e608de073bcc5953bd76b6b8b2de

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolighttpd: Fix mod_cgi to avoid it buffers data without bound.
Li xin [Mon, 13 Jul 2015 08:06:26 +0000 (16:06 +0800)]
lighttpd: Fix mod_cgi to avoid it buffers data without bound.

If there is a CGI that provides a continuous stream of data,
If lighttpd client reads slower then the CGI is pushing the data,
then lighttpd's buffers will grow until the (embedded) machine OOMs.

Ref: http://redmine.lighttpd.net/issues/1264

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: update the status of configurable root patch
Umut Tezduyar Lindskog [Mon, 13 Jul 2015 07:28:04 +0000 (09:28 +0200)]
systemd: update the status of configurable root patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel: fix path assumptions in tasks
Ross Burton [Wed, 8 Jul 2015 14:16:51 +0000 (15:16 +0100)]
kernel: fix path assumptions in tasks

Several of the kernel class tasks were making assumptions about what directory
they were executed in.  Clarify the code by making paths absolute or passing -C
to oe_runmake.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibc-package: don't abuse B to change directory
Ross Burton [Wed, 8 Jul 2015 10:22:50 +0000 (11:22 +0100)]
libc-package: don't abuse B to change directory

Currently if exec_func() isn't told what directories to create and change to, it
uses B. This is not obvious and may be changed in the future.

Instead, pass -C<dir> to oe_runmake.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython: add explicit directories in py_package_preprocess
Ross Burton [Tue, 7 Jul 2015 22:55:15 +0000 (23:55 +0100)]
python: add explicit directories in py_package_preprocess

py_package_preprocess() was using relative paths which mean it depends on
exactly what directory it starts in.  To clarify the code, always use absolute
paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost: add dirs flag to boostconfig task
Ross Burton [Tue, 7 Jul 2015 22:30:30 +0000 (23:30 +0100)]
boost: add dirs flag to boostconfig task

The boostconfig task expects to run in ${S} so make that explicit.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest: add dirs flag to ptest tasks
Ross Burton [Tue, 7 Jul 2015 22:30:22 +0000 (23:30 +0100)]
ptest: add dirs flag to ptest tasks

The ptest configure/compile/install tasks mirror the base
configure/compile/install tasks, so add an explicit dirs flag to ensure they
mkdir() and chdir() the right directory.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocreate-pull-request: Fix error on 2.0 versions of git
Ben Shelton [Mon, 4 Aug 2014 18:55:49 +0000 (13:55 -0500)]
create-pull-request: Fix error on 2.0 versions of git

On 2.0 versions of git, the create-pull-request script exits with the
warning "No match for commit... Are you sure you pushed 'HEAD' there?".

This is due to a change in behavior where git used to guess the branch
you meant, but no longer does.  See the thread at
http://www.spinics.net/lists/git/msg233050.html for more information.

To accommodate the new behavior, if the COMMIT_ID is set to the default
of "HEAD", make it point explicitly to $BRANCH instead.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrep: use internal regex library with musl-libc
Andre McCurdy [Tue, 14 Jul 2015 08:30:30 +0000 (01:30 -0700)]
grep: use internal regex library with musl-libc

musl does not have the GNU regex API provided by glibc.

  http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Regular_expressions

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: add PACKAGECONFIG for valgrind
Chen Qi [Mon, 13 Jul 2015 08:43:29 +0000 (16:43 +0800)]
systemd: add PACKAGECONFIG for valgrind

Execute `bitbake valgrind && bitbake systemd -c cleansstate && bitbake
systemd -c configure && bitbake valgrind -c cleansstate && bitbake systemd
-c compile', and we would get the following error.

   src/libsystemd/sd-bus/bus-control.c: fatal error: valgrind/memcheck.h: No such file or directory.

Add PACKAGECONFIG option to sovle this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopiglit: Fix floating dependency on freeglut
Roy Li [Tue, 14 Jul 2015 07:08:25 +0000 (15:08 +0800)]
piglit: Fix floating dependency on freeglut

71158fa1a623125[fix floating dependence on freeglut] is incomplete,
so continue by removing glut.h header file when not enable freeglut

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: recommend the vconsole setup units
Ross Burton [Mon, 13 Jul 2015 15:27:45 +0000 (16:27 +0100)]
systemd: recommend the vconsole setup units

systemd's early boot wants to run the vconsole setup units.  They were split out
so that systems without visible consoles don't need the overhead of packaging
kbd etc, but we should pull them in by default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognu-config: set noexec for do_compile
Robert Yang [Mon, 13 Jul 2015 10:02:43 +0000 (03:02 -0700)]
gnu-config: set noexec for do_compile

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: print PN when bbwarn
Robert Yang [Mon, 13 Jul 2015 10:02:41 +0000 (03:02 -0700)]
glibc: print PN when bbwarn

The current warning is:
WARNING: glibc: unable to generate header for spray.x

Which is easier to debug than:
WARNING: unable to generate header for spray.x

And remove the file before generate it again to fix the warning when
recompile:
file `bootparam_prot.h' already exists and may be overwritten
WARNING: unable to generate header for bootparam_prot.x
file `nlm_prot.h' already exists and may be overwritten
WARNING: unable to generate header for nlm_prot.x
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonewt: enable native builds
Ross Burton [Fri, 10 Jul 2015 22:52:01 +0000 (23:52 +0100)]
newt: enable native builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoslang: enable native builds
Ross Burton [Fri, 10 Jul 2015 22:51:53 +0000 (23:51 +0100)]
slang: enable native builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIG
Martin Jansa [Thu, 2 Jul 2015 13:03:11 +0000 (15:03 +0200)]
mesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIG

* commit a5ebdb6ad8e4f94ac819275d55575230e057e4ae
  Author: Valentin Popa <valentin.popa@intel.com>
  Date:   Tue Feb 18 13:32:16 2014 +0200
  Subject: mesa: upgrade to 9.2.5

  introduced this do_install_append, but doesn't explain why it doesn't
  respect MESA_EGL_NO_X11_HEADERS flag anymore.

  Not respecting MESA_EGL_NO_X11_HEADERS breaks any build which is using
  qtdeclarative+egl in distribution which has x11 in mesa PACKAGECONFIG
  (e.g. my bitbake world builds).

  The problem is that qtdeclarative is using "None" symbol in
  QSGTexture::Filtering enum, it's possible to rename it in qtdeclarative,
  but it's quite invasive and changes qtdeclarative public APIs, see:
  https://github.com/webOS-ports/meta-webos-ports/commit/31aa85787a7513e279165a25f6f06ea72c576314
  so it was rejected by upstream and I don't want to maintain it in
  meta-qt5 - changing public API in OE build is even worse than if upstream
  does it.

* This change returns MESA_EGL_NO_X11_HEADERS flag so it's relatively
  easy to resolve this conflict in such setups by preventing Xlib.h
  inclusion.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel-yocto: fix machine_srcrev check in do_patch
Petter Mabäcker [Wed, 8 Jul 2015 19:02:03 +0000 (21:02 +0200)]
kernel-yocto: fix machine_srcrev check in do_patch

do_patch is currently doing checks with machine_srcrev without initiate
it which leads to below (additional debug added):

 DEBUG: Executing shell function do_patch
 .
 .
 .
 + [ 0 -ne 0 ]
 + [  != AUTOINC ]
 + git rev-parse --verify ~0
 fatal: Needed a single revision
 + git merge-base HEAD
 usage: git merge-base [-a|--all] <commit> <commit>...
    or: git merge-base [-a|--all] --octopus <commit>...
    or: git merge-base --independent <commit>...
    or: git merge-base --is-ancestor <commit> <commit>
    or: git merge-base --fork-point <ref> [<commit>]

     -a, --all             output all common ancestors
     --octopus             find ancestors for a single n-way merge
     --independent         list revs not reachable from others
     --is-ancestor         is the first one ancestor of the other?
     --fork-point          find where <commit> forked from reflog of <ref>

 + [  =  ]
 + set +x
 DEBUG: Shell function do_patch finished

Only reason it works today is because 'rev-parse/merge-base' with empty machine_srcrev
will result in "false positive". Solve this by adding a similar non-empty check and
use SRCREV as fallback as in 'do_kernel_metadata'

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinitrdscripts: handle mmc device as installer medium
Awais Belal [Tue, 7 Jul 2015 07:43:37 +0000 (12:43 +0500)]
initrdscripts: handle mmc device as installer medium

Platforms which have the capability of using the MMC as an
installer medium will present the same MMC device as an
installation candidate. This happens because the MMC
devices appear as mmcblk<X> and the current script strips
up the <X> which is needed to identify an MMC device
uniqely.
This patch now updates the way device identifier stripping
is done and handles the exclusion of installer device from
installation candidates more generically.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext-minimal-native: use MKIDR_P in Makefile.in.in
Wenzong Fan [Fri, 3 Jul 2015 08:08:45 +0000 (16:08 +0800)]
gettext-minimal-native: use MKIDR_P in Makefile.in.in

The Makefile.in.in provided by gettext-minimal-native will be copied
to many packages that need gettext to produce multi-lingual messages.

Replace mkdir_p with MKDIR_P to fix below errors from those packages'
install logs:

  /bin/sh: 6: @mkdir_p@: not found
  /usr/bin/install: cannot create regular file 'xxx'

As automake manual:

From Automake 1.8 to 1.9.6 AM_PROG_MKDIR_P used to define the output
variable mkdir_p to one of mkdir -p, install-sh -d, or mkinstalldirs.

Nowadays Autoconf provides a similar functionality with AC_PROG_MKDIR_P,
it will set output variable MKDIR_P.

Automake manual advises to switch ASAP to the more modern Autoconf-provided
interface instead; both the macro and the variable have been removed from
Automake 1.12.1 and later releases.

Signe-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoperf: Modify SPDX_S directory to avoid do_spdx error.
Li xin [Fri, 26 Jun 2015 08:01:26 +0000 (16:01 +0800)]
perf: Modify SPDX_S directory to avoid do_spdx error.

This is because S = "${STAGING_KERNEL_DIR}".

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodo_unpack: move qa check of unpack into insane.bbclass
Bian Naimeng [Fri, 3 Jul 2015 03:47:47 +0000 (11:47 +0800)]
do_unpack: move qa check of unpack into insane.bbclass

Some source archive are not standard format.
For example, sometimes, we still need decompress file once again after base_do_unpack,
in such case, the following warning will be caught.

 WARNING: xxx : the directory ${WORKDIR}/xxxx (xxxxxx) pointed to by the S variable doesn't exist \
 - please set S within the recipe to point to where the source has been unpacked to

So, we should do this QA check after all of unpack jobs been completed.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng: Fix timer calculation error
Jianchuan Wang [Fri, 10 Jul 2015 06:33:12 +0000 (14:33 +0800)]
lttng: Fix timer calculation error

Fix timer calculation error in the lttng-tools/lttng-ust

Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibdrm: Upgrade to 2.4.62
Steffen Pankratz [Thu, 9 Jul 2015 13:41:35 +0000 (13:41 +0000)]
libdrm: Upgrade to 2.4.62

Signed-off-by: Steffen Pankratz <steffen.pankratz@elektrobit.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoexpect: replace the STAGING_INCDIR with includedir
Yue Tao [Thu, 28 May 2015 07:24:32 +0000 (15:24 +0800)]
expect: replace the STAGING_INCDIR with includedir

The build path is included in expect-dev rpm package. It should not set
the STAGING_INCDIR statically. The includedir will be replaced with
appropriate value in different stage.

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
9 years agomidori: Depend on Adwaita, not gnome-icon-theme
Jussi Kukkonen [Mon, 8 Jun 2015 11:49:39 +0000 (14:49 +0300)]
midori: Depend on Adwaita, not gnome-icon-theme

Adwaita is the current GNOME icon theme.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agosato-icon-theme: Inherit Adwaita, not gnome-icon-theme
Jussi Kukkonen [Mon, 8 Jun 2015 10:58:28 +0000 (13:58 +0300)]
sato-icon-theme: Inherit Adwaita, not gnome-icon-theme

Adwaita is the current GNOME icon theme.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agomatchbox-session-sato: set GTK_CSD env var
Jussi Kukkonen [Thu, 4 Jun 2015 11:29:54 +0000 (14:29 +0300)]
matchbox-session-sato: set GTK_CSD env var

Sato practically requires server side decorations as matchbox panel
draws on top of the title bar. Setting "GTK_CSD=0" informs GTK+3
that we really want server side decorations even for apps designed
for CSD.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agogtk+3: Upgrade to 3.16.4
Jussi Kukkonen [Wed, 1 Apr 2015 18:36:47 +0000 (21:36 +0300)]
gtk+3: Upgrade to 3.16.4

* Drop --disable-gtk2-dependency and the patch for
  gtk/native/Makefile.am: gtk-update-icon-cache is no longer used at
  build time and as a result the option was removed.
* Add dependency to libepoxy
* Add dependency to virtual/mesa for wayland-egl
* Package new binaries gtk3-icon-browser and gtk-encode-symbolic-svg
* Add a backported patch that allows server side window decorations
  in all cases
* RRECOMMEND adwaita-icon-theme-symbolic: GTK+ widgets expect a
  symbolic theme to be installed

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agoadwaita-icon-theme: Add new icon theme for GTK+
Jussi Kukkonen [Fri, 5 Jun 2015 10:47:03 +0000 (13:47 +0300)]
adwaita-icon-theme: Add new icon theme for GTK+

Adwaita is a complete icon theme for GTK+, and the current GNOME icon
theme. Most importantly it includes the symbolic icons used extensively
in GTK+3 widgets.
* Package icons, large icons, symbolic icons and cursors separately
* Backport a build fix for the cursor theme to cut installed size by
  11MB.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agocombo-layer: implement --hard-reset option
Markus Lehtonen [Wed, 8 Jul 2015 10:59:49 +0000 (13:59 +0300)]
combo-layer: implement --hard-reset option

This option causes combo-layer to do git fetch and hard reset instead of
git pull in the component repositories. This makes sure that the local
component repositories are always in sync with the remote - tolerating
force pushes and overriding any locally made changes.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocombo-layer: only allow fast-forward when pulling
Markus Lehtonen [Wed, 8 Jul 2015 10:59:48 +0000 (13:59 +0300)]
combo-layer: only allow fast-forward when pulling

Only allow fast-forward merges in the component repositories when doing
git-pull. This makes it possible to spot problems (i.e. rewriting of
history) in the component upstream . Also, this change prevents the
creation of local-only merge commits in the component repositories.
These merges cause "last_revision" field of the combo-layer config to
point to a git commit that is only present in the users local component
repository but nowhere in upstream.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoapr: Fix packet discards HTTP redirect
Li Wang [Wed, 8 Jul 2015 07:53:19 +0000 (15:53 +0800)]
apr: Fix packet discards HTTP redirect

Disconnect the connection by poll() timeout.
If timeout=0 and apr_wait_for_io_or_timeout()=APR_TIMEUP then
apr_socket_recv() returns EAGAIN.

Signed-off-by: Noriaki Yoshitane <yoshitane.nrs@cnt.ncos.nec.co.jp>
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-io: Add runtime dependency on contextlib
Ash Charles [Tue, 7 Jul 2015 21:22:54 +0000 (14:22 -0700)]
python-io: Add runtime dependency on contextlib

The python-io package includes ssl.py module which imports the
contextlib library.

This applied to Python 2.7.9 but not 3.3.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: Check if /tmp is writable
Mariano Lopez [Tue, 7 Jul 2015 11:17:40 +0000 (11:17 +0000)]
sanity.bbclass: Check if /tmp is writable

Used mkstemp instead of raw open file call.
Also added the exception message to the output of
the sanity check.

[YOCTO #7922]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory.bbclass: Check output folder is present before creating files-in-$pkg.txt
Leonardo Sandoval [Tue, 30 Jun 2015 11:19:40 +0000 (11:19 +0000)]
buildhistory.bbclass: Check output folder is present before creating files-in-$pkg.txt

This is just a safe check to make sure the output folder is present, before
creating the files-in-$pkg.txt file.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodbus-ptest: set INSANE_SKIP for build-deps
Robert Yang [Mon, 13 Jul 2015 10:02:42 +0000 (03:02 -0700)]
dbus-ptest: set INSANE_SKIP for build-deps

Skip the warning for dbus-ptest:
dbus-1.8.18: dbus-ptest rdepends on dbus-test-ptest, but it isn't a build dependency? [build-deps]

We add dbus-test to dbus' DEPENDS to fix the problem usually, but
dbus-test DEPENDS on dbus, so we can't do that, use INSANE_SKIP to fix
the problem.

(From OE-Core rev: 7bf27752cdfcb83a951086d6e5609593c79437c3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-xorg: remove invalid ac_cv_file__usr_share_sgml_X11_defs_ent
Robert Yang [Mon, 13 Jul 2015 10:04:32 +0000 (03:04 -0700)]
xserver-xorg: remove invalid ac_cv_file__usr_share_sgml_X11_defs_ent

There is no ac_cv_file__usr_share_sgml_X11_defs_ent in configure, can't
find it in config.log after remove, either.

(From OE-Core rev: 27bd0a27a879cfc31062fbb2b1a04431d5541c55)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoapt: remove invalid ac_cv_glibc_ver
Robert Yang [Mon, 13 Jul 2015 10:04:31 +0000 (03:04 -0700)]
apt: remove invalid ac_cv_glibc_ver

There is no ac_cv_glibc_ver in configure, can't find it
in config.log after remove, either.

(From OE-Core rev: 945e2bf6845b052eeb5101033c4770d766142bb1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>