]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agolibxml2: fix python path and add libxml2-python
Robert Yang [Tue, 9 Sep 2014 03:24:38 +0000 (20:24 -0700)]
libxml2: fix python path and add libxml2-python

We have libxml2-python for native and nativesdk, but don't have it for
target, and can't find the reason from the git log, libxml2-python is
widely used, after looked into it's configure.in, we can add it
by PACKAGECONFIG.

The previous --with-python=${STAGING_BINDIR}/python is incorrect, it
acted as work becase it's conigure can check automatically, python is in
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}, as known as
${PYTHON}.

Add python to PACKAGECONFIG, since createrepo rdepends on
libxml2-python, otherwise the target createrepo can't work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoncurses: inherit pkgconfig
Christophe Guillon [Wed, 6 May 2015 13:32:22 +0000 (14:32 +0100)]
ncurses: inherit pkgconfig

Without pkgconfig being present at build time it's possible for the .pc files to
not be installed correctly.

Signed-off-by: Christophe Guillon <christophe.guillon@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqt4-x11-free: make virtual/libgl dependency conditional
Dmitry Eremin-Solenikov [Fri, 24 Apr 2015 20:02:21 +0000 (23:02 +0300)]
qt4-x11-free: make virtual/libgl dependency conditional

Make qt4-x11-free depend on virtual/libgl only if the DISTRO_FEATURES
contains opengl. Otherwise there will be no package to fullfil this
dependency.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: Increased verbosity for connectivity check
Mariano Lopez [Tue, 28 Apr 2015 11:27:25 +0000 (12:27 +0100)]
sanity.bbclass: Increased verbosity for connectivity check

The connectivity sanity error doesn't tell you which URL failed to fetch nor how
it failed.

This provides the URL that failed and why it failed using BBFetchException
messages during the connectivity check.

[YOCTO #7592]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agounzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315
Roy Li [Wed, 29 Apr 2015 00:53:35 +0000 (08:53 +0800)]
unzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9636

unzip 6.0 allows remote attackers to cause a denial of service
(out-of-bounds read or write and crash) via an extra field with
an uncompressed size smaller than the compressed field size in a
zip archive that advertises STORED method compression.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1315

Buffer overflow in the charset_to_intern function in unix/unix.c in
Info-Zip UnZip 6.10b allows remote attackers to execute arbitrary code
via a crafted string, as demonstrated by converting a string from CP866
to UTF-8.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernelshark: fix for rebuild
Robert Yang [Thu, 14 May 2015 08:12:11 +0000 (01:12 -0700)]
kernelshark: fix for rebuild

Fixed when rebuild:
| NOTE: make prefix=/usr bindir_relative=bin libdir=lib NO_PYTHON=1 gui clean
| make: *** No rule to make target `sysroots/x86_64-linux/usr/lib/i586-poky-linux/gcc/i586-poky-linux/4.9.2/include/stddef.h', needed by `event-parse.o'.  Stop.
| ERROR: oe_runmake failed

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5: fix installed-vs-shipped
Robert Yang [Thu, 14 May 2015 08:11:04 +0000 (01:11 -0700)]
gcc-5: fix installed-vs-shipped

gcc-5.1.0: gcc: Files/directories were installed but not shipped in any package:
  /usr/bin/i586-poky-linux-gcov-tool

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomodule/module-base/lttng-modules: Improve kernel module dependencies
Richard Purdie [Thu, 14 May 2015 09:31:05 +0000 (10:31 +0100)]
module/module-base/lttng-modules: Improve kernel module dependencies

If we have DEPENDS = "virtual/kernel" is means that the kernel module
depends on the kernel's do_populate_sysroot task. This is not entirely
desireable since that depends on do_install which depends on
do_compile_kernelmodules and so on. In a situation where rm_work in involved
this can cause some pretty length build cycles after the kernel workdir
has been cleaned up by rm_work.

As well as removing this, take the opportunity to clean up duplicated
dependency lines, tweak the dependency of make_scripts for the same
reason and generally try and make things more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl/orc: virtclass-native -> class-native
Robert Yang [Tue, 12 May 2015 08:58:51 +0000 (01:58 -0700)]
openssl/orc: virtclass-native -> class-native

The virtclass-native is out of date.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostat: fix SRC_URI
Robert Yang [Tue, 12 May 2015 08:58:50 +0000 (01:58 -0700)]
stat: fix SRC_URI

The old SRC_URI is redirected to the new one, fixed:
WARNING: Failed to fetch URL ftp://metalab.unc.edu/pub/Linux/utils/file/stat-3.3.tar.gz, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoelfutils: Disable the unnecessary check in iconv.m4
Roy Li [Tue, 12 May 2015 07:38:09 +0000 (15:38 +0800)]
elfutils: Disable the unnecessary check in iconv.m4

Disable the test "Test against HP-UX 11.11 bug: No converter from EUC-JP
to UTF-8 is provided" since we don't support HP-UX and if the euc-jp is
not installed on the host, the dependence will be built without iconv
support and will cause guild-native building fail.

The patch is similar as 0470bd7a9658d3[libunistring: remove the test to
convert euc-jp in configure]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc5: Add back g++ sysroot patch
Richard Purdie [Tue, 12 May 2015 12:02:49 +0000 (13:02 +0100)]
gcc5: Add back g++ sysroot patch

Without this, g++/c++ compilation doesn't work on target due to missing
header files. Automated sanity tests fail. Add back the gcc4 patch to
address this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc5: Add PR65779 patch to fix powerpc compile issues
Richard Purdie [Mon, 11 May 2015 16:54:57 +0000 (17:54 +0100)]
gcc5: Add PR65779 patch to fix powerpc compile issues

This fixes compile issues on powerpc with gcc 5 which show up with
errors like:

| make[2]: Entering directory '/media/build1/poky/build/tmp/work/ppc7400-poky-linux/xprop/1_1.2.2-r0/build'
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/media/build1/poky/build/tmp/sysroots/qemuppc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing  -O2 -pipe -g -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xprop dsimple.o clientwin.o xprop.o -lX11
| /media/build1/poky/build/tmp/sysroots/qemuppc/usr/lib/../lib/libX11.so: undefined reference to `.LCL2'
| collect2: error: ld returned 1 exit status

[YOCTO #7721]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsserv: Remove
Richard Purdie [Sun, 10 May 2015 11:30:49 +0000 (12:30 +0100)]
insserv: Remove

Remove insserv from OE-Core. It did have uses but we've optimised the sysvinit
scripts as needed and there are other directions init systems are moving now.
It no longer belongs in the core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodbus: Fix do_install files outside ${D}
Richard Purdie [Sun, 10 May 2015 11:30:12 +0000 (12:30 +0100)]
dbus: Fix do_install files outside ${D}

do_install should not access the sysroot directly. Add missing ${D}
reference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense_class: license_create_manifest improvment
Aníbal Limón [Fri, 8 May 2015 20:41:32 +0000 (20:41 +0000)]
license_class: license_create_manifest improvment

Use image_list_installed_packges instead of open manually the package
manifest and iterate over it.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense: Add support for handle INCOMPATIBLE_LICENSE in manifest creation
Aníbal Limón [Fri, 8 May 2015 20:41:31 +0000 (20:41 +0000)]
license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation

When INCOMPATIBLE_LICENSE's is specified it need to be removed from
license.manifest and also avoid copy to target image.

Add ManifestVisitor that walk the license string searching for
INCOMPATIBLE_LICENSE's if found remove it.

[YOCTO #6765]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense: Split visit_string in LicenseVisitor
Aníbal Limón [Fri, 8 May 2015 20:41:30 +0000 (20:41 +0000)]
license: Split visit_string in LicenseVisitor

Create get_elements and visit_elements in LicenseVisitor based
on visit_string this allow to do modifications on elements before
parsing with AST.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense_class: Generalize license_ok function
Aníbal Limón [Fri, 8 May 2015 20:41:29 +0000 (20:41 +0000)]
license_class: Generalize license_ok function

Add dont_want_licenses as parameter to license_ok function and move it
to oe.license module in order to use in other modules.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense_class: Reimplemented manifest creation in python
Aníbal Limón [Fri, 8 May 2015 20:41:28 +0000 (20:41 +0000)]
license_class: Reimplemented manifest creation in python

Reimplemented license_manifest_create from shell to python for
INCOMPATIBLE_LICENSE handle using oe.license module.

Optimizations are made to avoid license copy now uses a hardlink
and symbolic link this helps to save space during build.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodistro_features_check: add any of test
Joe Slater [Thu, 7 May 2015 19:55:26 +0000 (12:55 -0700)]
distro_features_check: add any of test

Add a test for distro features including one or more
items in a list.  This is useful when, for example, we
need either x11 or directfb as a feature.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: improve merge commit handling
Patrick Ohly [Fri, 8 May 2015 12:37:30 +0000 (14:37 +0200)]
combo-layer: improve merge commit handling

When the head of a branch is a merge commit, combo-layer did not
record that commit as last_revision because it only considers applied
patches, and the merge commit never gets applied.

This causes problems when the merge commit leads to multiple patches
and the commit id that gets recorded only reaches some of these
patches. The next run then will try to re-apply the other patches.

This special case is now detected and dealt with by bumping
last_revision to the branch commit. The behavior where the head is a
normal commit is intentionally not changed, because some users might
prefer the traditional behavior.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston-init: support system's configuration file
Philippe Coval [Fri, 8 May 2015 13:56:40 +0000 (15:56 +0200)]
weston-init: support system's configuration file

Look for OPTARGS variable in /etc/default/weston
and set it as weston's service default options.

This can be used to force system's supported backend.

Change-Id: I0562c9326df5b46226093199873ef58d77aeae75
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodbus: upgrade to 1.8.16
Roy Li [Thu, 7 May 2015 01:54:08 +0000 (09:54 +0800)]
dbus: upgrade to 1.8.16

Upgrade to fix CVE-2015-0245

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-4.9, gcc-5: Use variable SYSTEMLIBS_DIR instead of hardcoding it for aarch64
Khem Raj [Wed, 6 May 2015 07:04:57 +0000 (00:04 -0700)]
gcc-4.9, gcc-5: Use variable SYSTEMLIBS_DIR instead of hardcoding it for aarch64

Change-Id: I54dc82a569f02d489137d88f16d6b768c4ab779b
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc: Add 5 recipes
Khem Raj [Wed, 6 May 2015 07:04:55 +0000 (00:04 -0700)]
gcc: Add 5 recipes

Drop backports obviously
additionally drop local patches around
parallel compilation since it got reworked upstream

To select set

GCCVERSION = "5.1%"
SDKGCCVERSION = "5.1%"

in local.conf

Change-Id: Icdfa61017a617244128f361b022e7c8f1f9e0610
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-yocto: propagate in tree defconfigs to WORKDIR
Bruce Ashfield [Fri, 8 May 2015 03:36:15 +0000 (23:36 -0400)]
kernel-yocto: propagate in tree defconfigs to WORKDIR

As reported by Steffen Pankratz <Steffen.Pankratz@elektrobit.com>, the
previous logic of KBUILD_DEFCONFIG processing would not propagate an in
tree defcofig to WORKDIR if one was not already present.

We fix the propagation by copying the in tee config if a defconfig is
not already in WORKDIR.

Additionally we only warn (versus copying) if an in tree configuration
is specified, is different than the WORKDIR version and isn't copied.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/3.14: fix qemumips build error
Bruce Ashfield [Fri, 8 May 2015 03:36:13 +0000 (23:36 -0400)]
linux-yocto/3.14: fix qemumips build error

Updating the SRCREVs to import the following fix:

    mips: define cpu_has_saa in common features include

    To avoid build failures such as the following on non-cavium
    platforms:

     | arch/mips/include/asm/atomic.h: In function 'atomic_add':
     | arch/mips/include/asm/atomic.h:52:6: error: 'cpu_has_saa'
     | undeclared (first use in this function)
     |   if (cpu_has_saa) {
     |       ^

    We define a disabled cpu_has_saa unless the machine specific feature
    overrides define a value.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: fix race between checkout and meta data generation
Bruce Ashfield [Fri, 8 May 2015 03:36:14 +0000 (23:36 -0400)]
linux-yocto: fix race between checkout and meta data generation

There are two tasks that must run before a linux-yocto kernel is built.

  - Kernel checkout and relocation to work-shared (kernel_checkout)
  - Meta data gathering and configuration prep (kernel_metadata)

The current task definitions for both are simply "before do_patch",
which is correct, but kernel_checkout must run before and not race with
kernel_metadata.

So we set the definition of kernel_checkout to be more specific and
enforce the proper ordering.

[YOCTO: #7731]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/3.19: Braswell support and bug fixes
Bruce Ashfield [Fri, 8 May 2015 03:36:12 +0000 (23:36 -0400)]
linux-yocto/3.19: Braswell support and bug fixes

Updating to include the following commits:

   a4d0c407cced dmaengine: dw: don't handle interrupt when dmaengine is not used
   e92b2ce791b2 dmaengine: dw: define DW_DMA_MAX_NR_MASTERS
   931304a6567e dmaengine: dw: provide DMA capabilities
   468bad4f7a6f dmaengine: dw: Split device_control
   b4afd7710db7 i2c: i801: Use managed pcim_* PCI device initialization and reservation
   d81a8a11ecba i2c: i801: Remove pci_enable_device() call from i801_resume()
   40e18604e70c i2c: i801: Use managed devm_* memory and irq allocation
   b54f65dbe57b i2c: i801: Remove i801_driver forward declaration
   e95740d4d079 i2c: i801: Don't break user-visible strings
   423e98721e04 ACPI: Introduce has_acpi_companion()
   291f620dc052 i2c: designware: Suppress error message if platform_get_irq() < 0
   cf5ff51a8e3f i2c: designware-pci: no need to provide clk_khz
   4f583ce420d3 i2c: designware-pci: remove Moorestown support
   e000c549c9d8 i2c: designware: Add Intel Baytrail PMIC I2C bus support
   7ffbd9ca19a7 i2c: designware: fixup return handling of wait_for_completion_timeout
   5758d5a1df32 i2c: designware: Do not calculate SCL timing parameters needlessly
   2f58fcae92db i2c: designware: Add i2c bus locking support
   84a73e51e900 i2c: designware: use {readl|writel}_relaxed instead of readl/writel
   f672bb8424e6 serial: 8250_dw: Fix get_mctrl behaviour
   91bd64585489 serial: 8250: add support for ACPI-probed serial port for X-Gene platform
   1190cba71f09 serial:8250:8250_pci: delete unneeded quirk entries
   6405a4b71451 serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S
   0a1a31bbbc19 serial: 8250_pci: remove one useless explicit type conversion
   4edc52a55f82 intel_idle: Add support for the Airmont Core in the Cherrytrail and Braswell SOCs
   934f85e8bfdb x86/irq, ACPI: Implement ACPI driver to support IOAPIC hotplug
   c6a3440252a8 ACPI / LPSS: check the result of ioremap()
   6aacc0c931b7 pinctrl: update direction_output function of cherryview driver
   cb4a43a2177d pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs
   0df22c007ce1 pinctrl: intel: drop owner assignment from platform_drivers
   07b16f04700b pinctrl: cherryview: Save and restore pin configs over system sleep
   e8e5cfffa231 pinctrl: baytrail: Save pin context over system sleep
   04cb3cc0ff21 pinctrl: baytrail: Rework interrupt handling
   4cac25d2574d pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode
   eacab9ab234a pinctrl: baytrail: Relax GPIO request rules

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-xorg: Make xinerama selectable via PACKAGECONFIG
Ricardo Ribalda Delgado [Fri, 8 May 2015 13:36:01 +0000 (15:36 +0200)]
xserver-xorg: Make xinerama selectable via PACKAGECONFIG

If xinerara can be selected via PACKAGECONFIG, xserver-xorg recipe can
be easier modified via bbappend.

xinerama is needed by the fglrx driver (from AMD).

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: Make check selectable via PACKAGECONFIG
Ricardo Ribalda Delgado [Fri, 8 May 2015 15:04:14 +0000 (17:04 +0200)]
gstreamer1.0: Make check selectable via PACKAGECONFIG

This way, this configuration can be easily changed via .bbappend file
without having to re-define the whole EXTRA_OECONF.

With --disable-check  libgstcheck is not build.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG
Ricardo Ribalda Delgado [Fri, 8 May 2015 15:04:13 +0000 (17:04 +0200)]
gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

It is more elegant

Suggested-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobind: disable the HTTP statistics service by default
Ross Burton [Thu, 7 May 2015 14:30:54 +0000 (15:30 +0100)]
bind: disable the HTTP statistics service by default

Rename the "libxml2" PACKAGECONFIG to "httpstats" so that is is meaningful, and
disable it by default as a web frontend to the server statistics shouldn't be
enabled by default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobind: update libxml2 detection patch
Ross Burton [Thu, 7 May 2015 14:30:53 +0000 (15:30 +0100)]
bind: update libxml2 detection patch

Refresh the libxml2 detection patch to directly call pkg-config instead of
attempting to use xml2-config, which will always return an error in OE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobind: upgrade to 9.10.2
Roy Li [Mon, 4 May 2015 08:43:39 +0000 (16:43 +0800)]
bind: upgrade to 9.10.2

1. Remove two unneeded CVE patches, 9.10.2 fixed the CVE-2015-1349 also
2. Remove bind-subdirs-run-serially.patch and cross-build-fix.patch,
similar fixes are merged into 9.10.2
3. update the dont-test-on-host.patch
4. update the Copyright file checksum, since the date in it has been changed.
5. replace the hardcode lib dir with $base_libdir in bind-add-crosscripts*.patch

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-selftest: devtool: add a proper test to see if tap devices exist
Paul Eggleton [Thu, 7 May 2015 13:52:25 +0000 (14:52 +0100)]
oe-selftest: devtool: add a proper test to see if tap devices exist

Check up front in test_devtool_deploy_target whether the tap devices
exist and skip if not. If we don't do this we get a significantly less
comprehensible error via pexpect.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: fix for rename of gcc-source
Paul Eggleton [Thu, 7 May 2015 13:52:24 +0000 (14:52 +0100)]
devtool: fix for rename of gcc-source

After OE-Core commit 67db7182faf6742b0d971d61d8c5ba34f69d2e12, PV is
appended to the end of the gcc-source PN, thus we need to handle that in
devtool and the corresponding test.

Part of the fix for [YOCTO #7729].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-selftest: devtool: fix broken URL in test_devtool_add_fetch
Paul Eggleton [Thu, 7 May 2015 13:52:23 +0000 (14:52 +0100)]
oe-selftest: devtool: fix broken URL in test_devtool_add_fetch

I already had the file fetched from some previous work and thus it
didn't attempt to download the invalid URL when I tested it earlier.

Part of the fix for [YOCTO #7729].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobluez: update to 5.30
Kevron Rees [Tue, 5 May 2015 21:37:48 +0000 (14:37 -0700)]
bluez: update to 5.30

Signed-off-by: Kevron Rees <kevron.m.rees@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: fix the CVE-2015-1572
Roy Li [Wed, 6 May 2015 09:09:41 +0000 (17:09 +0800)]
e2fsprogs: fix the CVE-2015-1572

Backport a patch to fix CVE-2015-1572
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1572

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: upgrade to 7.42.1
Roy Li [Wed, 6 May 2015 07:10:54 +0000 (15:10 +0800)]
curl: upgrade to 7.42.1

Upgrade to include a security fixes for CVE-2015-3153

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane: Support aarch64 on musl
Khem Raj [Wed, 6 May 2015 07:04:56 +0000 (00:04 -0700)]
insane: Support aarch64 on musl

musl 1.1.8 supports aarch64

Change-Id: Ie8d39a29dcb7a41c8d59d2a00528b6add8a7655c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibart-lgpl: Fix cross compiling
Khem Raj [Wed, 6 May 2015 07:04:59 +0000 (00:04 -0700)]
libart-lgpl: Fix cross compiling

We use standard ISO C data types and get rid of configure guess work
which is iffy in cross compiled environment. Cleans up the re-build as well
since we were deleting art_config.h without considering if the file is
there in first place or not.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel.bbclass: Fix race condition
Ed Bartosh [Wed, 6 May 2015 20:28:39 +0000 (23:28 +0300)]
kernel.bbclass: Fix race condition

Race condition between do_compile_kernelmodules and do_shared_workdir
tasks occurs when do_compile_kernelmodules changes files in
include/generated/* while do_shared_workdir tries to copy them to
shared working directory.

Fixed race by moving do_shared_workdir after do_compile but before
do_compile_kernelmodules.

[YOCTO #7321]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/buildstats: misc cleanups
Paul Eggleton [Wed, 6 May 2015 16:19:27 +0000 (17:19 +0100)]
classes/buildstats: misc cleanups

* Rename BNFILE and DEVFILE so that they are clearly specific to this
  class, since they end up in the global scope
* Use "with open" when opening files consistently
* Use getVar('PF', True) instead of expand('${PF}')
* Drop some unnecessary assignments

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/buildstats: don't catch all errors from mkdirhier
Paul Eggleton [Wed, 6 May 2015 16:19:26 +0000 (17:19 +0100)]
classes/buildstats: don't catch all errors from mkdirhier

mkdirhier() doesn't raise an exception if the directory exists, so if it
does raise one we should just be failing, otherwise we're just going
to hit errors later anyway.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/buildstats: whitespace cleanup
Paul Eggleton [Wed, 6 May 2015 16:19:25 +0000 (17:19 +0100)]
classes/buildstats: whitespace cleanup

* Drop trailing whitespace
* Use spaces around equals in assignments
* Replace an errant tab with spaces

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu-internal: correctly set format for root FS as raw
Cristian Iorga [Wed, 6 May 2015 15:21:47 +0000 (18:21 +0300)]
runqemu-internal: correctly set format for root FS as raw

qemu guesses via probing the format of root FS, but
gives a warning and restricts write operations on block 0.
So fix it by setting correctly the format as raw.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.3.0
Cristian Iorga [Wed, 6 May 2015 15:21:46 +0000 (18:21 +0300)]
qemu: upgrade to 2.3.0

Qemu-Arm-versatilepb-Add-memory-size-checking.patch
brought up to date;
37ed3bf1ee07bb1a26adca0df8718f601f231c0b.patch removed,
integrated upstream;
glx enable config option changed to opengl enable,
update accordingly.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agox11perf: Upgrade 1.5.4 -> 1.6.0
Jussi Kukkonen [Tue, 5 May 2015 11:12:49 +0000 (14:12 +0300)]
x11perf: Upgrade 1.5.4 -> 1.6.0

* remove PR

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxhost: Upgrade 1.0.6 -> 1.0.7
Jussi Kukkonen [Tue, 5 May 2015 11:12:48 +0000 (14:12 +0300)]
xhost: Upgrade 1.0.6 -> 1.0.7

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxmodmap: Upgrade 1.0.8 -> 1.0.9
Jussi Kukkonen [Tue, 5 May 2015 11:12:47 +0000 (14:12 +0300)]
xmodmap: Upgrade 1.0.8 -> 1.0.9

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxev: Upgrade 1.2.1 -> 1.2.2
Jussi Kukkonen [Tue, 5 May 2015 11:12:46 +0000 (14:12 +0300)]
xev: Upgrade 1.2.1 -> 1.2.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoserf: update SRC_URI to use debian mirrors instead of googlecode
Maxin B. John [Tue, 5 May 2015 14:14:37 +0000 (16:14 +0200)]
serf: update SRC_URI to use debian mirrors instead of googlecode

Update SRC_URI to use debian mirrors as googlecode will be closed
in near future. Also added a summary to the recipe.

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibarchive: fix out of tree builds
Ross Burton [Tue, 5 May 2015 14:33:15 +0000 (15:33 +0100)]
libarchive: fix out of tree builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokbproto: Upgrade 1.0.6 -> 1.0.7
Jussi Kukkonen [Tue, 5 May 2015 19:33:11 +0000 (22:33 +0300)]
kbproto: Upgrade 1.0.6 -> 1.0.7

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorandrproto: Upgrade 1.4.0 -> 1.4.1
Jussi Kukkonen [Tue, 5 May 2015 19:33:10 +0000 (22:33 +0300)]
randrproto: Upgrade 1.4.0 -> 1.4.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxproto: Upgrade 7.0.26 -> 7.0.27
Jussi Kukkonen [Tue, 5 May 2015 19:33:09 +0000 (22:33 +0300)]
xproto: Upgrade 7.0.26 -> 7.0.27

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: Disable pip to fix issues on the Autobuilders
Alejandro Hernandez [Mon, 4 May 2015 09:43:01 +0000 (09:43 +0000)]
python3: Disable pip to fix issues on the Autobuilders

As Python-3.4 pip is required and installed by default, pips installation
is bootstrapped using python wheels, this makes it complicated to patch,
by default the installation uses an absolute path to /tmp, on most cases
this would not be a problem, but since on the Autobuilders several Python
installations (for different archs) may be happening at the same time,
this shared resource utilization results in errors at do_install(), this
patch disables pip installation by default for now, until we have a
python3-pip package which we can easily patch in these situations.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-native: Disable pip on native builds to fix Autobuilder issues
Alejandro Hernandez [Mon, 4 May 2015 09:43:00 +0000 (09:43 +0000)]
python3-native: Disable pip on native builds to fix Autobuilder issues

As Python-3.4 pip is required and installed by default, pips installation
is bootstrapped using python wheels, this makes it complicated to patch
and causes errors on the Autobuilders, since we don't need pip for
python3-native, this disables it fixing the issues.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-native: Fix pip install issue due to unclean build directory
Alejandro Hernandez [Thu, 16 Apr 2015 09:45:29 +0000 (09:45 +0000)]
python3-native: Fix pip install issue due to unclean build directory

When installing python3-native sometimes pips default build
directory (which is on the host and is user dependant) is left unclean,
due to this, when python3-core is being installed it tries to use
the same directory producing an error, this explicitly removes
what the previous installation might have left behind, fixing the issue.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: Change python BASEVERSION to 3.4
Alejandro Hernandez [Mon, 13 Apr 2015 18:13:26 +0000 (13:13 -0500)]
python3: Change python BASEVERSION to 3.4

Changes PYTHON_BASEVERSION = 3.4 to fix errors when installing
python3-distribute and probably other libraries

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogenerate-manifest-3.4.py: Add fractions to ${PN}-numbers
Tim Orling [Thu, 9 Apr 2015 23:55:23 +0000 (16:55 -0700)]
generate-manifest-3.4.py: Add fractions to ${PN}-numbers

python-cryptography requires fractions module which is currently unpackaged.

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: Upgrade from 3.3.3 to 3.4.2
Alejandro Hernandez [Fri, 27 Feb 2015 18:49:22 +0000 (12:49 -0600)]
python3: Upgrade from 3.3.3 to 3.4.2

Modifies:
python3-native_3.3.3.bb -> python3-native_3.4.2.bb: Updates checksums, version, patches
and SRC_URIs to use xz format, LICENSE did not change, dates were updated, adds fix for
ctypes/libffi needed for pip <- required since Python 3.4 (see PEP #453).
python3_3.3.3.bb -> python3_3.4.2.bb: Updates checksums, version, patches and SRC_URIs
to use xz format, adds fix for ctypes/libffi, fixes oe_multilib_header() call,
adds python3-core as RDEPENDS to python3-misc to avoid QA issue.
generate-manifest-3.4.py - > generate-manifest-3.4.py: fixes reprlib,
adds _sitebuiltins and _collections_abc <- formerly part of collections, separated since 3.4
python-3.3-manifest.inc -> python-3.4-manifest.inc

Rebases:
12-distutils-prefix-is-inside-staging-area.patch
python-3.3-multilib.patch
04-default-is-optimized.patch
avoid-ncursesw-include-path.patch

Deletes (fixed upstream):
fix-ast.h-dependency.patch
python3-fix-build-error-with-Readline-6.3.patch
06-ctypes-libffi-fix-configure.patch
remove_sqlite_rpath.patch

[YOCTO #6857]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
9 years agoconnman: upgrade to 1.29
Cristian Iorga [Mon, 4 May 2015 14:15:39 +0000 (17:15 +0300)]
connman: upgrade to 1.29

- Add support for Ethernet and VLAN usage;
- Fixes.

Added build-create-dirs-before-putting-files-in-them.patch,
already submitted upstream.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoconnman: code cleanup
Cristian Iorga [Mon, 4 May 2015 14:15:38 +0000 (17:15 +0300)]
connman: code cleanup

- cleanup multiple inherit lines;
- RDEPENDS cleanup, use PACKAGECONFIG[] instead.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoghostscript: Add MicroBlaze support
Nathan Rossi [Tue, 5 May 2015 04:27:56 +0000 (14:27 +1000)]
ghostscript: Add MicroBlaze support

* Add objarch.h for MicroBlaze big and little endian

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agositeinfo.bbclass: Add MicroBlaze big endian target info
Nathan Rossi [Tue, 5 May 2015 04:27:55 +0000 (14:27 +1000)]
siteinfo.bbclass: Add MicroBlaze big endian target info

* Add the target info for the 'microblazeeb' target which matches the
  default MicroBlaze target info

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane.bbclass: Add MicroBlaze big endian target info
Nathan Rossi [Tue, 5 May 2015 04:27:54 +0000 (14:27 +1000)]
insane.bbclass: Add MicroBlaze big endian target info

* Add the target info for the 'microblazeeb' target which matches the
  default MicroBlaze target info

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-arch: Update mapping for MicroBlaze architectures
Nathan Rossi [Tue, 5 May 2015 04:27:53 +0000 (14:27 +1000)]
kernel-arch: Update mapping for MicroBlaze architectures

* Add pattern matching for the 'microblazeeb' architecture which maps to
  'microblaze' in the same way as 'microblazeel'

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomirrors.bbclass: drop support for svk sources
Andre McCurdy [Mon, 4 May 2015 21:49:53 +0000 (14:49 -0700)]
mirrors.bbclass: drop support for svk sources

The svk fetcher was removed from bitbake 1.22, so svk support should
logically have been removed from oe-core Daisy onwards.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoshared-mime-info: Upgrade 1.3 -> 1.4
Jussi Kukkonen [Mon, 4 May 2015 10:37:38 +0000 (13:37 +0300)]
shared-mime-info: Upgrade 1.3 -> 1.4

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopseudo 1.6.5: less pointlessly chatty
Peter Seebach [Mon, 4 May 2015 20:55:49 +0000 (15:55 -0500)]
pseudo 1.6.5: less pointlessly chatty

There was a stupid logic error controlling the diagnostic for
a "possible" mismatch involving trailing slashes and whether or
not a node was believed to be a directory. Specifically, a diagnostic
got printed any time a lookup for a directory *didn't* have a
trailing slash, as well as in the (actually intended) case where
a non-directory lookup *did*.

No other changes, but that one is probably significant.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf/base.bbclass: Drop PRINC support
Richard Purdie [Sun, 3 May 2015 10:37:42 +0000 (11:37 +0100)]
bitbake.conf/base.bbclass: Drop PRINC support

PRINC is no longer needed since we have the PR service instead
which people should be using. Drop the PRINC code.

This has been deprecated with a warning and then an error for quite some
time so we can remove it now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodirectfb: Correct bashism
Richard Purdie [Sun, 3 May 2015 10:28:22 +0000 (11:28 +0100)]
directfb: Correct bashism

Fix builds of directfb on systems with dash as /bin/sh

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb: Improve CFLAGS handling for x86
Richard Purdie [Sun, 3 May 2015 10:27:24 +0000 (11:27 +0100)]
directfb: Improve CFLAGS handling for x86

The problem with filter_out is that it expands the variable meaning overrides
to sub components can get lost. This has happening to the security flags
meaning directfb failed in lsb builds.

Use _remove instead of filter_out since it gives much more predictable results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosecurity_flags: Add python-numpy to pie incompatible list
Richard Purdie [Sun, 3 May 2015 10:26:49 +0000 (11:26 +0100)]
security_flags: Add python-numpy to pie incompatible list

With poky-lsb (security flags enabled), python-numpy doesn't build
with pie flags.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: backfill bluez5 feature
Cristian Iorga [Tue, 28 Apr 2015 09:03:18 +0000 (12:03 +0300)]
bitbake.conf: backfill bluez5 feature

If bluez4 is not explicitly passed as a
distro feature, bluez5 should be used as
the default, so backfill it.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez: remove bluez4 recipes
Cristian Iorga [Tue, 28 Apr 2015 09:03:17 +0000 (12:03 +0300)]
bluez: remove bluez4 recipes

BlueZ 4.x and associated recipes
are now obsolete.
(bluez4,bluez-hcidump, gst-plugin-bluetooth).
Will be moved into recipes-connectivity
collection of meta-openembedded.
BlueZ 4.x is still usable in poky/YP.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez4: add proper systemd support
Cristian Iorga [Tue, 28 Apr 2015 09:03:16 +0000 (12:03 +0300)]
bluez4: add proper systemd support

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomultilib: Tweak value of PN used for OVERRIDES
Richard Purdie [Sat, 2 May 2015 09:04:37 +0000 (10:04 +0100)]
multilib: Tweak value of PN used for OVERRIDES

Currently, PN is used in overrides which is expanded to have a MLPREFIX. This
means and pn- overrides without the prefix would be ignored which is not what
is usually expected.

We noticed huge problems using poky-lsb with multilib since the per recipe
overrides were not applied. This adds in handling for PN with and without
the prefix. This should unbreak world-lsb builds on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: bring back the patch to customise root's $HOME
Ross Burton [Tue, 28 Apr 2015 20:11:07 +0000 (21:11 +0100)]
systemd: bring back the patch to customise root's $HOME

This patch appears to have been accidently dropped in the move to 219-stable,
probably because it didn't apply.  Update the patch and re-add it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobind: remove 5 backport patches
Robert Yang [Tue, 28 Apr 2015 03:43:24 +0000 (20:43 -0700)]
bind: remove 5 backport patches

They are backport patches, and verified that the patches are in the
source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibart_lgpl: Allow art_config.h to be generated at compile time
Nathan Rossi [Wed, 29 Apr 2015 07:44:34 +0000 (17:44 +1000)]
libart_lgpl: Allow art_config.h to be generated at compile time

* Remove patch that prevents the Makefile from generating the
  art_config.h file
* Remove pre-generated art_config.h for various architecture
* Add a do_compile prepend to remove the art_config.h that is provided
  in the source so that the compilation will regenerate the file

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicu: Upgrade 54.1 -> 55.1
Jussi Kukkonen [Thu, 30 Apr 2015 07:39:16 +0000 (10:39 +0300)]
icu: Upgrade 54.1 -> 55.1

License checksum changed because of unrelated changes in the html
file: actual license texts are unchanged.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofreetype: Upgrade 2.5.4 -> 2.5.5
Jussi Kukkonen [Thu, 30 Apr 2015 07:39:15 +0000 (10:39 +0300)]
freetype: Upgrade 2.5.4 -> 2.5.5

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: install populate-extfs.sh
Martin Jansa [Tue, 28 Apr 2015 22:46:18 +0000 (00:46 +0200)]
e2fsprogs: install populate-extfs.sh

* install populate-extfs.sh from contrib, be aware that in order
  to use it you need to set DEBUGFS shell variable, otherwise it will
  try to use debugfs from relative path which is almost always
  incorrect:
    CONTRIB_DIR=$(dirname $(readlink -f $0))
    DEBUGFS="$CONTRIB_DIR/../debugfs/debugfs"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto-dev: introduce 4.1-rc development kernel
Bruce Ashfield [Fri, 1 May 2015 01:34:20 +0000 (21:34 -0400)]
linux-yocto-dev: introduce 4.1-rc development kernel

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: fix build (and feature tests) for 4.1-rcX
Bruce Ashfield [Fri, 1 May 2015 01:34:19 +0000 (21:34 -0400)]
perf: fix build (and feature tests) for 4.1-rcX

The way that perf detects features has changed/moved via commit e6c76d620
[perf build: Move feature checks code under tools/build].

This code movement resulted in the definition of CC being dropped, and
in turn the passing of --sysroot not part of the build.

This results in feature tests failing with errors such as:

  In file included from test-pthread-attr-setaffinity-np.c:1:0:
  sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.9.2/include/stdint.h:9:26:
  fatal error: stdint.h: No such file or directory
  # include_next <stdint.h>
                          ^
  compilation terminated.

While the fix is going upstream, we can modify the perf recipe to add
the definition of CC into the Makefile, and we'll continue to work on
patched and unpatched kernels.

Upstream-status: Pending

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: add core bluetooth support to qemux86* and common-pc*
Bruce Ashfield [Fri, 1 May 2015 01:34:17 +0000 (21:34 -0400)]
linux-yocto: add core bluetooth support to qemux86* and common-pc*

Updating the configuration for the common x86 platforms to always
include core bluetooth support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: refresh -rt support
Bruce Ashfield [Fri, 1 May 2015 01:34:16 +0000 (21:34 -0400)]
linux-yocto/3.14: refresh -rt support

Paul Gortmaker refreshed the 3.14-rt support to the latest rt stable
content.

With these SRCREV bumps, the 3.14 LTSI kernel is now at -rt37.

   91dc6afcecd4 rt: bump localversion from 32 to 37
   e69f7430b620 rt: bump localversion to 32
   c060800318e4 netpoll: guard the access to dev->npinfo with rcu_read_lock/unlock_bh() for CONFIG_PREEMPT_RT_FULL=y
   833c21beba79 Revert "timers: do not raise softirq unconditionally"
   6c9337ff352c fs,btrfs: fix rt deadlock on extent_buffer->lock
   2d542663bfb9 staging: Mark rtl8821ae as broken
   988e4701df83 timers: Reduce future __run_timers() latency for first add to empty list
   2549262883c5 timers: Reduce future __run_timers() latency for newly emptied list
   073fac19d3e4 timers: Reduce __run_timers() latency for empty list
   25ca11173e64 timers: Track total number of timers in list
   277a4ae36580 fs/aio: simple simple work
   7b2ebc4e590b lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals
   9afc01954298 thermal: Defer thermal wakups to threads
   84d35d05b236 locking: ww_mutex: fix ww_mutex vs self-deadlock
   f0c8e4837a51 Revert "rwsem-rt: Do not allow readers to nest"
   df0d51ecf13f sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()
   f069e339ca02 work-simple: Simple work queue implemenation
   0d9e6cbead39 scheduling while atomic in cgroup code
   8405cdab8c2c sas-ata/isci: dont't disable interrupts in qc_issue handler
   dfb7e1ab2427 mips: rt: Replace pagefault_* to raw version
   ddbe4584a13b ARM: cmpxchg: define __HAVE_ARCH_CMPXCHG for armv6 and later
   607f2a27c2ee arm/futex: disable preemption during futex_atomic_cmpxchg_inatomic()
   58de8f60159f ARM: enable irq in translation/section permission fault handlers
   62d90b45607c x86: UV: raw_spinlock conversion
   e8d164191f65 rtmutex: enable deadlock detection in ww_mutex_lock functions
   9612daf936db rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation
   47915a120d41 rtmutex.c: Fix incorrect waiter check
   a6a68d53df5f locking/rt-mutex: avoid a NULL pointer dereference on deadlock
   fb2c256f8a91 futex: Simplify futex_lock_pi_atomic() and make it more robust
   7e59d4d5900e futex: Split out the first waiter attachment from lookup_pi_state()
   45ccc2e3f25f futex: Split out the waiter check from lookup_pi_state()
   c5133997a345 futex: Use futex_top_waiter() in lookup_pi_state()
   4726c8b47964 futex: Make unlock_pi more robust
   b55c2c7782ee rtmutex: Avoid pointless requeueing in the deadlock detection chain walk
   ff7cfbb757d4 rtmutex: Cleanup deadlock detector debug logic
   e80ba665fa71 rtmutex: Confine deadlock logic to futex
   7a9e7c37ccf4 rtmutex: Simplify remove_waiter()
   d664c14c1db3 rtmutex: Document pi chain walk
   64bcb809c720 rtmutex: Clarify the boost/deboost part
   02323ee362c4 rtmutex: No need to keep task ref for lock owner check
   063983fb0497 rtmutex: Simplify and document try_to_take_rtmutex()
   f87319b715f1 rtmutex: Simplify rtmutex_slowtrylock()
   de9723ae23f9 gpio: omap: use raw locks for locking
   705ad635f56a rt: bump localversion from 22 to 31
   22b5a5cda73a mm/page_alloc: fixup warning from stable merges to -rt

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: remove unused patches
Joshua Lock [Fri, 1 May 2015 10:41:29 +0000 (11:41 +0100)]
systemd: remove unused patches

These patches are no longer required since 7bfc9891ff498bdde31aadd2449d3b4692dbc510

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: fix login fails for ssh -o Batchmode=yes with empty passwords
Wenlin Kang [Thu, 30 Apr 2015 10:17:39 +0000 (18:17 +0800)]
openssh: fix login fails for ssh -o Batchmode=yes with empty passwords

The patch fixes the login fails for ssh -o Batchmode=yes when passwords is
empty and without authorized_keys file even if set "PermitEmptyPasswords yes"
in sshd_config file.

Here, to fix this issue, we remove the file auth2-none.c-avoid-authenticate-
empty-passwords-to-m.patch, that fixed broken pipe while sshd with pam,
but it isn't needed any more now, because we make it has gone by change
ChallengeResponseAuthentication value in sshd_config file.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoboost/libxslt: Enable nativesdk to unbreak <bitbake universe>
Li Zhou [Thu, 30 Apr 2015 09:34:23 +0000 (17:34 +0800)]
boost/libxslt: Enable nativesdk to unbreak <bitbake universe>

When run <make universe.fetchall>, the make will be broken because
nativesdk-boost and nativesdk-libxslt don't exist.
nativesdk-boost is depended by nativesdk-curlpp.
nativesdk-libxslt is depended by nativesdk-python-lxml.
In condition that meta-openembedded is compiled in.

Add nativesdk building for boost and libxslt.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add plugin for single partition disk
Adrian Freihofer [Mon, 27 Apr 2015 13:00:23 +0000 (15:00 +0200)]
wic: Add plugin for single partition disk

The wic plugin creates a disk image containig one ext2/3/4 partition.
No additional boot partition is required. Syslinux is installed into
the image. The target device is a legacy BIOS PC.

Purpose of this plugin:
Other avaliable plugins create a fat partition for /boot and an ext
partition for rootfs. Current linux-yocto kernel packages are not
compatible with this disk layout. The boot partition is not mounted
by default, hence the kernel is installed into rootfs and not into
boot partition. A kernel update ends up in a bricked device. The old
kernel which is still in boot likely does not even boot with updated
kernel modules from /. Even if the boot partition is mounted during
the kernel update the update will fail. The kernel package installs
a symbolic link which is not supported by the fat partition.
Creating just one ext partition for boot and rootfs solves all issues
related to package based kernel updates on the device.

The plugin depends on syslinux-nomtools a user space installer for
syslinux on ext filesystems.
Thanks to Robert Yang who implemented syslinux-nomtools and supported
the implementation of this plugin.

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic tests: Move wic tests to oe-selftest infra
Ed Bartosh [Thu, 30 Apr 2015 10:33:40 +0000 (13:33 +0300)]
wic tests: Move wic tests to oe-selftest infra

Modified existing wic test modules to work with oe-selftest
infrastructure.

$ oe-selftest --run-tests wic
...
test01_help (oeqa.selftest.wic.Wic)
Test wic --help ... ok
test02_createhelp (oeqa.selftest.wic.Wic)
Test wic create --help ... ok
test03_listhelp (oeqa.selftest.wic.Wic)
Test wic list --help ... ok
test04_build_image_name (oeqa.selftest.wic.Wic)
Test wic create directdisk --image-name core-image-minimal ... ok
test05_build_artifacts (oeqa.selftest.wic.Wic)
Test wic create directdisk providing all artifacts. ... ok

----------------------------------------------------------------------
Ran 5 tests in 6.434s

OK

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic tests: Add docstrings to test methods
Ed Bartosh [Thu, 23 Apr 2015 20:49:07 +0000 (23:49 +0300)]
wic tests: Add docstrings to test methods

Docstrings make nosetests output more clear:

Test wic create --help ... ok
Test wic --help ... ok
Test wic list --help ... ok
Test wic create directdisk providing all artifacts. ... ok
Test wic create directdisk --image-name core-image-minimal ... ok

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic tests: Add functional tests for directdisk
Ed Bartosh [Thu, 23 Apr 2015 20:25:40 +0000 (23:25 +0300)]
wic tests: Add functional tests for directdisk

Added 2 simple functional test cases to check if
wic is able to produce images using directdisk.wks

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4-embedded: add checking for AArch64 ilp32
Krishnanjanappa, Jagadeesh [Wed, 15 Apr 2015 08:23:48 +0000 (13:53 +0530)]
qt4-embedded: add checking for AArch64 ilp32

1. Cross-compiling qt4-embedded and qt4-x11-free applications for AArch64 ilp32
   (both big and little endian) fails with below error,

(snip)
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:31:0,
                 from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:32,
                 from ../3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h:26,
                 from ../3rdparty/javascriptcore/JavaScriptCore/runtime/ClassInfo.h:26,
                 from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:27,
                 from ../3rdparty/javascriptcore/JavaScriptCore/API/JSCallbackConstructor.h:30,
                 from ../3rdparty/javascriptcore/JavaScriptCore/API/JSCallbackConstructor.cpp:27:
../3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h: In instantiation of 'TO QTWTF::bitwise_cast(FROM) [with TO = int; FROM = double]':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSImmediate.h:52:49: required from here
../3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:63:1: error: size of array is negative
../3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h: In instantiation of 'TO QTWTF::bitwise_cast(FROM) [with TO = double; FROM = int]':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSImmediate.h:57:47: required from here
../3rdparty/javascriptcore/JavaScriptCore/wtf/StdLibExtras.h:63:1: error: size of array is negative
make[1]: *** [obj/release/JSCallbackConstructor.o] Error 1
-- CUT --

    the error is because of JSVALUE64 is being defined while compiling
    programs for AArch64 ilp32. This makes equal condition checking of
    intptr_t and double datatypes as false, and results in -1 (negative)
    as array size in bitwise_cast function.
    The patch defines JSVALUE64, if the programs are being compiled for
    AArch64 64bit NOT for ilp32.

2. qt4_arch.inc is modified to set system architecture as aarch64 if the
   TARGET_ARCH is other than aarch64. Without this modification, for
   TARGET_ARCH equal to aarch64_32, aarch64be, aarch64be_32; the system
   architecture is set as 'generic' and results in below error.

configure log:
(snip)
64-bit AMD 80x86 (x86_64)
'-opensource' is unsupported, using 'generic'
'x86_64' is supported
System architecture: 'generic'
Host architecture: 'x86_64'
-- CUT --

build error:
(snip)
In file included from ../../include/QtCore/qatomic_generic.h:1:0,
                 from ../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:64,
                 from ../../include/QtCore/qatomic_arch.h:1,
                 from ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
                 from ../../include/QtCore/qbasicatomic.h:1,
                 from ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
                 from ../../include/QtCore/qatomic.h:1,
                 from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:45,
                 from ../../include/QtCore/qbytearray.h:1,
                 from ../../include/QtCore/../../src/corelib/tools/qstring.h:46,
                 from ../../include/QtCore/qstring.h:1,
                 from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
                 from ../../include/QtCore/qobject.h:1,
                 from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
                 from ../../include/QtCore/qcoreapplication.h:1,
                 from qdbusintegrator.cpp:42:
../../include/QtCore/../../src/corelib/arch/qatomic_generic.h: In instantiation of 'bool QBasicAtomicPointer<T>::testAndSetOrdered(T*, T*) [with T = const QString]':
qdbusintegrator.cpp:76:1:   required from here
../../include/QtCore/../../src/corelib/arch/qatomic_generic.h:197:88: error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
../../include/QtCore/../../src/corelib/arch/qatomic_generic.h:108:20: error: initializing argument 2 of 'bool QBasicAtomicPointer_testAndSetOrdered(void* volatile*, void*, void*)' [-fpermissive]
../../include/QtCore/../../src/corelib/arch/qatomic_generic.h:197:88: error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
../../include/QtCore/../../src/corelib/arch/qatomic_generic.h:108:20: error: initializing argument 3 of 'bool QBasicAtomicPointer_testAndSetOrdered(void* volatile*, void*, void*)' [-fpermissive]
make[1]: *** [.obj/release-shared-emb-auto/qdbusintegrator.o] Error 1
make[1]: *** Waiting for unfinished jobs....
-- CUT --

   So, select system architecture (via QT_ARCH) as aarch64 for
   AArch64 and its other variants

Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>