]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agoxf86-video-vmware: update to 13.0.2
Ross Burton [Tue, 22 Jul 2014 18:38:18 +0000 (19:38 +0100)]
xf86-video-vmware: update to 13.0.2

Rebase the patch to add an option to disable vmwgfx, and add a patch from
upstream git to fix builds without xatracker.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdk-pixbuf: upgrade to 2.30.8
Ross Burton [Tue, 22 Jul 2014 18:38:17 +0000 (19:38 +0100)]
gdk-pixbuf: upgrade to 2.30.8

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibice: upgrade to 1.0.9
Ross Burton [Tue, 22 Jul 2014 18:38:16 +0000 (19:38 +0100)]
libice: upgrade to 1.0.9

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome-common: upgrade to 3.12.0
Ross Burton [Tue, 22 Jul 2014 18:38:15 +0000 (19:38 +0100)]
gnome-common: upgrade to 3.12.0

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-atk: upgrade to 2.12.1
Ross Burton [Tue, 22 Jul 2014 18:38:14 +0000 (19:38 +0100)]
at-spi2-atk: upgrade to 2.12.1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinputproto: upgrade to 2.3.1
Ross Burton [Tue, 22 Jul 2014 18:38:13 +0000 (19:38 +0100)]
inputproto: upgrade to 2.3.1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxfont: upgrade to 1.5.0
Ross Burton [Tue, 22 Jul 2014 18:38:12 +0000 (19:38 +0100)]
libxfont: upgrade to 1.5.0

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontsproto: upgrade to 2.1.3
Ross Burton [Tue, 22 Jul 2014 18:38:11 +0000 (19:38 +0100)]
fontsproto: upgrade to 2.1.3

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-module-split.bbclass: Allow autoloading multiple modules or modules where...
Martin Jansa [Mon, 21 Jul 2014 21:40:47 +0000 (23:40 +0200)]
kernel-module-split.bbclass: Allow autoloading multiple modules or modules where basename != module name

* new KERNEL_MODULE_AUTOLOAD syntax doesn't support modules where basename and
  module name don't match (usually - and _), e.g.:

  module_autoload_bq27x00_battery = "bq27x00-battery"

* sometimes it's useful to load modules in particular order and
  module_autoload allowed to just list multiple modules, e.g.:

  module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-s3c24xx snd_soc_s3c24xx_i2s snd-soc-dfbmcs320 snd-soc-wm8753 snd-soc-neo1973-wm8753"
  or
  module_autoload_g_ether = "s3c2410_udc g_ether"

  restore this possibility which is useful for incorrect dependencies
  between modules

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-base: get caps from src pad when query caps in gsttagdemux
Wang Zidan [Tue, 22 Jul 2014 06:49:24 +0000 (14:49 +0800)]
gstreamer1.0-plugins-base: get caps from src pad when query caps in gsttagdemux

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-base: do not change eos event to gap event if no data has passed...
Wang Zidan [Tue, 22 Jul 2014 06:49:23 +0000 (14:49 +0800)]
gstreamer1.0-plugins-base: do not change eos event to gap event if no data has passed to streamsynchronizer.

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0: pass rate of input segment to output segment in gstbaseparse.
Wang Zidan [Tue, 22 Jul 2014 06:49:22 +0000 (14:49 +0800)]
gstreamer1.0: pass rate of input segment to output segment in gstbaseparse.

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-libav: avoid using non-growable pool for videodec
Wang Zidan [Tue, 22 Jul 2014 06:49:21 +0000 (14:49 +0800)]
gstreamer1.0-libav: avoid using non-growable pool for videodec

Using growable pool with at least 32 buffers for decoders.

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer: fix a bug for gstbaseparse
Wang Zidan [Tue, 22 Jul 2014 06:49:20 +0000 (14:49 +0800)]
gstreamer: fix a bug for gstbaseparse

self-comparison will always evaluates to true.

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-plugins-good: fix integer overrun for mulawdec
Wang Zidan [Tue, 22 Jul 2014 06:49:19 +0000 (14:49 +0800)]
gst-plugins-good: fix integer overrun for mulawdec

There might be more than 65535 samples in a chunk of data, so use
32 bit integer instead of 16 bit.

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-installer: fix sed input file error
Chong Lu [Tue, 22 Jul 2014 03:16:52 +0000 (11:16 +0800)]
adt-installer: fix sed input file error

When use default install directory, we can't get the environment setup
script path. The reason is that opkg-cl list incorrect files paths.
This patch sets env_script variable to make us get correct environment
setup script path.

[YOCTO #6443]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: change dependency relationships
Chen Qi [Tue, 22 Jul 2014 02:45:04 +0000 (10:45 +0800)]
systemd: change dependency relationships

When building out a systemd based image, the udev-hwdb postinstall
script always fails at rootfs time. This is because that the 'udevadm'
command used in udev-hwdb postinstall script is now in the udev
package and udev recommends udev-hwdb.

Instead of letting udev recommends udev-hwdb, we let systemd do it
and make udev-hwdb rdepend on udev.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: fix the behavior of su
Chen Qi [Tue, 22 Jul 2014 02:32:15 +0000 (10:32 +0800)]
shadow: fix the behavior of su

In systems where bash is not installed and /bin/sh is provided by
busybox. Commands like `su -l -c '/home/root/test' xuser' would fail
complaining the the 'su' applet could not be found.

This patch references the old version of shadow to keep the behaviour
the way it was in old version so that we would avoid the problem mentioned
above.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add signal handling
Darren Hart [Mon, 21 Jul 2014 23:46:50 +0000 (23:46 +0000)]
mkefidisk.sh: Add signal handling

Add basic signal handling to unmount and remove any temporary files.
Correct a quoting issue with the die() function caught testing signal
handling.
Fix a minor typo in "formatting" output.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Fix redirection to 1
Darren Hart [Mon, 21 Jul 2014 22:45:57 +0000 (22:45 +0000)]
mkefidisk.sh: Fix redirection to 1

The current script intends to redirect stderr to stdout, but instead
redirects to a file named 1. No doubt a regex replace error.

Replace all instances of 2>1 with 2>&1.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: mdev: Ensure /dev/initctl exists after tmpfs mount
Ben Shelton [Mon, 21 Jul 2014 16:53:47 +0000 (11:53 -0500)]
busybox: mdev: Ensure /dev/initctl exists after tmpfs mount

During boot, there is a brief window during which /dev/initctl is
missing, which breaks initscripts that would need to access it. This
occurs because /etc/init.d/mountall.sh (rcS.d/S02...) attempts to ensure
/dev/initctl is present, but /etc/init.d/mdev (rcS.d/S06...) mounts over
/dev and clobbers the work done by mountall, and then does not wait
synchronously until initctl is ready before continuing.

To close this window, in /etc/init.d/mdev, we check whether /dev/initctl
is present, and if not, we remove it and recreate it.  This is the same
thing that is done by /etc/init.d/mountall.sh, and we have verified that
any writers of /dev/initctl will wait synchronously until sysvinit
notices the change in fd and does the read, so no race exists.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: mdev: Use mdev.seq
Bill Pittman [Mon, 21 Jul 2014 16:53:46 +0000 (11:53 -0500)]
busybox: mdev: Use mdev.seq

/dev/mdev.seq exists to synchronize concurrently running instances of
mdev and to ensure that they execute in the proper order.  Without this
synchronization, it is possible to have inconsistent mount points, to
leak device nodes, or to have a node erroneously removed in rapid
hotplug scenarios.

Enable the use of mdev.seq by creating an empty /dev/mdev.seq at boot.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: mdev: Make /dev/shm world-writable
Gratian Crisan [Mon, 21 Jul 2014 16:53:45 +0000 (11:53 -0500)]
busybox: mdev: Make /dev/shm world-writable

Otherwise, users cannot use named semaphores or shared memory.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Remove initrd entry for gummiboot
Darren Hart [Mon, 21 Jul 2014 16:12:48 +0000 (09:12 -0700)]
mkefidisk.sh: Remove initrd entry for gummiboot

My previous patch adding gummiboot support was missing the line to
remove the initrd line from the boot config. This was an oversight in
copying over the grub setup to gummiboot. Add the necessary logic to
remove it.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: Fix PPTP VPN plugin QA issue
Jukka Rissanen [Mon, 21 Jul 2014 12:59:09 +0000 (15:59 +0300)]
connman: Fix PPTP VPN plugin QA issue

This error was seen when building ConnMan. Fixed by not
building ConnMan pptp plugin with module versioning info.

ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: connman-plugin-vpn-pptp path '/work/core2-32-oe-linux/connman/1.24+gitAUTOINC+42779cd63c-r20/packages-split/connman-plugin-vpn-pptp/usr/lib/connman/scripts/libppp-plugin.so' [dev-so]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass/rootfs.py: add variables to rootfs[vardeps]
Roxana Ciobanu [Mon, 21 Jul 2014 15:55:13 +0000 (18:55 +0300)]
image.bbclass/rootfs.py: add variables to rootfs[vardeps]

Added base variables and package backend specific variables to
rootfs[vardeps] in order for rootfs to rebuild when changes are made.

Set some variables as [func] to inform bitbake that they are shell
scripts, so that it invokes its shell dependency parsing. Without
marking them as functions, changes in the actual function body would
not trigger rootfs rebuilds.

[YOCTO #6502]

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowget: Remove unneeded DEPENDS line
Richard Purdie [Mon, 21 Jul 2014 18:10:20 +0000 (19:10 +0100)]
wget: Remove unneeded DEPENDS line

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: Disable use of GTK+ when not using X11
Otavio Salvador [Fri, 18 Jul 2014 16:47:06 +0000 (13:47 -0300)]
alsa-tools: Disable use of GTK+ when not using X11

The GTK+3 does not provide support for DirectFB backend so we cannot
enable GTK+ features of alsa-tools in this case; GTK+2 does not provide
support for Wayland.

This patch changes GTK+ support to be enabled only when X11 support is
enabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: Add wget to buildtools-tarball
Tudor Florea [Sun, 20 Jul 2014 20:00:43 +0000 (22:00 +0200)]
buildtools-tarball: Add wget to buildtools-tarball

GNU Wget cannot be upgrated to a newer that 1.12 version on supported
Centos distro. GNU Wget 1.12 and earlier uses a server-provided filename
instead of the original URL to determine the destination filename of a
download.
This means the files downloaded when fetching cannot be properly used:
$ wget http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz
$ ls
eventlog_0.2.13.tar.gz?AWSAccessKeyId=AKIAICTJ5MANGPMOH7JA&Expires=1400838672&Signature=TjakOBpOvHtEKKDgF14iVinWpY0=
This in turn lead to build errors like:
WARNING: Failed to fetch URL http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz, attempting MIRRORS if available
ERROR: Fetcher failure for URL: 'http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz&#39;. The fetch command returned success for url http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz but /path/to/downloads/eventlog_0.2.13.tar.gz doesn't exist?!
ERROR: Function failed: Fetcher failure for URL: 'http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz&#39;. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /path/to/tmp/work/ppce500v2-enea-linux-gnuspe/eventlog/0.2.13-r0/temp/log.do_fetch.28302
ERROR: Task 4 (/path/to/poky/meta-openembedded/meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb, do_fetch) failed with exit code '1'

[YOCTO #6549]

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: Add PACKAGECONFIG for acl/attr
Richard Purdie [Mon, 21 Jul 2014 08:31:12 +0000 (09:31 +0100)]
shadow: Add PACKAGECONFIG for acl/attr

Otherwise builds are not deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibomxil-0.9.3: Remove versioning for .so files.
Drew Moseley [Sun, 20 Jul 2014 20:13:36 +0000 (16:13 -0400)]
libomxil-0.9.3: Remove versioning for .so files.

The so files installed by libomxil are not versioned and should
be installed without version-based symlinks so that omxregister-bellagio
can properly find and register them.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs: Remove the extraneous install directory
Saul Wold [Fri, 18 Jul 2014 17:05:14 +0000 (10:05 -0700)]
rootfs: Remove the extraneous install directory

The /install/tmp diectory is created during installation by
the smart package manager, we need to clean it up here

[YOCTO #6497]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopseudo: uprev to 1.6.1
Peter Seebach [Fri, 18 Jul 2014 18:49:25 +0000 (13:49 -0500)]
pseudo: uprev to 1.6.1

Pseudo now automatically tries to shut down the server after running
single commands under pseudo ("pseudo <cmd>"), which means it can
print a useless "server already offline" message in some cases. The
message has been changed to a debugging message only.

The glibc symbol versions for memcpy were being applied to non-x86
targets, unintentionally, which broke builds for at least some targets.
(But pseudo doesn't usually get built for targets so it didn't
get noticed right away.)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernelshark: Remove trace-cmd from the kernelshark package
Darren Hart [Fri, 18 Jul 2014 23:01:52 +0000 (23:01 +0000)]
kernelshark: Remove trace-cmd from the kernelshark package

Fixes [YOCTO 6550]

Images installing both trace-cmd and kernelshark would fail with:

error: file /usr/bin/trace-cmd conflicts between attempted installs of
kernelshark-1.2+git0+7055ffd37b-r3.core2_32 and
trace-cmd-1.2+git0+7055ffd37b-r3.core2_32

This patch removes ${bindir}/trace-cmd from the install prior to
packaging, as is already done with the ${datadir}.

Reported-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
(cherry picked from commit eb08ae8f729ef77329892d19b23ddfdaa7953de0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibatomics-ops: Extend to nativesdk
Richard Purdie [Fri, 18 Jul 2014 22:37:54 +0000 (22:37 +0000)]
libatomics-ops: Extend to nativesdk

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub_git: bump version, remove patch
Trevor Woerner [Fri, 11 Jul 2014 16:11:01 +0000 (12:11 -0400)]
grub_git: bump version, remove patch

A previously upstreamed patch has been applied. Bump the version to
incorporate this upstream update.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-video-intel: disable non-deterministic tests for libX11
Ross Burton [Thu, 17 Jul 2014 16:41:18 +0000 (17:41 +0100)]
xf86-video-intel: disable non-deterministic tests for libX11

libX11 et al are checked for at confgure time and tests optionally built.  As
these don't get installed we don't want to add build dependencies, but the
non-determinism means that builds can fail.

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 agoqemu: security patch for CVE-2014-3471
Daniel BORNAZ [Thu, 17 Jul 2014 12:24:11 +0000 (14:24 +0200)]
qemu: security patch for CVE-2014-3471

Qemu PCIe bus support is vulnerable to a use-after-free flaw. It could
occur via guest, when it tries to hotplug/hotunplug devices on the
guest.

A user able to add & delete Virtio block devices on a guest could use
this flaw to crash the Qemu instance resulting in DoS.

Originated-by: Marcel Apfelbaum <address@hidden>
Updated the qemu recipe to include the security patch.

Upstream-Status: Submitted

Signed-off-by: Daniel BORNAZ <daniel.bornaz@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: backport two patches to support e500mc/e6500
Ting Liu [Wed, 16 Jul 2014 10:00:21 +0000 (18:00 +0800)]
oprofile: backport two patches to support e500mc/e6500

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fix 64 bit process detection
Ting Liu [Wed, 16 Jul 2014 09:38:11 +0000 (17:38 +0800)]
strace: fix 64 bit process detection

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-numpy: add support for powerpc64 architecture
Ting Liu [Wed, 16 Jul 2014 09:38:10 +0000 (17:38 +0800)]
python-numpy: add support for powerpc64 architecture

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane.bbclass: avoid QA errors for n32 kernel
Ming Liu [Tue, 15 Jul 2014 05:26:59 +0000 (13:26 +0800)]
insane.bbclass: avoid QA errors for n32 kernel

A series of commits had been integrated to avoid qa checking code
throwing the bitsize not matched error for x32 kernel files, the
same logic is also needed by n32 kernel which was not addressed in
that series.

This commit extends the condition for n32 kernel files.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodiffstat: update to version 1.59
Chong Lu [Wed, 16 Jul 2014 08:52:05 +0000 (16:52 +0800)]
diffstat: update to version 1.59

Remove unneeded patches, since they're included in new version.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: update *LIBC_* linker relocation reglex
Ting Liu [Wed, 16 Jul 2014 10:35:58 +0000 (18:35 +0800)]
gcc: update *LIBC_* linker relocation reglex

* GLIBC_DYNAMIC_LINKER64 reglex does not work for rs6000/linux64.h,
  update it.
* it turns out that UCLIBC_DYNAMIC_LINKER reglex will strip the 32/64
  chars from UCLIBC_DYNAMIC_LINKER64/UCLIBC_DYNAMIC_LINKER32, add '\b'.
  my two PCs: Centos 6.5 (python 2.7.5) and Fedora 13 (python 2.7.3)

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: use pidfile in initscript
Richard Tollerton [Wed, 16 Jul 2014 21:28:32 +0000 (16:28 -0500)]
openssh: use pidfile in initscript

Stopping sshd must only kill the listening (top-level) daemon; it must
not stop any other sshd process, because those are forked ssh
connections which may include e.g. the connection that called
/etc/init.d/sshd stop.

This initscript uses "start-stop-daemon -x <exe>" for starting/stopping.
When that is provided by busybox, this behavior is broken:
`/etc/init.d/sshd stop` stops *all* sshd processes. This was caused by a
fix to busybox 1.20: 17eedcad9406c43beddab3906c8c693626c351fb
"ssd: compat: match -x EXECUTABLE by /proc/pid/exe too".

The fix is to use a pidfile. All initscripts in upstream openssh do this,
as does dropbear.

Acked-by: Gratian Crisan <gratian.crisan@ni.com>
Acked-by: Ken Sharp <ken.sharp@ni.com>
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc: rewritten tzselect as posix sh and move it to tzcode package
Hongxu Jia [Thu, 17 Jul 2014 05:53:10 +0000 (13:53 +0800)]
eglibc: rewritten tzselect as posix sh and move it to tzcode package

The problem is that this would cause bash installed to meta-toolchain,
the dependencies chain is:
meta-toolchain -> eglibc-utils -> bash
We should eliminate bash dependencies in anything core to a tiny system.

The eglibc-utils also provides eglibc-utils/usr/bin/zdump,
eglibc-utils/usr/bin/zic which all of them belonged to tzcode, so we
should split these three utils as tzcode package.

[YOCTO #6544]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: enable CONFIG_FEATURE_AWK_LIBM by default
Hongxu Jia [Thu, 17 Jul 2014 05:53:09 +0000 (13:53 +0800)]
busybox: enable CONFIG_FEATURE_AWK_LIBM by default

It was required by tzselect which is provided by eglibc utils.
The eglibc is a fundamental package, so enable math functions
of awk is reasonable.

Here is the error if we not enable that:
...
root@qemuarm:~# tzselect -c +4852+00220
awk: cmd. line:39: Math support is not compiled in
...

[YOCTO #6544]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodefault-distrovars/multilib: update license whitelists to use canonical names
Ross Burton [Wed, 16 Jul 2014 21:08:14 +0000 (22:08 +0100)]
default-distrovars/multilib: update license whitelists to use canonical names

Now that all licenses are canonicalised to SPDX names when processing, we need
to rename the whitelists to the match.

[RP: Fixed up multilib.bbclass too]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: canonicalise licenses when dealing with INCOMPATIBLE_LICENSE
Ross Burton [Thu, 17 Jul 2014 14:41:05 +0000 (15:41 +0100)]
license.bbclass: canonicalise licenses when dealing with INCOMPATIBLE_LICENSE

If INCOMPATIBLE_LICENSE=GPL-3.0 but the recipe sets LICENSE=GPLv3, the current
code won't trigger because they're different strings.

Fix this by attempting to canonicalise every license name to a SPDX name, so
both names in this example become GPL-3.0.

[ YOCTO #5622 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/test-remote-image: use the scriptpath module
Corneliu Stoicescu [Thu, 17 Jul 2014 16:11:47 +0000 (19:11 +0300)]
scripts/test-remote-image: use the scriptpath module

Use the scripts/lib/scriptpath module in order to standardize the adding of bitbake/lib and meta/lib to sys.path.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-selftest: add command-line parsing and options
Corneliu Stoicescu [Thu, 17 Jul 2014 15:10:43 +0000 (18:10 +0300)]
scripts/oe-selftest: add command-line parsing and options

[YOCTO #6453]

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Reduce output and add verbose flag
Darren Hart [Wed, 16 Jul 2014 14:16:04 +0000 (14:16 +0000)]
mkefidisk.sh: Reduce output and add verbose flag

Remove superfluous output from commands, add a -v verbose flag, and
cleanup output.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Make the rootfs copy the last step
Darren Hart [Wed, 16 Jul 2014 14:16:03 +0000 (14:16 +0000)]
mkefidisk.sh: Make the rootfs copy the last step

Copying the rootfs is the most time intensive task. Move it last so if
we are to encounter other errors, we do so quickly and error out.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add die() and cleanup() routines
Darren Hart [Wed, 16 Jul 2014 14:16:02 +0000 (14:16 +0000)]
mkefidisk.sh: Add die() and cleanup() routines

Currently the script will attempt to continue even after a fatal error.
Add a die() routine which will abort in the case of a fatal error and
call a cleanup() routine to unmount any images or devices and remove the
TMPDIR.

Move the variable assignment and directory creation earlier in the
script, making it more obvious what we need to clean up.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Improve logging
Darren Hart [Wed, 16 Jul 2014 14:16:01 +0000 (14:16 +0000)]
mkefidisk.sh: Improve logging

Add logging functions: error, warn, info, and success, using tput to add
color highlighting.

Use these routines throughout the script, replacing echo statements and
adding "|| error" in several places to eliminate silent failures. Add a
simple exit block which checks for issues encountered while running.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Copy the EFI dir recursively
Darren Hart [Wed, 16 Jul 2014 14:16:00 +0000 (14:16 +0000)]
mkefidisk.sh: Copy the EFI dir recursively

Rather than only copying the EFI/BOOT dir, copy the entire EFI dir
recursively. This allows for custom configurations to be enabled
implicitly with no extra work required.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add gummiboot support
Darren Hart [Wed, 16 Jul 2014 14:15:59 +0000 (14:15 +0000)]
mkefidisk.sh: Add gummiboot support

Fixes [YOCTO 6295]

Add gummiboot support for images built using:

EFI_PROVIDER="gummiboot"

Add conditional configuration for GRUB and gummiboot. Provide some
messaging about which is being performed.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add mount error checking
Darren Hart [Wed, 16 Jul 2014 14:15:58 +0000 (14:15 +0000)]
mkefidisk.sh: Add mount error checking

Provide reasonable feedabck if the mount commands fail.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Use all caps for volume names
Darren Hart [Wed, 16 Jul 2014 14:15:57 +0000 (14:15 +0000)]
mkefidisk.sh: Use all caps for volume names

Avoid some mkfs warnings by using all caps in the volume names.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Add support for /etc/default/urandom
Richard Tollerton [Thu, 17 Jul 2014 21:56:57 +0000 (16:56 -0500)]
initscripts: Add support for /etc/default/urandom

Source /etc/default/urandom if present.  This allows the rootfs to
remain read-only while enabling the user to override the location of the
random seed file.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: make hostname.sh coreutils-compatible
Richard Tollerton [Thu, 17 Jul 2014 21:56:56 +0000 (16:56 -0500)]
initscripts: make hostname.sh coreutils-compatible

inetutils and busybox hostname utils support `hostname -F`; coreutils
hostname doesn't. So just use `cat` instead.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Use current date as an additional source of entropy
Ken Sharp [Thu, 17 Jul 2014 21:56:55 +0000 (16:56 -0500)]
initscripts: Use current date as an additional source of entropy

If the seed file is empty or does not exist, the date is an extremely
poor backup source of entropy, but it is better than nothing.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: parametrize random seed file location
Richard Tollerton [Thu, 17 Jul 2014 21:56:54 +0000 (16:56 -0500)]
initscripts: parametrize random seed file location

Currently, the random seed file location is hardcoded to
/var/lib/urandom/random-seed.  Refactor it to a parameter
(RANDOM_SEED_FILE) so the file location is defined in only one place.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: save /etc/timestamp with seconds accuracy
Blair Elliott [Thu, 17 Jul 2014 21:56:53 +0000 (16:56 -0500)]
initscripts: save /etc/timestamp with seconds accuracy

Currently, /etc/timestamp is saved with minutes accuracy.  To increase
the accuracy, modify the save-rtc.sh and bootmisc.sh scripts to save and
read /etc/timestamp respectively with seconds accuracy.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: bootmisc.sh: Make sysctl -p honor VERBOSE
Richard Tollerton [Thu, 17 Jul 2014 21:56:52 +0000 (16:56 -0500)]
initscripts: bootmisc.sh: Make sysctl -p honor VERBOSE

busybox sysctl may lack the "-q" setting, so simulate it with redirects.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: compile rpmqv.c instead of rpmqv.cc
Joe Slater [Fri, 18 Jul 2014 01:14:54 +0000 (18:14 -0700)]
rpm: compile rpmqv.c instead of rpmqv.cc

Some versions of gcc will put a reference to __gxx_personality_v0
into rpm.o and rpmbuild.o.  This means we must link using g++,
and Makefile does not.

Go back to using rpmqv.c (which is currently identical to rpmqv.cc).

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error: fix pkgconfig.patch
Tim Orling [Thu, 17 Jul 2014 23:07:45 +0000 (16:07 -0700)]
libgpg-error: fix pkgconfig.patch

Typo in pkgconfig.patch:
   -Libs: -L{libdir} -lgpg-error
vs.
   +Libs: -L${libdir} -lgpg-error

This patch fixes failure in libgcrypt-native do_configure.
| ../x86_64-linux-libtool: line 6001: cd: {libdir}: No such file or directory
| x86_64-linux-libtool: link: cannot determine absolute directory name of `{libdir}'

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-core: fix endianness problem
Shan Hai [Fri, 18 Jul 2014 05:21:37 +0000 (13:21 +0800)]
grub-core: fix endianness problem

Fix tftp stalls on loading files bigger than ~32k bug by cherry picking
a patch from grub upstream.

Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: update to latest
Armin Kuster [Fri, 18 Jul 2014 03:45:56 +0000 (20:45 -0700)]
lz4: update to latest

update to version r119
LICENSE md5sum changed since it was updated in r117 for
  copyright date change
Fixes CVE-2014-4611

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocommon-mingw: force ac_cv_func_mmap_fixed_mapped=no
Richard Tollerton [Wed, 16 Jul 2014 18:58:03 +0000 (13:58 -0500)]
common-mingw: force ac_cv_func_mmap_fixed_mapped=no

The expat mingw build breaks because ix86-common defines
ac_cv_func_mmap_fixed_mapped=yes, causing the build to think that
mmap(), mman.h actually exist. Fix this by always forcing the variable
to "no", which configure would have concluded without such interference.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: ensure that filenames with empty space character are handled
João Henrique Ferreira de Freitas [Fri, 18 Jul 2014 03:09:26 +0000 (00:09 -0300)]
populate_sdk_base: ensure that filenames with empty space character are handled

When extracting toolchain, if the list $executable_files has filenames
with empty space character, the list will created but relocate_sdk.sh
will not handle it well. This will lead to the below erro:

    ./tmp/deploy/sdk/buildtools-mytools-x86_64-nativesdk-standalone-1.6.1.0.sh
    Enter target directory for SDK (default: /opt/mydistro/mytoolset/1.6.1.0):
    You are about to install the SDK to "/opt/mydistro/mytoolset/1.6.1.0". Proceed[Y/n]?
    Extracting SDK...done
    Setting it up.../opt/mydistro/mytoolset/1.6.1.0/relocate_sdk.sh: line 2: sintaxe error `token'  `('
    /opt/mydistro/mytoolset/1.6.1.0/relocate_sdk.sh: line 2: `e

The same occurs with replacement of ${SDKPATH} in configs/scripts/etc files.

We should ensure that full path is protected before relocate_sdk.sh
and ${SDKPATH} replacement calls.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-distribute: add nativesdk to BBCLASSEXTEND
João Henrique Ferreira de Freitas [Fri, 18 Jul 2014 03:09:25 +0000 (00:09 -0300)]
python-distribute: add nativesdk to BBCLASSEXTEND

Without this, python tools that need python-distribute doesn't install
in SDK generated by OE.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibdrm: enable freedreno experimental support
Nicolas Dechesne [Fri, 18 Jul 2014 10:33:01 +0000 (12:33 +0200)]
libdrm: enable freedreno experimental support

The freedreno project is a free and open source linux driver for the 2D/3D GPUs
in Qualcomm snapdragon SoCs.

Support for freedreno in libdrm was added around 2.4.43.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibdrm: upgrade to 2.4.54
Nicolas Dechesne [Tue, 15 Jul 2014 21:07:11 +0000 (23:07 +0200)]
libdrm: upgrade to 2.4.54

Version 2.4.54 was released a couple of months ago, see [1] for list of
changes.

The upgrade is required for using recent freedreno X11 driver on QCOM SoC. This
was tested on IFC6410 board.

[1] http://lists.x.org/archives/xorg-announce/2014-May/002426.html

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: Disable make install parallelism
Richard Purdie [Fri, 18 Jul 2014 12:40:31 +0000 (13:40 +0100)]
subversion: Disable make install parallelism

The Makefile generation for subversion is horrible, I can't figure out
where the dependencies are missing, it looks like they might be missing
everywhere. Give up and disable parallel make install.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: fix indentation in python function
Roxana Ciobanu [Fri, 18 Jul 2014 12:41:34 +0000 (15:41 +0300)]
license.bbclass: fix indentation in python function

If we don't fix this, the fix for bug 6502 will trigger warnings
that the write_package_manifest function contains tabs.

Related to fix for [YOCTO #6502].

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: neon support was dropped, switch to serf
Richard Purdie [Thu, 17 Jul 2014 20:37:38 +0000 (20:37 +0000)]
subversion: neon support was dropped, switch to serf

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoserf: Add new recipe (needed by subversion for http support)
Richard Purdie [Thu, 17 Jul 2014 20:37:23 +0000 (20:37 +0000)]
serf: Add new recipe (needed by subversion for http support)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibatomic-ops: Add BBCLASSEXTEND for native (to support bdwgc-native)
Richard Purdie [Thu, 17 Jul 2014 21:14:49 +0000 (21:14 +0000)]
libatomic-ops: Add BBCLASSEXTEND for native (to support bdwgc-native)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobdwgc: Add PACKAGECONFIG for libatomic-ops
Richard Purdie [Thu, 17 Jul 2014 06:41:32 +0000 (06:41 +0000)]
bdwgc: Add PACKAGECONFIG for libatomic-ops

Taken from the libgc recipe in meta-oe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqs/selftest: Added test case decorators for toaster
Lucian Musat [Thu, 17 Jul 2014 10:57:00 +0000 (13:57 +0300)]
oeqs/selftest: Added test case decorators for toaster

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: use PACKAGECONFIG to address readline dependency
Ming Liu [Thu, 17 Jul 2014 07:58:18 +0000 (15:58 +0800)]
gmp: use PACKAGECONFIG to address readline dependency

To avoid automatically detecting readline dependency, which will lead to
a implicit build result.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflac: explicitly disable checking for nasm
Ming Liu [Thu, 17 Jul 2014 07:58:17 +0000 (15:58 +0800)]
flac: explicitly disable checking for nasm

Automatical checking for nasm program will lead flac to a implicit build
result depending on nasm is built before or after it.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: fix return status in pam.py to match shadow-4.2.1
Chen Qi [Thu, 17 Jul 2014 07:53:35 +0000 (15:53 +0800)]
oeqa: fix return status in pam.py to match shadow-4.2.1

The return statuses of commands like `su --help' or `passwd --help'
in shadow 4.2.1 version are different from those in shadow 4.1.4.3
version.

Now that we've upgraded shadow to 4.2.1, we need to fix these statuses
in the pam.py to make things work as expected.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: upgrade from 4.1.4.3 to 4.2.1
Chen Qi [Thu, 17 Jul 2014 07:53:34 +0000 (15:53 +0800)]
shadow: upgrade from 4.1.4.3 to 4.2.1

Upgrade shadow from 4.1.4.3 to 4.2.1.

Changes during this upgrade are as following.

1. Remove the "merged" patches. These patches are either merged or
   the same functionality has been implemented upstream.

   add_root_cmd_groupmems.patch
   add_root_cmd_options.patch
   fix-etc-gshadow-reading.patch
   shadow-4.1.4.2-env-reset-keep-locale.patch
   shadow-4.1.4.2-groupmod-pam-check.patch
   shadow-4.1.4.2-su_no_sanitize_env.patch
   shadow.automake-1.11.patch
   shadow_fix_for_automake-1.12.patch
   useradd.patch

2. Remove the unneeded patch.
   The following patch has been removed because the logic in the related
   codes of the new version has been changed. In specific, the codes now
   can handle the 'NULL' return value. So there's no need for the following
   patch.

   slackware_fix_for_glib-2.17_crypt.patch

3. Teak the current patch to match the new version.

   allow-for-setting-password-in-clear-text.patch

4. Add a patch to fix compilation failure.

   usermod-fix-compilation-failure-with-subids-disabled.patch

5. Add a patch to fix the installation failure.

   fix-installation-failure-with-subids-disabled.patch

5. Add a patch to fix the failure at rootfs time if extrausers is inherited.

   commonio.c-fix-unexpected-open-failure-in-chroot-env.patch

6. Fix the bad section in the recipe.

7. Disable the new subids feature in the new version as it doesn't support
   cross compilation for now.

8. Modify the pkg_postinst to `exit 1' if the `pwconv' or `grpconv' fails.
   Also, fix the arguments to use '--root $D' instead of '--root=$D'.

9. Add a patch for shadow-native to create parent directories when necessary.

   0001-useradd.c-create-parent-directories-when-necessary.patch

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Upgrade to 3.70
Saul Wold [Tue, 15 Jul 2014 20:28:35 +0000 (13:28 -0700)]
man-pages: Upgrade to 3.70

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibpod-plainer-perl: Upgrade to 1.04
Saul Wold [Tue, 15 Jul 2014 20:28:00 +0000 (13:28 -0700)]
libpod-plainer-perl: Upgrade to 1.04

Year changed in README for Copyright and Licnese info

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agognupg: Upgrade to 2.0.25
Saul Wold [Tue, 15 Jul 2014 20:27:27 +0000 (13:27 -0700)]
gnupg: Upgrade to 2.0.25

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolzo: Upgrade to 2.08
Saul Wold [Tue, 15 Jul 2014 20:26:01 +0000 (13:26 -0700)]
lzo: Upgrade to 2.08

Changed copyright lines from multiple to a single line, no license change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosquashfs-tools: Upgrade to 4.3
Saul Wold [Tue, 15 Jul 2014 20:24:45 +0000 (13:24 -0700)]
squashfs-tools: Upgrade to 4.3

Remove patches that are now implemented upstream
COPYING file has formating change no change to licence itself

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agokmod: Upgrade to latest git
Saul Wold [Tue, 15 Jul 2014 20:17:19 +0000 (13:17 -0700)]
kmod: Upgrade to latest git

Update to version 18 with an additional patch from
the git repo to address an issue.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agokbd: Upgrade to 2.0.2
Saul Wold [Tue, 15 Jul 2014 20:16:28 +0000 (13:16 -0700)]
kbd: Upgrade to 2.0.2

Tarball compression type changed to zx

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoqemu: exclude some ARM EABI obsolete syscalls
Roy.Li [Mon, 23 Jun 2014 06:28:30 +0000 (14:28 +0800)]
qemu: exclude some ARM EABI obsolete syscalls

some syscalls are obsolete and no longer available for EABI, exclude them to
fix the below error:
        In file included from qemu-seccomp.c:16:0:
        qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function)
              { SCMP_SYS(select), 252 },
                ^
        qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function)
              { SCMP_SYS(mmap), 247 },
                ^
        qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function)
              { SCMP_SYS(getrlimit), 245 },
                ^
        qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function)
              { SCMP_SYS(time), 245 },
                ^
        qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function)
              { SCMP_SYS(alarm), 241 },

please refer source files:
        arch/arm/include/uapi/asm/unistd.h
or kernel header:
        /usr/include/asm/unistd.h

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoeglibc: check for required distro features
Chen Qi [Thu, 3 Jul 2014 03:23:42 +0000 (11:23 +0800)]
eglibc: check for required distro features

If users accidently override the DISTRO_FEATURES in local.conf,
then build failures occur for lack of libc functions.

All features in DISTRO_FEATURES_LIBC should be in DISTRO_FEATURES.
That's why this patch let the recipe inherit distro_features_check
class and set REQUIRED_DISTRO_FEATURES to "${DISTRO_FEATURES_LIBC}".

[YOCTO #6381]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopython: Forcibly disable tk
Richard Purdie [Wed, 16 Jul 2014 16:09:47 +0000 (16:09 +0000)]
python: Forcibly disable tk

Avoids the determinism problem shown with the warnings:

WARNING: QA Issue: python-tkinter rdepends on libx11 but its not a build dependency? [build-deps]
WARNING: QA Issue: python-tkinter rdepends on tcl-lib but its not a build dependency? [build-deps

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Fix build determinism problem
Richard Purdie [Wed, 16 Jul 2014 15:59:34 +0000 (15:59 +0000)]
xserver-xorg: Fix build determinism problem

We're seeing the warning:

WARNING: QA Issue: xserver-xorg rdepends on nettle but its not a build dependency? [build-deps]

We list openssl in DEPENDS so we need to specify that as the sha1 provider
rather that nettle which is autodetected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: Fix floating libidn dependency
Richard Purdie [Wed, 16 Jul 2014 15:46:49 +0000 (15:46 +0000)]
gnutls: Fix floating libidn dependency

Avoids WARNING: QA Issue: gnutls-bin rdepends on libidn but its not a build dependency? [build-deps]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: Fix floating dbus dependency
Richard Purdie [Wed, 16 Jul 2014 15:46:14 +0000 (15:46 +0000)]
libpcap: Fix floating dbus dependency

Avoids WARNING: QA Issue: libpcap rdepends on dbus-lib but its not a build dependency? [build-deps]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache: Fix build dependency errors
Richard Purdie [Wed, 16 Jul 2014 15:27:42 +0000 (15:27 +0000)]
fontcache: Fix build dependency errors

This addresses warnings like:

WARNING: QA Issue: liberation-fonts rdepends on fontconfig-utils but its not a build dependency? [build-deps]

since the dependencies were being added at package time and were not
visible to bitbake.

Also take the opportunity to convert to use PACKAGEFUNCS rather than
the horrible populate_packages_append.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoneard: Fix typo in patch leading to parallel make race
Richard Purdie [Wed, 16 Jul 2014 14:14:46 +0000 (14:14 +0000)]
neard: Fix typo in patch leading to parallel make race

The typo left room for a parallel make race for unit/test-snep-read.o,
fix it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>