]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agowpa-supplicant: Revert "Make SystemD D-Bus config conditional"
Otavio Salvador [Wed, 24 Jun 2015 10:43:33 +0000 (11:43 +0100)]
wpa-supplicant: Revert "Make SystemD D-Bus config conditional"

The D-Bus config is not systemd-specific. It is required for the D-Bus
communication to be operational.

This reverts commit e658ee16dc026b96f67a4c9666d3eb7bf7027de3.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoapt-native: Drop obsolete symlinks
Richard Purdie [Tue, 23 Jun 2015 14:13:35 +0000 (15:13 +0100)]
apt-native: Drop obsolete symlinks

Apt no longer uses GLIBC_VER and LIBSTDCPP_VER variables nor appears
to need these odd symlinks. The variables expand to empty enties
which then create symlinks which loop back on themselves.

To fix, drop the obsolete code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE
Richard Purdie [Fri, 19 Jun 2015 10:25:12 +0000 (11:25 +0100)]
meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE

The toolchain-scripts class was changed to assign to the variable using ??=
which allows users to override it. We therefore need to _append instead
of += to have the change take effect as intended.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoolchain-scrpts: Fix sitecache issues with multilib
Richard Purdie [Fri, 19 Jun 2015 10:24:39 +0000 (11:24 +0100)]
toolchain-scrpts: Fix sitecache issues with multilib

The use of TCLIBC in TOOLCHAIN_NEED_CONFIGSITE_CACHE is problematic
since a multilib may have both uclibc and glibc for different multilibs
yet switching between them doesn't change TCLIBC. This would result
in "lib32-glibc" being attempted when lib32 was actually uclibc.

The fix here is to use the virtual providers which bitbake switches
to point correctly at the right things.

This does mean we need to resolve virtual providers but we can do this using
sysroot-providers.

[YCOTO #7607]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostaging: Strip files in sysroot
Richard Purdie [Fri, 19 Jun 2015 09:09:40 +0000 (10:09 +0100)]
staging: Strip files in sysroot

Add functionality to strip binaries/libraries going into the sysroot. Whilst
this does fractionally slow down the build, it also significantly reduces the
size of the sstate cache files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: Add explict getVar param for (non) expansion
Richard Purdie [Thu, 18 Jun 2015 14:14:16 +0000 (15:14 +0100)]
meta: Add explict getVar param for (non) expansion

Rather than just use d.getVar(X), use the more explict d.getVar(X, False)
since at some point in the future, having the default of expansion would
be nice. This is the first step towards that.

This patch was mostly made using the command:

sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoneard: remove unused service file
Ross Burton [Mon, 22 Jun 2015 14:44:04 +0000 (15:44 +0100)]
neard: remove unused service file

Upstream ships a systemd service file now, so we don't need this anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: Rebrand rpm custom macro paths to be distro specific
Mark Hatle [Wed, 17 Jun 2015 17:04:41 +0000 (12:04 -0500)]
rpm: Rebrand rpm custom macro paths to be distro specific

RPM was previously hard coded to use the 'poky' directory.  We really want
the directory name to be distribution specific.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: Fix lua 'print' statement capture
Mark Hatle [Wed, 17 Jun 2015 17:04:40 +0000 (12:04 -0500)]
rpm: Fix lua 'print' statement capture

The print statement should capture the output and send it to the script
processing engine, and not display it directly to the screen.

Note, this is only a bug if 'lua' support has been enabled in the RPM
recipe's PACKAGECONFIG.

This patch is from: http://rpm5.org/cvs/patchset?cn=17671

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: Fix CVE-2013-6435
Leonardo Sandoval [Wed, 10 Jun 2015 14:58:38 +0000 (14:58 +0000)]
rpm: Fix CVE-2013-6435

Backport to fix CVE-2013-6435. Description on [1] and original
patch taken from [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-6435
[2] https://bugzilla.redhat.com/attachment.cgi?id=956207

[YOCTO #7181]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
9 years agorpm: Fix CVE-2014-8118
Leonardo Sandoval [Wed, 10 Jun 2015 14:55:14 +0000 (14:55 +0000)]
rpm: Fix CVE-2014-8118

Backport patch to fix CVE-2014-8118. Description is on [1] and
original patch taken from [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1168715
[2] https://bugzilla.redhat.com/attachment.cgi?id=962159

[YOCTO #7181]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
9 years agodistutils-common-base: add to, don't set, FILES_${PN}
Joshua Lock [Wed, 17 Jun 2015 08:33:18 +0000 (09:33 +0100)]
distutils-common-base: add to, don't set, FILES_${PN}

If we set FILES_${PN} and a recipe inherits other classes that
modify FILES_${PN} *before* distutils-common-base is included, any
changes to FILES_${PN} made by those classes are lost.

Instead, append the additional directories we want to include in
FILES_${PN}

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-2.7/3.4-manifest.inc: add missing dependencies for python-netserver
Henning Heinold [Tue, 16 Jun 2015 18:24:49 +0000 (20:24 +0200)]
python-2.7/3.4-manifest.inc: add missing dependencies for python-netserver

* SimpleHTTPServer imports shutil so we need
  definitly python-shell

* SocketServer can be run without the threading modul,
  but I think we should run the full blown stuff, so
  let us add python-threading

* this work was sponsored by sysmocom GmbH

Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython3-ctypes: Fix cross compilation for arm targets
Alejandro Hernandez [Tue, 16 Jun 2015 15:29:13 +0000 (15:29 +0000)]
python3-ctypes: Fix cross compilation for arm targets

When cross compiling for arm targets ctypes compilation fails because
it uses _sysconfigdata from the HOST, this patches makes it use the
one from TARGET fixing compilation of this module

[YOCTO #7873]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Jonas Göransson <jonas.goransson@qmatic.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: removed unused command line option
Ed Bartosh [Wed, 17 Jun 2015 13:49:33 +0000 (16:49 +0300)]
wic: removed unused command line option

Removed -i/--infile wic command line option.
Removed properties_file and properties arguments of
wic_create function.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: code cleanup: superfluous-parens
Ed Bartosh [Wed, 17 Jun 2015 11:47:47 +0000 (14:47 +0300)]
wic: code cleanup: superfluous-parens

Removed unncecessary parents after 'if' 'del' and 'print' keywords.
Fixed pyling warning: Unnecessary parens after 'xxx' keyword

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: oe-selftest: Add 3 tests of 'wic help' command
Ed Bartosh [Tue, 16 Jun 2015 13:26:27 +0000 (16:26 +0300)]
wic: oe-selftest: Add 3 tests of 'wic help' command

Added tests for 'wic test overview', 'wic test plugins' and
'wic test kickstart' commands.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Return error code when wic fails to invoke command
Ed Bartosh [Tue, 16 Jun 2015 11:19:49 +0000 (14:19 +0300)]
wic: Return error code when wic fails to invoke command

Return 1 if command doesn't exist or wic is called without
any commmand.
Return result of invoke_command as wic return code.

Added tests for unsupported command and no command.

Fixed typo in test case test02_createhelp spotted by this fix.

[YOCTO #7856]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agowic: Integrated plugin docstrings into 'wic help plugins' output
Ed Bartosh [Wed, 17 Jun 2015 06:56:44 +0000 (09:56 +0300)]
wic: Integrated plugin docstrings into 'wic help plugins' output

Added mechanism to show docstrings of plugin classes as a part of
plugins help page.
For missing plugins the following warning message is shown:
<class '<plugin class spec>'> is missing docstring.

[YOCTO #7118]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Add missing docstrings to plugin classes
Ed Bartosh [Wed, 17 Jun 2015 08:53:04 +0000 (11:53 +0300)]
wic: Add missing docstrings to plugin classes

Docstings from plugin classes are used as part of
output of 'wic help plugins'. Adding them makes help page
more informative.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Code cleanup: bad-classmethod-argument
Ed Bartosh [Wed, 17 Jun 2015 11:25:23 +0000 (14:25 +0300)]
wic: Code cleanup: bad-classmethod-argument

Fixed wrong name for the first argument in class methods.
Pylint complains about the issue this way:
    Class method should have 'cls' as first argument

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: Document creation of empty partition
Ed Bartosh [Tue, 16 Jun 2015 10:18:35 +0000 (13:18 +0300)]
wic: Document creation of empty partition

Added short explanation of how to create empty pattition
to the 'wic help kickstart' output.

[YOCTO #7131]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: wic: Fix testcase
Ed Bartosh [Tue, 16 Jun 2015 06:43:17 +0000 (09:43 +0300)]
oe-selftest: wic: Fix testcase

Fixed test05_build_artifacts testcase by using values of MACHINE
and BUILD_SYS bitbake variables in paths to artifacts.

Test was failing because of hardcoded machine(qemux86) and
build_sys(qemux86-poky-linux) in artifact paths.

[YOCTO #7730]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: Properly delete partition table
Ed Bartosh [Tue, 16 Jun 2015 04:56:25 +0000 (07:56 +0300)]
init-install: Properly delete partition table

Fixed deletion of the partition table by increasing
amount of sectors from 2(correct for msdos PT) to 35 as
GPT size is 34 sectors + 1 sector for protective MBR.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: code cleanup: replace /dev/$device -> $device
Ed Bartosh [Mon, 15 Jun 2015 15:47:56 +0000 (18:47 +0300)]
init-install: code cleanup: replace /dev/$device -> $device

Shortened code by including /dev/ prefix into variable.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: code cleanup: Replace tabs with spaces
Ed Bartosh [Mon, 15 Jun 2015 15:18:16 +0000 (18:18 +0300)]
init-install: code cleanup: Replace tabs with spaces

Cleaned up spaces from init-install* shell scripts.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: Specify partition name in parted command line
Ed Bartosh [Sun, 14 Jun 2015 20:05:28 +0000 (23:05 +0300)]
init-install: Specify partition name in parted command line

parted allows to use names for partitions if GPT partition table
is used on the device. msdos partitioning can have only partition
types: 'primary', 'logical' or 'extended'.

Used meaningful partition names in parted command line for GPT
partitioning.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: Specify filesystem type in parted command line
Ed Bartosh [Sun, 14 Jun 2015 15:45:21 +0000 (18:45 +0300)]
init-install: Specify filesystem type in parted command line

Explicitly specified filesystem type for parted mkpart command.
This makes partition table to look more informative.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: Implement UUID support
Ed Bartosh [Sun, 14 Jun 2015 13:26:27 +0000 (16:26 +0300)]
init-install: Implement UUID support

Used partition UUID in kernel command line to specify root partition.
Searched root device by file system uuid in GRUB configuration.
Used partition UUID in /etc/fstab to specify swap partition.
Used filesystem UUID in /etc/fstab to specify boot partition.

[YOCTO #6101]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install: Use GPT table with GRUB 2
Ed Bartosh [Thu, 11 Jun 2015 16:01:35 +0000 (19:01 +0300)]
init-install: Use GPT table with GRUB 2

Changed partition type from 'msdos' to 'gpt'.
Added special partition for grub stage2 bootloader.

NOTE: This is done only for GRUB 2 as legacy GRUB is
rarely used and doesn't support GPT partitions.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinit-install-efi: Implement UUID support
Ed Bartosh [Wed, 10 Jun 2015 14:49:32 +0000 (17:49 +0300)]
init-install-efi: Implement UUID support

Using UUID in favor of device names is more reliable as
UUID names are persistent.

Device names can change as the order of adding device nodes
is arbitrary. This sometimes results in device names switching
on each boot, which can cause system fail to boot.
Persistent naming solves these issues.

Used partition UUID in kernel command line to specify root partition.
Used partition UUID in /etc/fstab to specify swap partition.
Used filesystem UUID in /etc/fstab to specify boot partition.

[YOCTO #6101]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agobusybox: Enable UUID-related options
Ed Bartosh [Mon, 15 Jun 2015 15:01:47 +0000 (18:01 +0300)]
busybox: Enable UUID-related options

Enabled MOUNT_LABEL and VOLUMEID* features for busybox
mount to understand 'UUID=' syntax in fstab.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoinitramfs-live-install: Add blkid to initramfs
Ed Bartosh [Wed, 10 Jun 2015 14:40:43 +0000 (17:40 +0300)]
initramfs-live-install: Add blkid to initramfs

Added util-linux-blkid to the list of dependencies of
initramfs-live-install and initramfs-live-install-efi.

This is a part of the work to support partiion UUID in installer.
blkid is going to be used to get partition and filesystem UUIDs.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agoimage-live: Set syslinux timeout to 5s
Ed Bartosh [Wed, 10 Jun 2015 13:42:33 +0000 (16:42 +0300)]
image-live: Set syslinux timeout to 5s

Increased syslinux timeout to 5s as default 1s timeout
is not enough to notice syslinux prompt on some devices.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9 years agort-tests: bump version to v0.92
Maxin B. John [Tue, 16 Jun 2015 21:25:07 +0000 (23:25 +0200)]
rt-tests: bump version to v0.92

Version upgrade to v0.92
Rebased below listed patch to newer source code:
added-missing-dependencies.patch

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobabeltrace: Fix invalid pointer free with trace collection
Roy Li [Tue, 16 Jun 2015 02:50:04 +0000 (10:50 +0800)]
babeltrace: Fix invalid pointer free with trace collection

This fixed the bug https://bugs.lttng.org/issues/790

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodbus-test: Upgrade 1.8.10 -> 1.8.18
Jussi Kukkonen [Tue, 16 Jun 2015 08:00:59 +0000 (11:00 +0300)]
dbus-test: Upgrade 1.8.10 -> 1.8.18

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agodbus: Upgrade 1.8.16 -> 1.8.18
Jussi Kukkonen [Mon, 15 Jun 2015 14:01:00 +0000 (17:01 +0300)]
dbus: Upgrade 1.8.16 -> 1.8.18

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agopackagegroup-core-tools-profile.bb: Remove oprofile.
Philip Balister [Mon, 1 Jun 2015 20:17:22 +0000 (16:17 -0400)]
packagegroup-core-tools-profile.bb: Remove oprofile.

Oprofile functions duplicate perf. Since perf is easier to use drop oprofile
from the core-tools-profile package.

Also, the oprofile-ui package opens a port on the device. removing this
package reduces a possible security issue for devices with profiling tools.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-sdk.bb: Drop distcc from the core-sdk.
Philip Balister [Mon, 1 Jun 2015 20:17:21 +0000 (16:17 -0400)]
packagegroup-core-sdk.bb: Drop distcc from the core-sdk.

distcc has been used in the past to speed up native compile across
several machines. This is less an issue on modern embedded systems.

Also, improvements in sdk generation have reduced the need for on target
compile of large projects.

Since the distcc packages start a daemon at boot, drop it from the
packagegroup to avoid having some slight runtime impact on systems
installing an sdk.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu-internal: set mutual exclusiveness for serial and nographic options
Jagadeesh Krishnanjanappa [Tue, 16 Jun 2015 10:48:30 +0000 (16:18 +0530)]
runqemu-internal: set mutual exclusiveness for serial and nographic options

Use "-nographic" option only if "serial" option is not
specified. Otherwise we get below error when
'runqemu <kernel_image> <rootfs_image> serial' is executed,

(snip)
QEMU 2.2.0 monitor - type 'help' for more information
(qemu) qemu-system-aarch64: -serial stdio: cannot use stdio by multiple
character devices
-- CUT --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu-script: define console for qemuarm NFS booting
Jagadeesh Krishnanjanappa [Tue, 16 Jun 2015 10:48:28 +0000 (16:18 +0530)]
runqemu-script: define console for qemuarm NFS booting

Add console=ttyAMA0,115200 as one of the boot parameters
for qemuarm, in order to print bootlog messages on the
console.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu-internal: add support to boot arm64 qemu target via NFS
Jagadeesh Krishnanjanappa [Tue, 16 Jun 2015 10:48:29 +0000 (16:18 +0530)]
runqemu-internal: add support to boot arm64 qemu target via NFS

Add required boot parameters inorder to boot arm64 qemu
target via NFS

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu: fix MACHINE being detected as qemuarm for qemuarm64 kernel image
Jagadeesh Krishnanjanappa [Tue, 16 Jun 2015 10:48:27 +0000 (16:18 +0530)]
runqemu: fix MACHINE being detected as qemuarm for qemuarm64 kernel image

Basically, runqemu script autodetects MACHINE type based on the
kernel image name; if MACHINE name is not specified. Since 'qemuarm'
string is common in both qemuarm amnd qemuarm64 kernel image names, the
MACHINE type is considered as 'qemuarm' even when qemuarm64 kernel
image name is given in command line.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqt4-4.8.7: restore arm64 patches which are dropped by mistake
Kai Kang [Wed, 17 Jun 2015 01:32:47 +0000 (09:32 +0800)]
qt4-4.8.7: restore arm64 patches which are dropped by mistake

During upgrade qt4 from 4.8.6 to 4.8.7, four arm64 patches are removed.
But three of them are dropped by mistake that they are not merged by
upstream and still needed.

Restore them.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocups: upgrade from 2.0.2 to 2.0.3
Kai Kang [Wed, 17 Jun 2015 07:17:53 +0000 (15:17 +0800)]
cups: upgrade from 2.0.2 to 2.0.3

Upgrade cups from 2.0.2 to 2.0.3. In its release log, it fixes
CERT VU #810572/CVE-2015-1158/CVE-2015-1159.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: fix building on x32 systems
Cristian Iorga [Mon, 15 Jun 2015 21:32:15 +0000 (00:32 +0300)]
openssl: fix building on x32 systems

Fix build on Fedora 21 i686.

When building on x32 systems where the default type is 32bit,
make sure that 64bit integers can be represented transparently.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoRevert "distrodata: Remove unnecessary include of package_regex.inc"
Ross Burton [Tue, 16 Jun 2015 09:31:29 +0000 (10:31 +0100)]
Revert "distrodata: Remove unnecessary include of package_regex.inc"

Instead of asking the user to include a number of configuration files, the class
can do this.  Next step is to fix the documentation.

This reverts commit 2a4ee94667d4d356cad2ca6d60a100a30c92737b.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-modules: drop makefile patch
Nathan Lynch [Mon, 15 Jun 2015 18:37:24 +0000 (13:37 -0500)]
lttng-modules: drop makefile patch

The lttng-modules Makefile allows us to specify the kernel we're
building against via the KERNELDIR variable on the build command line.
Use that and drop the patch (which tends to need updating whenever the
upstream Makefile changes).

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane.bbclass: fix false negative in build-deps QA check
Patrick Ohly [Mon, 15 Jun 2015 16:05:13 +0000 (18:05 +0200)]
insane.bbclass: fix false negative in build-deps QA check

When a recipe called 'foobar-test' links against 'foobar' without
listing that in DEPENDS, the build-deps check misses that error
because it looks for 'foobar' in a package string containing (among
others) the 'foobar-test' name, leading to the incorrect conclusion
that the package is listed as dependency.

The 'packages' string needs to be split into individual package names
before the check. Doing that once directly after reading the value is
more efficient than splitting inside package_qa_check_rdepends() because
the caller also needs the individual components.

Also use a set to speed up the 'package in packages' check.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocopyleft_filter.bbclass: Allow to filter on name
Mariano Lopez [Tue, 9 Jun 2015 12:46:48 +0000 (12:46 +0000)]
copyleft_filter.bbclass: Allow to filter on name

The archiver uses a license based filter to provide the source code.
This patch allows to search on name based on two new variables (COPYLEFT_PN_INCLUDE,
COPYLEFT_PN_EXCLUDE). Both variables are empty by default.
The filter by name has higher priority than the license filter.

[YOCTO # 6929]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+: Upgrade 2.24.27 -> 2.24.28
Jussi Kukkonen [Mon, 15 Jun 2015 13:23:43 +0000 (16:23 +0300)]
gtk+: Upgrade 2.24.27 -> 2.24.28

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase.class: warn for invalid PACKAGECONFIG
Robert Yang [Thu, 11 Jun 2015 09:08:41 +0000 (02:08 -0700)]
base.class: warn for invalid PACKAGECONFIG

There may be typos or out of date values in PACKAGECONFIG, check and
warn them.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpcap: add a dummy PACKAGECONFIG for bluez5
Robert Yang [Thu, 11 Jun 2015 02:10:13 +0000 (19:10 -0700)]
libpcap: add a dummy PACKAGECONFIG for bluez5

The BLUEZ is default to bluez5, but there is only PACKAGECONFIG[bluez4],
no PACKAGECONFIG[bluez5], add a dummy PACKAGECONFIG for bluez5 to avoid
confusing the user, and avoid the warning.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agobluez5: remove alsa from PACKAGECONFIG
Robert Yang [Thu, 11 Jun 2015 09:08:42 +0000 (02:08 -0700)]
bluez5: remove alsa from PACKAGECONFIG

The PACKAGECONFIG[alsa] had been removed when upgraded to 5.12 since it
was not supported any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsdl2: PACKAGECONFIGize
Andreas MĂĽller [Fri, 12 Jun 2015 20:50:43 +0000 (22:50 +0200)]
libsdl2: PACKAGECONFIGize

* DEPENDS + EXTRA_OECONF -> PACKAGECONFIG for directfb / opengl / x11
* added PACKAGECONFIG for gles2 / pulseaudio / tslib / wayland

Signed-off-by: Andreas MĂĽller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoneon: fix compat issues with gnutls 4.3
Armin Kuster [Mon, 1 Jun 2015 23:12:26 +0000 (16:12 -0700)]
neon: fix compat issues with gnutls 4.3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agologging.bbclass: avoid bashism in bbdebug()
Patrick Ohly [Mon, 15 Jun 2015 08:20:49 +0000 (10:20 +0200)]
logging.bbclass: avoid bashism in bbdebug()

Checking the bbdebug() debug level parameter with a regular
test expression only works in bash. Using tr to filter out
digits and then checking whether anything is left achieves
the same result and is more portable.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodistutils: regenerate pyc files after being modified by sed
Alejandro Hernandez [Thu, 11 Jun 2015 15:38:54 +0000 (15:38 +0000)]
distutils: regenerate pyc files after being modified by sed

py files are edited by sed and therefore *.pyc files are recreated on first boot, but if you have a read-only filesystem this is not possible. This patch creates pyc files directly after the py files are modified.

[YOCTO #7722]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Thomas Roos <roosesweb@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosecurity_flags.inc: remove duplicated over-rides
Andre McCurdy [Fri, 12 Jun 2015 22:17:34 +0000 (15:17 -0700)]
security_flags.inc: remove duplicated over-rides

The following over-rides were both defined twice:

  SECURITY_CFLAGS_pn-grub-efi-x86-64-native
  SECURITY_CFLAGS_pn-ltp

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxml2: Security Advisory - libxml2 - CVE-2015-1819
Yue Tao [Mon, 15 Jun 2015 01:18:52 +0000 (09:18 +0800)]
libxml2: Security Advisory - libxml2 - CVE-2015-1819

for CVE-2015-1819 Enforce the reader to run in constant memory

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopiglit: Add missing inclusion of Xutil.h
Otavio Salvador [Mon, 15 Jun 2015 19:31:28 +0000 (16:31 -0300)]
piglit: Add missing inclusion of Xutil.h

The EGL tests rely on Xutil.h being included. Some EGL implementation
does not explitly include it by default and than the build fail.

This fixes the build in imx53qsb board, of meta-fsl-arm, but is a
generic fix.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzdata: update to 2015e
Armin Kuster [Sun, 14 Jun 2015 05:03:42 +0000 (22:03 -0700)]
tzdata: update to 2015e

merged inc back into recipe.

Changes affecting future time stamps

Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
not 06-13 and 07-18 as we had guessed.  (Thanks to Milamber.)

Assume Cayman Islands will observe DST starting next year, using US rules.
Although it isn't guaranteed, it is the most likely.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzcode-native: update to 2015e
Armin Kuster [Sun, 14 Jun 2015 05:03:41 +0000 (22:03 -0700)]
tzcode-native: update to 2015e

merged inc back into recipe.

Changes affecting code

When displaying data, tzselect converts it to the current locale's
encoding if the iconv command works.  (Problem reported by random832.)

tzselect no longer mishandles Dominica, fixing a bug introduced
in Release 2014f.  (Problem reported by Owen Leibman.)

zic -l no longer fails when compiled with -DTZDEFAULT=\"/etc/localtime\".
This fixes a bug introduced in Release 2014f.
(Problem reported by Leonardo Chiquitto.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: deploy: fix preservation of symlinks and permissions/ownership
Paul Eggleton [Tue, 16 Jun 2015 16:16:51 +0000 (17:16 +0100)]
devtool: deploy: fix preservation of symlinks and permissions/ownership

It turns out that scp can't be used to copy symlinks because it follows
them instead of copying them, and this is by design (since it emulates
rcp which also behaved this way); the unfortunate result is that
symlinks that point to valid files on the host translate into the host
file being copied to the target (yuck).  The simplest alternative that
does not have this undesirable behaviour is to use tar and pipe it over
ssh.

At the same time, it would be even better if we properly reflect file
permissions and ownership on the target that have been established
within the pseudo environment. We can do this by executing the copy
process under pseudo, which turns out to be quite easy with access to
the pseudo environment set up by the build system.

Fixes [YOCTO #7868].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agolib/oeqa/utils/commands: ensure get_bb_var() works when value contains =
Paul Eggleton [Wed, 17 Jun 2015 15:15:32 +0000 (16:15 +0100)]
lib/oeqa/utils/commands: ensure get_bb_var() works when value contains =

Only split on the first equals character so that values that contain
equals characters (such as FAKEROOTENV) can be retrieved.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agoclasses/externalsrc: handle tasks with existing lockfiles
Paul Eggleton [Tue, 16 Jun 2015 13:49:00 +0000 (14:49 +0100)]
classes/externalsrc: handle tasks with existing lockfiles

We need to ensure we add a leading space to the value we are prepending
here in case lockfiles already has a value.

Fixes [YOCTO #7813].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agorecipetool: appendfile: fix file command error handling
Paul Eggleton [Tue, 9 Jun 2015 16:08:43 +0000 (17:08 +0100)]
recipetool: appendfile: fix file command error handling

* It turns out that not all versions of the file command support the -E
  option - the version in Ubuntu 14.04 doesn't support it for example.
  This option is supposed to force file to return an error if the file
  can't be opened - since we can't rely upon it then fall back to
  looking at the output instead. (The results of this issue were simply
  that we didn't notice if the file was executable and give a warning,
  which tripped an oe-selftest failure - so it was minor.)
* If we receive an error there's not much point looking at the output to
  see what type was returned because there wasn't one.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agorecipetool: appendfile: clarify help text
Paul Eggleton [Tue, 26 May 2015 10:13:50 +0000 (11:13 +0100)]
recipetool: appendfile: clarify help text

Add a long description and tweak some of the argument descriptions so
that it's clearer what the appendfile subcommand does and how it works.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agodevtool: use DevtoolError for error handling
Markus Lehtonen [Wed, 27 May 2015 14:59:09 +0000 (17:59 +0300)]
devtool: use DevtoolError for error handling

Use DevtoolError exception more widely for handling error cases. This
exception is now caught in the main script and raising it can be used to
exit with an error. This hopefully simplifies error handling. The
change also makes exit codes more consistent, always returning '1' when
an error occurs.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: remove some unused return values
Markus Lehtonen [Wed, 27 May 2015 14:40:49 +0000 (17:40 +0300)]
devtool: remove some unused return values

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: split out 'patch' update mode into a separate function
Markus Lehtonen [Mon, 25 May 2015 12:12:43 +0000 (15:12 +0300)]
devtool: split out 'patch' update mode into a separate function

Continue refactoring of update_recipe() by splitting out the 'patch'
mode into a separate function.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: split out 'srcrev' update mode into a separate function
Markus Lehtonen [Fri, 22 May 2015 13:41:27 +0000 (16:41 +0300)]
devtool: split out 'srcrev' update mode into a separate function

Refactor update_recipe() (i.e. the implementation of the update-recipe
command)  by splitting out the 'srcrev' into a distinct function.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: slight simplification of path splitting logic
Markus Lehtonen [Thu, 28 May 2015 13:00:52 +0000 (16:00 +0300)]
devtool: slight simplification of path splitting logic

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: simplify few conditionals a bit
Markus Lehtonen [Wed, 27 May 2015 14:27:56 +0000 (17:27 +0300)]
devtool: simplify few conditionals a bit

Just refactor the code.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: simplify the logic of determining patches to be removed
Markus Lehtonen [Thu, 21 May 2015 15:04:01 +0000 (18:04 +0300)]
devtool: simplify the logic of determining patches to be removed

A slight simplification of the code.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: update-recipe: do rev parsing in a separate function
Markus Lehtonen [Thu, 21 May 2015 12:46:14 +0000 (15:46 +0300)]
devtool: update-recipe: do rev parsing in a separate function

Split out the logic of determining "initial rev" and "update rev" into a
separate function.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: refactor bb task execution into a separate class
Markus Lehtonen [Tue, 12 May 2015 13:39:31 +0000 (16:39 +0300)]
devtool: refactor bb task execution into a separate class

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: fix wrong indentation
Markus Lehtonen [Thu, 21 May 2015 14:47:13 +0000 (17:47 +0300)]
devtool: fix wrong indentation

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackagedata: Fix to ensure variables expand correctly
Richard Purdie [Thu, 11 Jun 2015 22:06:56 +0000 (23:06 +0100)]
packagedata: Fix to ensure variables expand correctly

If we set unsuffixed variables here there is a chance they could clobber
override versions of that variable, e.g. DESCRIPTION could clobber
DESCRIPTION_<pkgname>. We therefore don't clobber for the unsuffixed
variable versions by using the parsing flag to setVar.

This becomes a problem with the modifications to bitbake to
have continual expansion of the datastore, its about the one place this
turns out to be problematic.

The parameter to setVar works with current bitbake even though
we don't have the new API since it gets swallowed by the logging code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowayland: Fix hardlink corruption issue
Richard Purdie [Thu, 11 Jun 2015 22:03:28 +0000 (23:03 +0100)]
wayland: Fix hardlink corruption issue

The way this code was working, the m4 file is hardlinked to the
copies which would be packaged and could lead to the native m4
file being used in the target packages.

By removing the file first the hardlink is broken and this avoids
corruption (since cp uses open to change the file contents).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomultilib_global: Stop empty space influencing RPROVIDES
Richard Purdie [Thu, 11 Jun 2015 22:01:48 +0000 (23:01 +0100)]
multilib_global: Stop empty space influencing RPROVIDES

If the resulting RPROVIDES is empty, don't set it. This streamlines
pkgdata slightly removing empty values and avoids other errors which
confuse the datastore when the variable is best left unset.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage_ipk/deb/rpm: Improve OVERRIDES handling
Richard Purdie [Tue, 2 Jun 2015 14:06:13 +0000 (14:06 +0000)]
package_ipk/deb/rpm: Improve OVERRIDES handling

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopulseaudio: fix version when building inside a dirty git checkout
Ross Burton [Thu, 11 Jun 2015 15:26:11 +0000 (16:26 +0100)]
pulseaudio: fix version when building inside a dirty git checkout

If the build directory is a subdirectory of a git clone, and that git clone is
dirty, PulseAudio will build thinking it's version is 6.0-dirty.  Fix
git-version-gen so it doesn't do the git checks for tarball builds.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpostproc: pass correct libdir
Robert Yang [Tue, 9 Jun 2015 06:46:25 +0000 (23:46 -0700)]
libpostproc: pass correct libdir

When MACHINE=qemux86-64 and enable multilib:
ERROR: QA Issue: libpostproc: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libpostproc.so.52.3.0
  /usr/lib/libpostproc.so
  /usr/lib/libpostproc.so.52
  /usr/lib/.debug
  /usr/lib/.debug/libpostproc.so.52.3.0
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Pass the right libdir to configure as otherwise it assumes $prefix/lib
which may be wrong.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoAdd license file XFree86-1.0
Kai Kang [Thu, 11 Jun 2015 05:50:38 +0000 (13:50 +0800)]
Add license file XFree86-1.0

Add license file XFree86-1.0 which is needed by packages such as hwdata.
It is from:

http://www.x.org/archive/X11R7.5/doc/LICENSE.html#AEN28

And add 'XFree86-1.0' to SRC_DISTRIBUTE_LICENSES.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-source.inc: fix STAMPCLEAN to avoid race issue
Robert Yang [Tue, 9 Jun 2015 09:04:46 +0000 (02:04 -0700)]
gcc-source.inc: fix STAMPCLEAN to avoid race issue

Fixed race issue when build more than one gcc-source and inherit
rm_work, for example:
$ bitbake gcc-source-4.9.2 gcc-source-5.1.0

File "/path/to/bitbake/lib/bb/build.py", line 512, in exec_task
  return _exec_task(fn, task, d, quieterr)
File "/path/to/bitbake/lib/bb/build.py", line 489, in _exec_task
  make_stamp(task, localdata)
File "/path/to/bitbake/lib/bb/build.py", line 599, in make_stamp
  os.unlink(name)
OSError: [Errno 2] No such file or directory: '/path/to/tmp/stamps/work-shared/gcc-4.9.2-r0.do_rm_work_all.02cf1ed9b79d4edb0a51d3b913b7f9ba'

This is because make_stamp() uses glob.glob() to remove the old stamps
before create the new one, when gcc-source-5.1.0 removes gcc-4.9.2-r0's
stamp, we may get the error.

We can't use deltask do_rm_work_all as do_rm_work since it is a
recrdeptask, otherwise:
ERROR: Command execution failed: Traceback (most recent call last):
  File "/path/to/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/path/to/bitbake/lib/bb/command.py", line 324, in generateDotGraph
    command.cooker.generateDotGraphFiles(pkgs_to_build, task)
  File "/path/to/bitbake/lib/bb/cooker.py", line 847, in generateDotGraphFiles
    depgraph = self.generateTaskDepTreeData(pkgs_to_build, task)
  File "/path/to/bitbake/lib/bb/cooker.py", line 672, in generateTaskDepTreeData
    rq.rqdata.prepare()
  File "/path/to/bitbake/lib/bb/runqueue.py", line 587, in prepare
    generate_recdeps(dep)
  File "/path/to/bitbake/lib/bb/runqueue.py", line 575, in generate_recdeps
    add_resolved_dependencies([taskData.tasks_fnid[t]], tasknames, newdeps)
TypeError: list indices must be integers, not NoneType

Update STAMPCLEAN to contain ${PV} to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/parselogs: Added some more errors to the whitelist.
Lucian Musat [Wed, 10 Jun 2015 15:46:49 +0000 (18:46 +0300)]
oeqa/parselogs: Added some more errors to the whitelist.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/parselogs: The logs are now copied and parsed locally.
Lucian Musat [Wed, 10 Jun 2015 15:32:50 +0000 (18:32 +0300)]
oeqa/parselogs: The logs are now copied and parsed locally.

This is to fix a problem with reaching the limit of the whitelist size.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibatomic-ops: 7.2 -> 7.4.2
Tanu Kaskinen [Wed, 10 Jun 2015 15:27:00 +0000 (18:27 +0300)]
libatomic-ops: 7.2 -> 7.4.2

The backported patch is included in the new version, so dropped the
patch.

Dropped DESCRIPTION, because it was redundant (same as SUMMARY).

Changed HOMEPAGE. libatomic_ops is nowadays maintained by Ivan
Maidanski.

doc/LICENSING.txt changed checksum, but there were only whitespace
changes. COPYING moved from doc/ to the top-level directory, but the
checksum stayed the same.

Dropped PR.

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopiglit: upgrade to more recent srvrev
Ross Burton [Wed, 10 Jun 2015 19:19:08 +0000 (20:19 +0100)]
piglit: upgrade to more recent srvrev

Upgrade to 126c7d from December 2014.  Still not the latest but it's got no
added build dependencies and importantly handles installs out of the box instead
of us having to hack and kludge, and builds with cmake 3.x.

The usage has changed: now there's a "piglit" binary that has run/resume/summary
subcommands, for example:

$ piglit run quick quick-results/

For reference the quick test suite on a IvyBridge NUC results in:

[27714/27714] crash: 3, fail: 326, pass: 18275, skip: 9107, warn: 3 -

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake: extend CMAKE_MODULE_PATH instead of setting
Ross Burton [Thu, 11 Jun 2015 13:33:56 +0000 (14:33 +0100)]
cmake: extend CMAKE_MODULE_PATH instead of setting

Some (e.g. piglit) CMakeList.txt files will extend CMAKE_MODULE_PATH before
calling project(), which is when the toolchain.cmake file is parsed.  In this
situation the CMAKE_MODULE_PATH is overwritten, so handle this by appending in
toolchain.cmake instead of assigning.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/utils: Added timeout decorator for testcases.
Lucian Musat [Wed, 10 Jun 2015 10:52:40 +0000 (13:52 +0300)]
oeqa/utils: Added timeout decorator for testcases.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocracklib:Fix an error in the patch
Lei Maohui [Tue, 9 Jun 2015 02:27:55 +0000 (10:27 +0800)]
cracklib:Fix an error in the patch

To fix an error in the patch.Otherwise,the dictionary would be wrong.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibgpg-error: Upgrade 1.18 -> 1.19
Leonardo Sandoval [Tue, 9 Jun 2015 12:36:52 +0000 (12:36 +0000)]
libgpg-error: Upgrade 1.18 -> 1.19

The patch pkgconfig.patch has not being integrated into upstream
repository, so rebasing it. Another change occurred inside the recipe,
the TUPLE's name changed for i586/i686 target architectures.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoblktrace: 1.0.5 -> 1.1.0
Robert Yang [Mon, 8 Jun 2015 09:24:07 +0000 (02:24 -0700)]
blktrace: 1.0.5 -> 1.1.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agosysstat: DEPENDS on base-passwd
Robert Yang [Wed, 10 Jun 2015 05:44:26 +0000 (22:44 -0700)]
sysstat: DEPENDS on base-passwd

Fixed:
| install -m 644 -g man man/sa1.8 /path/to/tmp/work/i586-poky-linux/sysstat/11.1.4-r0/image/usr/share/man/man8
| install: invalid group `man'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agomtools: add PACKAGECONFIG for libbsd
Robert Yang [Wed, 10 Jun 2015 06:14:56 +0000 (23:14 -0700)]
mtools: add PACKAGECONFIG for libbsd

Fixed:
ld: cannot find -lbsd
collect2: error: ld returned 1 exit status

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agomultilib.bbclass: use package_qa_handle_error
Robert Yang [Wed, 10 Jun 2015 05:13:45 +0000 (22:13 -0700)]
multilib.bbclass: use package_qa_handle_error

Use package_qa_handle_error to handle the QA issue.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoupdate-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS
Robert Yang [Wed, 10 Jun 2015 03:15:37 +0000 (20:15 -0700)]
update-rc.d.bbclass: add MLPREFIX when set RRECOMMENDS

Fixed when build with multilib:
WARNING: Multilib QA Issue: lib32-alsa-state package lib32-alsa-state - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-modutils-initscripts package lib32-modutils-initscripts - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-init-ifupdown package lib32-init-ifupdown - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-xserver-nodm-init package lib32-xserver-nodm-init - suspicious values 'update-rc.d' in RRECOMMENDS
WARNING: Multilib QA Issue: lib32-sysklogd package lib32-sysklogd - suspicious values 'update-rc.d' in RRECOMMENDS

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>