]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agoverify-homepage: get expanded HOMEPAGE value
Paul Eggleton [Thu, 23 Jul 2015 10:14:32 +0000 (11:14 +0100)] 
verify-homepage: get expanded HOMEPAGE value

We tend not to use any variables in HOMEPAGE values, but that doesn't
mean we would never do so.

(From OE-Core rev: 388737270b681439b31f4e1189bdc09d38705f25)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoverify-homepage: use scriptpath to find bitbake path
Paul Eggleton [Thu, 23 Jul 2015 10:12:52 +0000 (11:12 +0100)] 
verify-homepage: use scriptpath to find bitbake path

We have shared code for this, let's use it.

(From OE-Core rev: e7a5d6e7802b58cf6eae1d83e4bf5c50ab66f80a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibaio: don't disable linking to the system libraries
Ross Burton [Fri, 6 Nov 2015 15:30:58 +0000 (15:30 +0000)] 
libaio: don't disable linking to the system libraries

For some reason that I don't understand (a decade-old attempt at optimisation?)
libaio disables linkage to the system libraries.  Enabling fortify means linking
to the system libraries, so remove the existing addition of -lc for x86 (the
problem also happens on at least PPC) and just link to the system libraries on
all platforms.

Also remove the sed of src/Makefile as the build not respecting LDFLAGS has been
fixed upstream.

(From OE-Core rev: f435ac9db0581d8313a38d586b00c2b3de419298)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu: don't specify IP when starting a VNC server
Ross Burton [Thu, 5 Nov 2015 17:13:22 +0000 (17:13 +0000)] 
runqemu: don't specify IP when starting a VNC server

Whilst qemu doesn't appear to support opening sockets on IPv6 yet, future-proof
the script by just specifying a port and letting qemu work out the rest.

(From OE-Core rev: abf8975bce4bf5d05dbb186d5089f0c3fe07eefb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemurunner: Remove the timeout in run_serial
Mariano Lopez [Thu, 5 Nov 2015 09:08:58 +0000 (09:08 +0000)] 
qemurunner: Remove the timeout in run_serial

Sometmes when there is high load in the server the
commands executed in the target take a lot of time
to complete and this lead to incorrect dump files or
empty files. This is caused because run_serial has a
timeout of five seconds when running the commands in
the target.

This change removes the timeout and just keep reading
the socket until it finds the prompt from the target
or when the socket is not ready to be read.

[YOCTO #8510]

(From OE-Core rev: d1a97475b4e6c7066a3161cb9cec1d4b27644518)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxslt: CVE-2015-7995
Armin Kuster [Thu, 29 Oct 2015 23:22:41 +0000 (16:22 -0700)] 
libxslt: CVE-2015-7995

This is a is being give a High rating so please consider it for
all 1.1.28 versions.

A type confusion error within the libxslt "xsltStylePreCompute()"
function in preproc.c can lead to a DoS. Confirmed in version 1.1.28,
other versions may also be affected.

(From OE-Core rev: 0f89bbab6588a1171259801fa879516740030acb)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-rtsp-server: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:12 +0000 (09:32 +0100)] 
gstreamer1.0-rtsp-server: upgrade to version 1.6.1

(From OE-Core rev: 97ecc213e4c75bcf0b7975f82cd8d01f88c427e2)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-libav: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 16:20:00 +0000 (17:20 +0100)] 
gstreamer1.0-libav: upgrade to version 1.6.1

The lgpl PACKAGECONFIG is replaced by a gpl one,
since the LGPL build is the default now. There is no
--enable-lgpl switch anymore, it got replaced by
--enable-gpl.

(From OE-Core rev: ef620928b5caadae939e2759b1c3933084ad9ebb)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-ugly: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:10 +0000 (09:32 +0100)] 
gstreamer1.0-plugins-ugly: upgrade to version 1.6.1

(From OE-Core rev: dac60a424e30b1a24ec3767a84f49eb8ffbadf48)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:09 +0000 (09:32 +0100)] 
gstreamer1.0-plugins-bad: upgrade to version 1.6.1

0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
in upstream, and therefore not needed as a separate patch anymore.

0001-glimagesink-Downrank-to-marginal.patch didn't apply anymore, and
was adapted to the updated code.

(From OE-Core rev: b771bf7a684e227e8402cef104ff3efe7637059a)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-good: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:08 +0000 (09:32 +0100)] 
gstreamer1.0-plugins-good: upgrade to version 1.6.1

decrease_asteriskh263_rank.patch no longer applies, and is obsolete, since
the asteriskh263 rank has been set to NONE in upstream.

Also, --enable-xshm is no longer part of the configure options.

(From OE-Core rev: 9f0b3251bfab84369b2d4568816254bd968afca0)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-base: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:07 +0000 (09:32 +0100)] 
gstreamer1.0-plugins-base: upgrade to version 1.6.1

A number of patches had to be deleted in order for the recipe to work.

Patches which cannot be applied cleanly to 1.6.1 and are nontrivial to fix:
* 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
* handle-audio-video-decoder-error.patch
* taglist-not-send-to-down-stream-if-all-the-frame-cor.patch

Patches which were rejected by upstream:
* 0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch

Patches which either were backports or accepted and integrated:
* 0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
* 0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
* 0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
* do-not-change-eos-event-to-gap-event2.patch
* do-not-change-eos-event-to-gap-event3.patch
* do-not-change-eos-event-to-gap-event-if.patch
* fix-id3demux-utf16-to-utf8-issue.patch
* videobuffer_updata_alignment_update.patch
* videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch

(From OE-Core rev: f22fd450babf8c515f86334958f8ca2e0af6f19c)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:06 +0000 (09:32 +0100)] 
gstreamer1.0: upgrade to version 1.6.1

Removed patches which either were backports or accepted and integrated

(From OE-Core rev: 6fa5cddbe9ceaa21a0f3ef7fe134257b47039505)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoprelink: Fix various prelink issues on IA32, ARM, and MIPS.
Mark Hatle [Mon, 2 Nov 2015 15:09:47 +0000 (09:09 -0600)] 
prelink: Fix various prelink issues on IA32, ARM, and MIPS.

Fix the following issues:

IA32 / ARM - Resync to glibc-2.22, fix a mismatch w/ glibc's ld.so
MIPS - Ignore the new SHT_MIPS_ABIFLAGS
ARM - Fix missing ARM IFUNC support chunk

Also upstream prelink project no longer has a 'trunk' directory.

(From OE-Core rev: c725328f2ab5c9b220c552ed37c0d24b098a218d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Update default Power GCC settings to use secure-plt
Mark Hatle [Mon, 2 Nov 2015 14:52:28 +0000 (08:52 -0600)] 
gcc: Update default Power GCC settings to use secure-plt

The gcc default, bss-plt, will cause errors when using the prelinker.  All
other distributions that I am aware of are using the the secure-plt.  For an
explanation of the differences, the gcc docs:

  Current PowerPC GCC accepts a `-msecure-plt' option that generates code
  capable of using a newer PLT and GOT layout that has the security
  advantage of no executable section ever needing to be writable and no
  writable section ever being executable. PowerPC ld will generate this
  layout, including stubs to access the PLT, if all input files (including
  startup and static libraries) were compiled with `-msecure-plt'.
  `--bss-plt' forces the old BSS PLT (and GOT layout) which can give
  slightly better performance.

The security of the new PLT and ability to run the prelinker outweigh
any performance penalty.

The secure-plt is enabled by default.  The old bss-plt can be enabled by
selecting 'bssplt' in the DISTRO_FEATURES.

(From OE-Core rev: 70c55aada1101a5c687cdaa79f370fa4530b39d9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: Fix ld.so / prelink interface for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA
Mark Hatle [Fri, 30 Oct 2015 14:48:27 +0000 (09:48 -0500)] 
glibc: Fix ld.so / prelink interface for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA

A bug in glibc 2.22's ld.so interface for the prelink support causes
the displayed values to be incorrect.  The included path fixes this
issue.

   Clear ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for prelink

   prelink runs ld.so with the environment variable LD_TRACE_PRELINKING
   set to dump the relocation type class from _dl_debug_bindings.  prelink
   has the following relocation type classes:

   where ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA has a conflict with
   RTYPE_CLASS_TLS.

   Since prelink doesn't use ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA, we
   should clear the ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA bit when the
   DL_DEBUG_PRELINK bit is set.

(From OE-Core rev: 12c86bdcc60c54e587a896b0dceb8bb6cc9ff7e3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemurunner: Enable timestamps on kernel boot-up
Leonardo Sandoval [Wed, 4 Nov 2015 22:52:11 +0000 (22:52 +0000)] 
qemurunner: Enable timestamps on kernel boot-up

Having the timestamps in the log is useful when debugging those cases when
the booting time takes longer than expected. printk.times=1 enables stamping
into every printk Kernel call.

(From OE-Core rev: 8f8db89a91142bf71d009df881107b4c1fc61237)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: fix mips64 configure support
Wenzong Fan [Thu, 5 Nov 2015 06:09:11 +0000 (01:09 -0500)] 
openssl: fix mips64 configure support

Match target name linux-mips64 as well, all mips64 targets will have
mips(32) userspace.

(From OE-Core rev: 245113ca1075bc3f0c47952e80b437229f855080)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: modify sources in do_patch
Ross Burton [Wed, 4 Nov 2015 19:45:39 +0000 (19:45 +0000)] 
at: modify sources in do_patch

Instead of copying the forked source files into ${S} in do_compile_prepend(), do
it in a do_patch() postfunc.  This ensures that the source archiver sees the
changes for compliance and legal verification.

(From OE-Core rev: 7d76d7d90f8e832ddaaebfae125c7f9aecfcac9f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounzip: rename patch to reflect CVE fix
Ross Burton [Wed, 4 Nov 2015 11:23:06 +0000 (11:23 +0000)] 
unzip: rename patch to reflect CVE fix

(From OE-Core rev: e3d2974348bd830ec2fcf84ea08cbf38abbc0327)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline: rename patch to contain CVE reference
Ross Burton [Wed, 4 Nov 2015 11:17:50 +0000 (11:17 +0000)] 
readline: rename patch to contain CVE reference

To help automated scanning of CVEs, put the CVE ID in the filename.

(From OE-Core rev: 211bce4f23230c7898cccdb73b582420f830f977)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: upgrade to 2.4.0.1
Ross Burton [Wed, 4 Nov 2015 11:04:06 +0000 (11:04 +0000)] 
qemu: upgrade to 2.4.0.1

This release is just security fixes:
- CVE-2015-5225
- CVE-2015-6815
- CVE-2015-5278
- CVE-2015-5279

(From OE-Core rev: 6a488fbde7ec33d3abecf8b7cbcef5f2a513a76b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome-desktop-testing: fix ptest output format
Maxin B. John [Mon, 2 Nov 2015 14:17:19 +0000 (16:17 +0200)] 
gnome-desktop-testing: fix ptest output format

Fix ptest output format for glib-2.0 and other packages
which depends on gnome-desktop-testing framework.

[YOCTO #6601]

(From OE-Core rev: 1a81e2f57e49b070fdb0cc7a2d35175fb195431d)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodefault-distrovars: remove less from WHITELIST_GPL-3.0
Hongxu Jia [Mon, 2 Nov 2015 07:12:50 +0000 (15:12 +0800)] 
default-distrovars: remove less from WHITELIST_GPL-3.0

As oe-core commit 37c8c2c5f6937520eaf9f5d981f9315e36eba4bb and
fa7bdf96b8eb8b5078db38249c5c60ec511c35c6 said, Mark Nudelman
(author of less) has given permission to utilize a generic 2-clause
BSD, so we remove it from WHITELIST_GPL-3.0 which caused
a QA Warning while INCOMPATIBLE_LICENSE += "GPLv3 LGPLv3 GPLv3+ LGPLv3+"
...
|NOTE: INCLUDING less as buildable despite INCOMPATIBLE_LICENSE
because it has been whitelisted
...

(From OE-Core rev: 712c4ccb0c5bede4f7199dabb5a75d0fabeb0564)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsof: don't export EXTRA_OEMAKE
Andre McCurdy [Thu, 29 Oct 2015 21:01:35 +0000 (14:01 -0700)] 
lsof: don't export EXTRA_OEMAKE

EXTRA_OEMAKE is private to OE and shouldn't be exported to
the lsof build.

(From OE-Core rev: e20bc06365242a526e1b755b8b3eded433cb3454)

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>
10 years agocmake.bbclass: don't duplicate CMAKE_C_FLAGS in CMAKE_C_FLAGS_RELEASE
Andre McCurdy [Thu, 29 Oct 2015 21:00:22 +0000 (14:00 -0700)] 
cmake.bbclass: don't duplicate CMAKE_C_FLAGS in CMAKE_C_FLAGS_RELEASE

The base CMAKE_<LANG>_FLAGS are included for all build types,
therefore the CMAKE_<LANG>_FLAGS_RELEASE should contain only
additional flags or over-rides.

  https://cmake.org/cmake/help/v3.2/variable/CMAKE_LANG_FLAGS.html

(From OE-Core rev: 961740d5d81ce44a595d5465bafb48a0cbab5159)

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>
10 years agorm_work.bbclass: Exclude do_rootfs stamp removal
Jate Sujjavanich [Fri, 30 Oct 2015 14:56:01 +0000 (10:56 -0400)] 
rm_work.bbclass: Exclude do_rootfs stamp removal

This prevents unneeded rootfs rebuilds if the metadata has not changed
while using rm_work.

(From OE-Core rev: 7550b13786caa68a9944cd802eb970acbd17e754)

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: fix license for cairo-script-interpreter
Andre McCurdy [Fri, 30 Oct 2015 23:07:10 +0000 (16:07 -0700)] 
cairo: fix license for cairo-script-interpreter

Without an explicit license, cairo-script-interpreter inherits
the default LICENSE and isn't packaged in builds which blacklist
GPLv3.

(From OE-Core rev: cb8f84218b065fed88a8c36f3c78065e8ab726bf)

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>
10 years agoopenssh: enable X11Forwarding if distro feature x11 is set
Kai Kang [Tue, 27 Oct 2015 10:00:18 +0000 (18:00 +0800)] 
openssh: enable X11Forwarding if distro feature x11 is set

When distro feature x11 is set, it is better enable X11Forwarding for
ssh daemon. For contrast, dropbear enable X11 forward by default.

It does NOT need to modify ${WORKDIR}/sshd_config, so drop the modification.

(From OE-Core rev: 0dc68d745f97753fc9fde896f6ee1943c1e071b3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacpid: Upgrade to 2.0.25
Aníbal Limón [Mon, 26 Oct 2015 23:13:22 +0000 (17:13 -0600)] 
acpid: Upgrade to 2.0.25

(From OE-Core rev: 444c5921725f74cd17ad460e9a7879c4f16905ce)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibidn: 1.30 -> 1.32
Kai Kang [Tue, 20 Oct 2015 09:10:12 +0000 (17:10 +0800)] 
libidn: 1.30 -> 1.32

(From OE-Core rev: 2d0bf5f7214b6b8694a3b93d8e9b7e5ae24356f7)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite: 3.8.10.2 -> 3.9.0
Kai Kang [Fri, 16 Oct 2015 06:28:11 +0000 (14:28 +0800)] 
sqlite: 3.8.10.2 -> 3.9.0

Upgrade sqlite from 3.8.10.2 to 3.9.0.

* update python function to get right SRC_URI
* drop 0001-using-the-dynamic-library.patch which use dynamic library
  that it is done that way in new version

(From OE-Core rev: a23ddbd2e197cfa1ebc829e0d83b8997dc24cec7)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agort-tests: bump to v0.94
Josh Cartwright [Tue, 22 Sep 2015 12:24:38 +0000 (07:24 -0500)] 
rt-tests: bump to v0.94

All of the rt-tests patches that OE has been carrying have been
upstreamed or superceded by changes in the v0.94 release.

Adjust SRC_URI to point to canonical upstream git repo, instead of a
development tree.

There was a notable change upstream that required slight reworking of
the recipe.  rt-tests now joins other kbuild-inspired projects by making
use of a CROSS_COMPILE flag to indicate the compiler prefix.

Previously TOOLCHAIN_OPTIONS were conveyed via $CC directly, however,
this does not work with CROSS_COMPILE.  Workaround this by both
specifying CROSS_COMPILE, and feeding the rt-tests build system the
proper $(HOST_CC_ARCH)$(TOOLCHAIN_OPTIONS) via $CFLAGS.

(From OE-Core rev: 37bd229626a259d2509a9cdd2d6a2d934121e9ca)

Signed-off-by: Josh Cartwright <joshc@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogbm: Fix "configure: error: gbm requires --enable-dri"
Jens Rehsack [Thu, 8 Oct 2015 15:25:13 +0000 (17:25 +0200)] 
gbm: Fix "configure: error: gbm requires --enable-dri"

When building mesa without X11 enabled, and disabling dri package config,
the enforced "--enable-gbm" fails building mesa, because this feature
requires "--enable-dri", too - which has been disabled by package config.

Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm,
which makes explicit --disable-gbm in case of --disable-dri redundant.

(From OE-Core rev: fee4a22c6919814bd541ab2cca9489e5ce3596b4)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxinetd: install xinetd supported services configuration
yadi.hu@windriver.com [Mon, 26 Oct 2015 09:17:03 +0000 (17:17 +0800)] 
xinetd: install xinetd supported services configuration

install xinetd supported services configuration, then these services
are able to work

(From OE-Core rev: 19040fb7898ffa30697577d43dd32cf279073d90)

Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: introduce ability to exclude component from mass update
Alexander D. Kanevskiy [Fri, 16 Oct 2015 15:49:21 +0000 (18:49 +0300)] 
combo-layer: introduce ability to exclude component from mass update

There is no ability at the moment for situations where users would like
to keep section in combo-layer.conf but don't update it, unless explicitly
specified.

Now, by adding "update = no" to desired section would exclude
that repository from "combo-layer update" command.

It is still possible to explicitly update it by "combo-layer update $section".

By default, all repositories are assumed as "update = yes"

(From OE-Core rev: 74ecf1a0e5c8230e55cb1a309f711d98fa63ce79)

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel
Stefan Christ [Mon, 26 Oct 2015 08:20:37 +0000 (09:20 +0100)] 
linux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel

(From OE-Core rev: 04ed298520d38e0b078723b1b45368b7037cf6e0)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dtb.inc: refactor common code to function normalize_dtb
Stefan Christ [Mon, 26 Oct 2015 08:20:36 +0000 (09:20 +0100)] 
linux-dtb.inc: refactor common code to function normalize_dtb

(From OE-Core rev: 5dfa10978ef540a7a8cd89766c40625ccfeffda2)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dtb.inc: explicit test for empty string not needed
Stefan Christ [Mon, 26 Oct 2015 08:20:35 +0000 (09:20 +0100)] 
linux-dtb.inc: explicit test for empty string not needed

The for loop already handles the case when KERNEL_DEVICETREE is empty.

(From OE-Core rev: 49010f4a1ae9570e96691c9faeb17808174488fe)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoptest-runner: Allow running of specific tests
Ioan-Adrian Ratiu [Fri, 30 Oct 2015 14:49:54 +0000 (16:49 +0200)] 
ptest-runner: Allow running of specific tests

By default ptest-runner executes all ptests found in a system.
With this change, ptest-runner can be given a list of ptest
package names to run (the default is still available).

For example, to run only the zlib and rt-tests ptests:
"ptest-runner zlib rt-tests"

(From OE-Core rev: a13333c3e9ab601a11c10aba2a0a55c7fdea2e24)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/testimage: Add support for test folder export.
Lucian Musat [Fri, 9 Oct 2015 17:16:26 +0000 (20:16 +0300)] 
oeqa/testimage: Add support for test folder export.

If tests are organized in folders then it will copy the whole
folder to the export location. This should keep the original
directory structure for exported oeqa/runtime.

(From OE-Core rev: 8fe45badd3dfe44fa5161229324b6439594123fd)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime/multilib: run the arch tests on connmand not connman-applet
Ross Burton [Wed, 28 Oct 2015 15:58:03 +0000 (15:58 +0000)] 
oeqa/runtime/multilib: run the arch tests on connmand not connman-applet

(From OE-Core rev: 29945c12d43a1cc40b22caf04fe57f25b946e84f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: remove dmesg test
Ross Burton [Fri, 24 Jul 2015 10:47:51 +0000 (11:47 +0100)] 
oeqa/runtime: remove dmesg test

This has been obsoleted by parselogs.

(From OE-Core rev: 05132fd236835db71d3e763b4d6ce01fcf14741a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils/statd: fix a segfault
Chen Qi [Wed, 28 Oct 2015 02:30:09 +0000 (10:30 +0800)] 
nfs-utils/statd: fix a segfault

Fix the segfault by separating the socket used in statd from the sockets
of RPC core.

(From OE-Core rev: 1f2ef653f5fb0b46daa17e08485468cc235cfbcc)

Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: enable user mode for mips64 and mips64el
Jackie Huang [Wed, 28 Oct 2015 04:34:55 +0000 (12:34 +0800)] 
qemu: enable user mode for mips64 and mips64el

- remove mips64 and mips64el from softmmuonly list
  to enable user mode, they have been supported
  since 2012.
- keep the softmmuonly list and for loop although
  there is only one for now in case more supported
  arches added.

(From OE-Core rev: bcc785eefd4071ee2eb769203d24836cac0b3c1b)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: fix find-version for beta checking
Wenzong Fan [Wed, 28 Oct 2015 05:53:37 +0000 (01:53 -0400)] 
gnupg: fix find-version for beta checking

find-version always assumes that gnupg is beta if autogen.sh is run
out of git-repo. This doesn't work for users whom just take release
tarball and re-run autoconf in their local build dir.

This fixes runtime issue:

  $gpg --list-sigs
  gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
  gpg: It is only intended for test purposes and should NOT be
  gpg: used in a production environment or with production keys!

(From OE-Core rev: a37cccca3bb3bad0d8d7e375fb7e3cc339ac8250)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: define EM_AARCH64 for debugedit
Roy Li [Wed, 28 Oct 2015 09:52:43 +0000 (17:52 +0800)] 
rpm: define EM_AARCH64 for debugedit

EM_AARCH64 maybe not be defined due to old version elf.h when compile
rpm-native, and lead to that debugedit can not work on aarch64 elf object
files, since there is no other dependence, except these two macro,
define them to make debugedit work on aarch64 elf files.

  debugedit: /bitbake_build/tmp/work/aarch64-wrs-linux/libvirt/1.2.19-r0/
  package/usr/lib64/libvirt/ptest/daemon/libvirtd_admin_la-admin_server.o:
  Unhandled relocation 258 in .debug_info section

(From OE-Core rev: 91a159e64d404653b2d9178caf027f797a4d3f3b)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: drop empty ${PN}-security-policy package
Joshua Lock [Fri, 16 Oct 2015 13:07:33 +0000 (14:07 +0100)] 
xserver-xorg: drop empty ${PN}-security-policy package

The SecurityPolicy hasn't been included since 2007[1] and the
last remnants were removed from the code base in 2010[2].

1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=9d03ca
2. http://cgit.freedesktop.org/xorg/xserver/commit/?id=19d03d

(From OE-Core rev: 58f5ccc7a04cada4251eb6a321bd98973581582e)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: add Xwayland RRECOMMENDS
Joshua Lock [Tue, 13 Oct 2015 16:21:08 +0000 (17:21 +0100)] 
xserver-xorg: add Xwayland RRECOMMENDS

Xwayland has the same runtime dependencies as the standard
xserver so set RRECOMMENDS the same way.

(From OE-Core rev: 682fb02f585c830e3f28a858b97276adf71693d2)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: add a PACKAGECONFIG option for xwayland support
Joshua Lock [Tue, 13 Oct 2015 16:15:27 +0000 (17:15 +0100)] 
weston: add a PACKAGECONFIG option for xwayland support

(From OE-Core rev: e9b843d3b3dba6d118e57a7e0dd225dc4004a31a)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: make dbus an optional build time dependency
Joshua Lock [Tue, 13 Oct 2015 16:13:13 +0000 (17:13 +0100)] 
systemd: make dbus an optional build time dependency

The dbus buildtime dependency is only required in order to build
dbus related tests in modern systemd, make this a PACKAGECONFIG
option.

This changes the default behaviour to no longer build dbus
related tests without explicitly enabling the PACKAGECONFIG.

(From OE-Core rev: f5df27374b1c06280a8481325f9cf802ee5e9371)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: add PACKAGECONFIG to build with systemd-login support
Joshua Lock [Tue, 20 Oct 2015 09:33:05 +0000 (10:33 +0100)] 
weston: add PACKAGECONFIG to build with systemd-login support

Automatically enable this support for distributions which have
systemd in DISTRO_FEATURES.

We add additional patches to weston, backported from Weston
git, to support the newer single libsystemd pkg-config file
and to make the enabling of systemd-login support explicit.

(From OE-Core rev: f51ba9a89ee8cede03b5b7834579fd63fa483267)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: add PACKAGECONFIG to build with compatibility libraries
Joshua Lock [Tue, 13 Oct 2015 16:07:33 +0000 (17:07 +0100)] 
systemd: add PACKAGECONFIG to build with compatibility libraries

Systemd < 209 shipped separate pc files for various interfaces, these
can still be generated for compatibility with code using the older
interfaces.

Add a PACKAGECONFIG option to build systemd with the compatibility
pc files.

(From OE-Core rev: b64c5114f304186858b54c5f248245ab98772373)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoos-release: put double-quotes around variable contents
Craig McQueen [Thu, 15 Oct 2015 05:13:09 +0000 (16:13 +1100)] 
os-release: put double-quotes around variable contents

This makes the resulting /etc/os-release file have valid shell
assignment syntax. This makes it loadable by a shell script, using the
'source' command:

    source /etc/os-release

(From OE-Core rev: f6e0ea000fa3b9a726ab56500f643f9902371618)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocpio: fix testcase symlink-bad-lengths [ LIN8-947 ]
Jun Zhang [Mon, 19 Oct 2015 09:41:55 +0000 (17:41 +0800)] 
cpio: fix testcase symlink-bad-lengths [ LIN8-947 ]

* fix the output of stderr & stdout to meet latest cpio

(From OE-Core rev: 80d12c734ad0c1d86ee5b0c6639c4e840dc6dfad)

Signed-off-by: Jun Zhang <jun.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocpio: Fix symlink-bad-length test for 64-bit [ LIN8-947 ] architectures.
Jun Zhang [Mon, 19 Oct 2015 09:41:54 +0000 (17:41 +0800)] 
cpio: Fix symlink-bad-length test for 64-bit [ LIN8-947 ] architectures.

* src/util.c: Return non-zero exit code if EOF is hit prematurely.

Backport commit:
http://git.savannah.gnu.org/cgit/cpio.git/commit/src/util.c?id=f6a8a2cbd2d5ca40ea94900b55b845dd5ca87328

(From OE-Core rev: 21c9952d269ef2d76c0f8698642cbce8f7d5f796)

Signed-off-by: Jun Zhang <jun.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+3: fix ALTERNATIVE_PRIORITY conflict with gtk+
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)] 
gtk+3: fix ALTERNATIVE_PRIORITY conflict with gtk+

(From OE-Core rev: 44b8ad12042eb4a1161c6f8359479f3dfa31eab9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
gtk+3 and gtk+ have the same priority 10 for gtk-update-icon-cache

Turn up gtk+3's priority to fix the conflict.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: fix ALTERNATIVE_PRIORITY conflict with procps and mktemp
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)] 
coreutils: fix ALTERNATIVE_PRIORITY conflict with procps and mktemp

(From OE-Core rev: 2ce514a394e1e062172bb097aa92a1792a0f8eaf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
coreutils and procps have the same priority 100 for kill.1
coreutils and procps have the same priority 100 for uptime.1
coreutils and procps have the same priority 100 for uptime
coreutils and procps have the same priority 100 for kill
coreutils and mktemp have the same priority 100 for mktemp

Turn down coreutils' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: fix ALTERNATIVE_PRIORITY conflict with ncurses procps and e2fsprogs
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)] 
util-linux: fix ALTERNATIVE_PRIORITY conflict with ncurses procps and e2fsprogs

(From OE-Core rev: 2a1a92ad3a315511df0ff1d2b541226713aab1f9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
util-linux and ncurses have the same priority 100 for reset
util-linux and procps have the same priority 100 for kill.1
util-linux and procps have the same priority 100 for kill
e2fsprogs and util-linux have the same priority 100 for libblkid.3
e2fsprogs and util-linux have the same priority 100 for blkid.8
e2fsprogs and util-linux have the same priority 100 for findfs.8
e2fsprogs and util-linux have the same priority 100 for fsck.8

Turn down util-linux' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconsole-tools: fix ALTERNATIVE_PRIORITY conflict with kbd
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)] 
console-tools: fix ALTERNATIVE_PRIORITY conflict with kbd

(From OE-Core rev: 839849f5cb7e4dab92d0566f87b04beab773f2be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
console-tools and kbd have the same priority 100 for chvt
console-tools and kbd have the same priority 100 for deallocvt
console-tools and kbd have the same priority 100 for fgconsole
console-tools and kbd have the same priority 100 for openvt

Turn down console-tools' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodebianutils: fix ALTERNATIVE_PRIORITY conflict with which
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)] 
debianutils: fix ALTERNATIVE_PRIORITY conflict with which

(From OE-Core rev: 268cf5c0b813a9dd5fead6883099c4e8ad9f81c0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
debianutils and which have the same priority 100 for which

Turn down debianutils' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dtb.inc: use same variable name DTB for all elements of KERNEL_DEVICETREE
Stefan Christ [Mon, 19 Oct 2015 08:15:38 +0000 (10:15 +0200)] 
linux-dtb.inc: use same variable name DTB for all elements of KERNEL_DEVICETREE

(From OE-Core rev: 1e9ac2c4970b2fc7f8ed939bce7cf0a5c7715ca3)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dtb.inc: remove unneeded 'cd'
Stefan Christ [Mon, 19 Oct 2015 08:15:37 +0000 (10:15 +0200)] 
linux-dtb.inc: remove unneeded 'cd'

(From OE-Core rev: 2d7680a104e2910c90d8aceeb12c24dfde2cd2d6)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkitgtk: Add upstream patch to fix build problem
Pushpal Sidhu [Fri, 23 Oct 2015 21:03:21 +0000 (14:03 -0700)] 
webkitgtk: Add upstream patch to fix build problem

From Upstream webkit: fd15a368fa73fe08d91cc1dd7ef05c0c5a3ae851

Webkit will fail to compile under certain circumstances. Please see
https://bugs.webkit.org/show_bug.cgi?id=149172 for more details.

(From OE-Core rev: 5cb4344e55d748483279a7f0035e7d581bcd52cf)

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: don't append -D__SOFTFP__ to TARGET_CC_ARCH for armv6/armv7a
Andre McCurdy [Tue, 20 Oct 2015 02:56:12 +0000 (19:56 -0700)] 
python: don't append -D__SOFTFP__ to TARGET_CC_ARCH for armv6/armv7a

Remove obsolete hack which seems to date back to (at least) 2009. It's
potentially harmful as python TARGET_CC_ARCH flags can leak through to
other packages via the sysroot _sysconfigdata.py.

(From OE-Core rev: bb5849423d7ed299b4c895a14d3754121ff68069)

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>
10 years agoprexport.bbclass: avoid export for native and crosssdk
Robert Yang [Tue, 20 Oct 2015 09:25:51 +0000 (02:25 -0700)] 
prexport.bbclass: avoid export for native and crosssdk

* The prservice is only used by do_package, the native or crosssdk
  doesn't have do_package.
* Change WARN to NOTE when no AUTOPR found, the prexport_handler()
  checks all the parsed recipes, but a lot of them may not be built, for
  example, the lower version or broken recipes. So change WARN to NOTE to
  not confuse user.

(From OE-Core rev: 53aae968a6972f152f4b540deaf79963765ff559)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: add distro_features_check for some packages
Wenzong Fan [Wed, 21 Oct 2015 08:23:55 +0000 (04:23 -0400)] 
recipes: add distro_features_check for some packages

* The packages that depends on gtk+3 require any of distro features
  from ${GTK3DISTROFEATURES}

* The packages that depends on virtual/egl, virtual/libgl ... require
  distro feature 'opengl'

(From OE-Core rev: 3edf08b38b0af93cef0933b061349264dc86d54c)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscons.bbclass: SCons packages don't require do_configure
Andre McCurdy [Tue, 20 Oct 2015 04:06:43 +0000 (21:06 -0700)] 
scons.bbclass: SCons packages don't require do_configure

(From OE-Core rev: a3310eb5a447864e82a38cb7852f30c17c0b91bb)

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>
10 years agobusybox: Schedule mdev after mountall
Khem Raj [Wed, 21 Oct 2015 04:45:03 +0000 (21:45 -0700)] 
busybox: Schedule mdev after mountall

mdev does automounting of block media, which expects
/run/ to be mounted, so let mounting happen before running mdev service
and mountall is done with at 03 so trigger mdev at 04

This helps in mounting the devices which are plugged on boot

(From OE-Core rev: 7eda8fdd1585ce19e398e64f6bcea1ffafc90b41)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: Fix mdev block device automounting
Khem Raj [Wed, 21 Oct 2015 03:40:20 +0000 (20:40 -0700)] 
busybox: Fix mdev block device automounting

The directory ${MDEV_AUTOMOUNT_ROOT}/ which is '/run/media' may not
exist yet when the device is found, so lets use -p switch to mkdir cmd
so it create preceding parent dirs if needed.

Remove some bash specific constructs

(From OE-Core rev: d5279c49c881a9a8991fda67a70cd49756ac3a92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibarchive: rename patch to reflect CVE
Ross Burton [Tue, 3 Nov 2015 16:30:24 +0000 (16:30 +0000)] 
libarchive: rename patch to reflect CVE

This patch is a CVE fix, so rename it to help CVE detection tools identify it as
such.

(From OE-Core rev: 3fd05ce1f709cbbd8fdeb1dbfdffbd39922eca6e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Fix XLP / Octeon 3 instruction clash
Mark Hatle [Tue, 3 Nov 2015 22:21:13 +0000 (16:21 -0600)] 
binutils: Fix XLP / Octeon 3 instruction clash

Use the value 0x00000080 for INSN_XLP, as the value 0x00000040 has already
been assigned to INSN_OCTEON3 by the binutils project.

Without this change, invalid instructions can be generated for both INSN_XLP
and INSN_OCTEON3.

(From OE-Core rev: 3a3269e7f4c7d13ad0c5705cb59c138b697151d7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Fix octeon3 disassembly patch
Mark Hatle [Tue, 20 Oct 2015 15:54:33 +0000 (10:54 -0500)] 
binutils: Fix octeon3 disassembly patch

The structure has apparently changed, and there was a missing
setting.  This corrects a segfault when disassembling code.

(From OE-Core rev: 2e8f1ffe3a8d7740b0ac68eefbba3fe28f7ba6d4)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to jethro head revision
Richard Purdie [Tue, 3 Nov 2015 14:02:57 +0000 (14:02 +0000)] 
build-appliance-image: Update to jethro head revision

(From OE-Core rev: e44ed8c18e395b9c055aefee113b90708e8a8a2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-yocto/distro: Updated SANITY_TESTED_DISTROS.
Lucian Musat [Tue, 3 Nov 2015 09:12:59 +0000 (11:12 +0200)] 
meta-yocto/distro: Updated SANITY_TESTED_DISTROS.

Added Ubuntu 15.10.

(From meta-yocto rev: 08ccca7559e2b74094f7335746a8cbec892d450d)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-yocto/distro: Updated SANITY_TESTED_DISTROS.
Lucian Musat [Tue, 3 Nov 2015 09:09:51 +0000 (11:09 +0200)] 
meta-yocto/distro: Updated SANITY_TESTED_DISTROS.

Added poky 2.0 and Fedora 22.

(From meta-yocto rev: 76d3570b011c71d9d5e00e05ba17afecc7819cb4)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to jethro head revision
Richard Purdie [Mon, 2 Nov 2015 15:54:16 +0000 (15:54 +0000)] 
build-appliance-image: Update to jethro head revision

(From OE-Core rev: 49fdc7e3bcb0f15b89db6ac653a861a5a55c8d14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agounzip: CVE-2015-7696, CVE-2015-7697
Tudor Florea [Thu, 29 Oct 2015 00:14:18 +0000 (01:14 +0100)] 
unzip: CVE-2015-7696, CVE-2015-7697

CVE-2015-7696: Fixes a heap overflow triggered by unzipping a file with password
CVE-2015-7697: Fixes a denial of service with a file that never finishes unzipping

References:
http://www.openwall.com/lists/oss-security/2015/10/11/5
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7696
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7697

(From OE-Core rev: a11b23a7d2a29414a4ea47c411f09a68b1b28e2d)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovte: fix DoS from malicious escape sequence (CVE-2012-2738)
Ross Burton [Mon, 2 Nov 2015 11:03:26 +0000 (11:03 +0000)] 
vte: fix DoS from malicious escape sequence (CVE-2012-2738)

Backport a fix from upstream to fix a denial of service via a malicious escape
sequence.

[YOCTO #8617]

(From OE-Core rev: d5065e2b1c49fa65627f0adec8e42190ebccb572)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuild-appliance-image: Update to jethro head revision
Richard Purdie [Thu, 29 Oct 2015 22:20:28 +0000 (22:20 +0000)] 
build-appliance-image: Update to jethro head revision

(From OE-Core rev: d3aa328147e364f88791564920cfb933f9aa2b20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto_4.1: Update SRCREV for genericx86*
Saul Wold [Thu, 29 Oct 2015 16:30:37 +0000 (09:30 -0700)] 
linux-yocto_4.1: Update SRCREV for genericx86*

This update matches the kernel update made to oe-core linux-yocto
and address some graphics issues.

(From meta-yocto rev: afe024cd4a97bb32bf8296a85b403669ca41f634)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: Allow 64 bit atomics for x86
Juro Bystricky [Thu, 29 Oct 2015 20:43:38 +0000 (13:43 -0700)] 
glibc: Allow 64 bit atomics for x86

The fix consist of allowing 64bit atomic ops for x86.
This should be safe for i586 and newer CPUs.
It also makes the synchronization more efficient.

[YOCTO #8140]

(From OE-Core rev: 2b8c7aa51f6ac7f79c4834e04b697c04afc8beaf)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolocal.conf.sample: Disable image-prelink by default
Mark Hatle [Mon, 26 Oct 2015 15:30:54 +0000 (10:30 -0500)] 
local.conf.sample: Disable image-prelink by default

Due to problems with the prelinker itself, we need to disable the
image-prelink by default.  This will hopefully be re-enabled in the near
future.

(From meta-yocto rev: 51f83d2ee593c3936138aa50c06b0bfe9c6b9162)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Applied a correction to the GCC 5 migration 2.0 section.
Scott Rifenbark [Thu, 29 Oct 2015 17:22:30 +0000 (10:22 -0700)] 
ref-manual: Applied a correction to the GCC 5 migration 2.0 section.

Added an exception and link to a patch the user should use if they
are using GCC 5 for specific ARM machine.

(From yocto-docs rev: 4f43b683cf4a078c6df4b8c6be59e6fb8702d265)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updated ADT Installer Extras
Juro Bystricky [Thu, 22 Oct 2015 00:11:11 +0000 (17:11 -0700)] 
ref-manual: Updated ADT Installer Extras

opkg 0.3.0 requires also libarchive.

[YOCTO#8308]

(From yocto-docs rev: 9bf99020ab993ec497134921dd3e22414e65de95)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-dev: Added cross-reference to .config information
Scott Rifenbark [Tue, 27 Oct 2015 15:54:57 +0000 (08:54 -0700)] 
kernel-dev: Added cross-reference to .config information

Fixes [YOCTO #7474]

There was not a strong tie between .config file discussions
for the kernel between corresponding menuconfig sections in
the kernel-dev and dev-manual manuals.  I added a cross-
reference link in the kernel-dev manual to help tie this
information together.

(From yocto-docs rev: bbeb7b0f48be6c2bdb6c6031ce0476d6d2081f94)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Applied review updates to 2.0 migration section.
Scott Rifenbark [Tue, 27 Oct 2015 15:53:43 +0000 (08:53 -0700)] 
ref-manual: Applied review updates to 2.0 migration section.

Some minor rewordings

(From yocto-docs rev: c62d39ad684c6be3321d711bd7935799e4269fa3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: Create per-build logs
Elliot Smith [Thu, 29 Oct 2015 11:59:44 +0000 (13:59 +0200)] 
bitbake: toasterui: Create per-build logs

Rather than relying on bug 8411, which is conveniently creating
separate log files for each of our builds, create our own
log file for each build.

The log files are created in the same tmp directories that
bitbake users, but are timestamped to the millisecond to avoid
name collisions.

Each log file is opened on a ParseStarted event (for builds
triggered by Toaster) or BuildStarted event (for builds on the
command line: Toaster doesn't get the ParseStarted event
for command-line builds).

The log file is closed on the BuildCompleted event, or if the
build fails.

Because we start logging on ParseStarted for Toaster builds,
we're able to capture the "Build Configuration" section which
bitbake writes to output.

[YOCTO #8373]

(Bitbake rev: 7974203cd8bc66dff1fcc55f8723dedefaf72840)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build/utils: Add BB_TASK_IONICE_LEVEL support
Richard Purdie [Sat, 24 Oct 2015 10:19:06 +0000 (11:19 +0100)] 
bitbake: build/utils: Add BB_TASK_IONICE_LEVEL support

Similarly to BB_TASK_NICE_LEVEL, add BB_TASK_IONICE_LEVEL which allows the ioprio
of tasks to be adjusted. This is in response to various qemu runtime timeouts
which have been witnessed on the autobuilder, seemingly due to IO starvation (we
already use NICE_LEVEL to adjust tasks). This has a fairly urgent need to deal
with certain 'random' failures we're seeing on the autobuilders in testing.

The format of the data in the variable is BB_TASK_IONICE_LEVEL = "<class>.<prio>".

For <class>, 2 is best effort (the default), 1 is real time and 3 is idle. You'd
need superuser privileges to use realtime. The <prio> value is a default of 4,
and can be set between 0 and 7 with 7 being lowest priority and 0 the highest.
The user can set this freely with normal privileges

Note that in order for this to take effect, you need the cfq scheduler selected
for the backing block device.

We could use nice wrapper functions for ioprio from modules like psutil however
that would complicate bitbake dependencies. This version has some magic numbers
but works on the main 32 and 64 bit x86 build architectures and can easily be
extended if ever needed. When we move to python 3.x, we can likely replace this
with standard calls.

(Bitbake rev: b9471ad147b102c45d65f5ffd9521864df7ff9c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: Ensure BB_CONSOLE remains correct over server resets
Richard Purdie [Sun, 11 Oct 2015 09:22:26 +0000 (10:22 +0100)] 
bitbake: cooker: Ensure BB_CONSOLE remains correct over server resets

The console log data is written to is created at console initialisation
time and does not change over reset events. This ensures the
BB_CONSOLELOG value is correct over such resets by preserving it.

(Bitbake rev: 335eb2db228f7543a49de71f063ac72b865c947a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bb/ui: Use getSetVariable command for BB_CONSOLELOG
Richard Purdie [Sun, 11 Oct 2015 09:12:42 +0000 (10:12 +0100)] 
bitbake: bb/ui: Use getSetVariable command for BB_CONSOLELOG

Metadata can define BB_CONSOLELOG as containing ${DATETIME} and
this can get expanded to a different value each time the variable
is read. In the case of BB_CONSOLELOG, this behaviour is not
desireable.

The values of DATE/TIME are locked down at build time but this is too
late for the purposes of ensuring the system can figure out the real
value of BB_CONSOLELOG.

The best way to do this is to set the variable into the datastore, thereby
preserving its value.

[YOCTO #8411]

(Bitbake rev: 021f2eb55ab5863b57ed1b3f19f1b329bc1ad477)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: command: Add getSetVariable command
Richard Purdie [Sun, 11 Oct 2015 09:11:47 +0000 (10:11 +0100)] 
bitbake: command: Add getSetVariable command

There are some use cases where we want to read a variable but also
set the variable to the value read, effectively locking in any
expansion of it. This adds such a command.

(Bitbake rev: 0c0c524691e3d2ffd9953a106fcc06262cbde910)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual: Added new description for BB_TASK_IONICE_LEVEL
Scott Rifenbark [Tue, 27 Oct 2015 16:15:10 +0000 (09:15 -0700)] 
bitbake: bitbake-user-manual: Added new description for BB_TASK_IONICE_LEVEL

Added a new variable description here for this variable.

(Bitbake rev: 4e0da1ef4a58a7ba4b92d4e07ef79cf7bd90abf0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual: Added BBTARGETS variable description.
Scott Rifenbark [Tue, 29 Sep 2015 19:35:41 +0000 (12:35 -0700)] 
bitbake: bitbake-user-manual: Added BBTARGETS variable description.

(Bitbake rev: 0f0c205b9d6c24bee334eabb359973e0368ce931)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: templates Add meaningful title tags
Belen Barros Pena [Wed, 28 Oct 2015 14:22:05 +0000 (14:22 +0000)] 
bitbake: toaster: templates Add meaningful title tags

Our title tags are all over the place, and have no relation to the page
content. This commit adds a meaningful title tag to each Toaster page.

(Bitbake rev: 1ab8827d684a19a70f3b788aed2327bf30edffe2)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: Remove errornous extra path-specs for Module::Build based modules
Jens Rehsack [Thu, 8 Oct 2015 14:23:35 +0000 (16:23 +0200)] 
perl: Remove errornous extra path-specs for Module::Build based modules

This patch removes errornous extra path-specs from cpan_build.bbclass
because corrected path specs at build time are enough.

* fixes wrong path used when building using Module::Build toolchain

(From OE-Core rev: bb59eb410c716057190fb0d115ef85b2c12e6518)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: Correct path for vendorlib, vendorarch, sitelib and sitearch
Jens Rehsack [Thu, 8 Oct 2015 14:22:41 +0000 (16:22 +0200)] 
perl: Correct path for vendorlib, vendorarch, sitelib and sitearch

This patch corrects the path specifications when building perl
for vendorlib, vendorarch, sitelib and sitearch to allow newer
dual-life module being installed on host to satisfy configure
and build requirements of some CPAN distributions.

Additionally, fix search path order in perl wrappers.

(From OE-Core rev: ca5d96b1cf406897728f6f6bae6e0ab4e35a469a)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: fix Perl5 module builds
Jens Rehsack [Thu, 8 Oct 2015 14:21:21 +0000 (16:21 +0200)] 
perl: fix Perl5 module builds

This patch fixes some issues in classes providing cpan module build support:

* add support even for xs modules with more than 3 levels as
  B::Hooks::End::Of::Scope or Math::Random::ISAAC::XS
* correct handling of Module::Build (as far as stolen from pkgsrc
  and my humble knowledge)
* configure to install to vendor_libs as default, even when
  inherited do_install remains unused (overwritten do_install)

(From OE-Core rev: 6948d2bd35cda57f520f0180a6bb43cc70262f41)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorunqemu-export-rootfs: update location of unfsd binary
Maxin B. John [Tue, 27 Oct 2015 15:54:30 +0000 (17:54 +0200)] 
runqemu-export-rootfs: update location of unfsd binary

oe-core commit: 24b80d211f3808a0ffebee426932f11b8d4d46e0 sets
sbindir = "${bindir}" in the nativesdk class.

So, update the location of unfsd binary from "/usr/sbin" to "/usr/bin" in
runqemu-export-rootfs. Also update unfs3-native to install unfsd under
"bin" directory so the binary is always in the same location.

[YOCTO #8315]

(From OE-Core rev: 2e98b80a3a11798145f58c8ccc8b873cd713f4f2)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk-icon-cache: pass the native libdir to the intercept
Ross Burton [Tue, 27 Oct 2015 17:52:47 +0000 (17:52 +0000)] 
gtk-icon-cache: pass the native libdir to the intercept

The intercept runs against the native sysroot so we need to pass it
the native libdir instead of the target libdir, as otherwise it will
use target paths (such as lib64) in the native sysroot.

(From OE-Core rev: 0fe84007176c98644b1917966c98501beb7e0ce2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>