]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agolibepoxy: Upgrade 1.2 -> 1.3.1
Jussi Kukkonen [Mon, 10 Aug 2015 10:42:56 +0000 (13:42 +0300)]
libepoxy: Upgrade 1.2 -> 1.3.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautogen: update to 5.18.5
Alexander Kanavin [Wed, 5 Aug 2015 11:08:57 +0000 (14:08 +0300)]
autogen: update to 5.18.5

Also, drop guile.patch, because the same problem has been fixed
differently in the new upstream release.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoapt: update to 1.0.10.1
Alexander Kanavin [Wed, 5 Aug 2015 11:29:58 +0000 (14:29 +0300)]
apt: update to 1.0.10.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: update to 5.33
Alexander Kanavin [Thu, 6 Aug 2015 09:06:18 +0000 (12:06 +0300)]
bluez5: update to 5.33

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocdrtools: update to 3.01a31
Alexander Kanavin [Fri, 7 Aug 2015 15:08:26 +0000 (18:08 +0300)]
cdrtools: update to 3.01a31

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonettle: clean up license information
Armin Kuster [Sun, 9 Aug 2015 05:28:21 +0000 (10:58 +0530)]
nettle: clean up license information

adding the license definitions on the few packages that
deviate from the overall package license.

based on http://www.lysator.liu.se/~nisse/nettle/nettle.html#Copyright
and spot checking files.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-sdk: Disable sanitizers on musl
Khem Raj [Fri, 7 Aug 2015 20:18:46 +0000 (13:18 -0700)]
packagegroup-core-sdk: Disable sanitizers on musl

sanitizers assume linux == glibc :(

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocml1.bbclass: make menuconfig task configurable
Stefan Müller-Klieser [Mon, 10 Aug 2015 15:22:22 +0000 (17:22 +0200)]
cml1.bbclass: make menuconfig task configurable

Menuconfig is sometimes not the most convenient way to configure a
kernel, as the default color scheme can be hard to read. This variable
gives you access to the MENUCONFIG_COLOR variable or lets you select
nconfig, e.g. by setting it in your local.conf:

KCONFIG_CONFIG_COMMAND = "MENUCONFIG_COLOR=mono menuconfig"
or
KCONFIG_CONFIG_COMMAND = "nconfig"

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest: remove tests for TCs that are no longer valid
Mihail Stanciu [Fri, 7 Aug 2015 16:18:09 +0000 (19:18 +0300)]
oeqa/selftest: remove tests for TCs that are no longer valid

Several toaster backend tests are no longer valid due to design changes.

Signed-off-by: Mihail Stanciu <stanciux.mihail@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel.bbclass: dont assume ${B}/include/generated exists
Andre McCurdy [Sat, 8 Aug 2015 01:15:21 +0000 (18:15 -0700)]
kernel.bbclass: dont assume ${B}/include/generated exists

Older kernels (e.g. 2.6.32) don't create an include/generated directory,
so check that the directory exists before trying to copy files from it
in do_shared_workdir().

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks
Mikko Rapeli [Mon, 10 Aug 2015 14:00:23 +0000 (17:00 +0300)]
sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

This change makes broken symlinks stand out clearly instead of bitbake
failing with odd error messages. Tested locally with broken symlink
as SSTATE_DIR, DL_DIR and SSTATE_MIRROR.

Change-Id: I2e92702237ab3bdb897d0bdefcf33480aabbc288
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Need more buffers in output queue for better performance
Yuqing Zhu [Mon, 10 Aug 2015 03:41:43 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Need more buffers in output queue for better performance

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Set need_segment after sink pad receive GST_EVENT_SEGMENT
Yuqing Zhu [Mon, 10 Aug 2015 03:41:42 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Set need_segment after sink pad receive GST_EVENT_SEGMENT

Subparse works in push mode, chain funciton will be called once
up stream element finished the seeking and flushing.

If set need_segment flag in src pad event handler, the segment
event will be pushed earlier, result in the subtitle text will
be send out to down stream from the beginning.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Enhance SSA text lines parsing
Yuqing Zhu [Mon, 10 Aug 2015 03:41:41 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Enhance SSA text lines parsing

Some parser will pass in the original ssa text line which starts with "Dialog:"
and there's are maybe multiple Dialog lines in one input buffer.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Don't set async of custom text-sink to false
Yuqing Zhu [Mon, 10 Aug 2015 03:41:40 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Don't set async of custom text-sink to false

Setting async to false will lead A/V sync problem when seeking.
The preroll need to use GAP event instead of setting async to false.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Make memory copy when video buffer's memory is read only
Yuqing Zhu [Mon, 10 Aug 2015 03:41:39 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Make memory copy when video buffer's memory is read only

Detect the memory flag and use gst_buffer_copy_region with GST_BUFFER_COPY_DEEP
parameter to perform deep memory copy.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Do not change EOS event to GAP event
Yuqing Zhu [Mon, 10 Aug 2015 03:41:38 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Do not change EOS event to GAP event

-Sending EOS event instead of GAP event as GAP event has error if A/V have the different duration.

-Stop sending second track EOS event when returing failure after sending the first track EOS.
 Fixed by ignoring the return error.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Keep sticky events around when doing a soft reset
Yuqing Zhu [Mon, 10 Aug 2015 03:41:37 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Keep sticky events around when doing a soft reset

The current code will first discard all frames, and then tries to copy
all sticky events from the (now discarded) frames. So change the order.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Fix output buffer can't writable after frame_map() issue
Yuqing Zhu [Mon, 10 Aug 2015 03:41:36 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Fix output buffer can't writable after frame_map() issue

-Add GST_VIDEO_FRAME_MAP_FLAG_NO_REF
 This makes sure that the buffer is not reffed another time when
 storing it in the GstVideoFrame, keeping it writable if it was writable.

-Use new GST_VIDEO_FRAME_MAP_FLAG_NO_REF to replace the old one because it's kind of ugly.

-Don't ref buffers twice when mapping

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Update video alignment after video alignment
Yuqing Zhu [Mon, 10 Aug 2015 03:41:35 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Update video alignment after video alignment

Video buffer pool will update video alignment to respect stride alignment
requirement. But haven't update it to video alignment in configure.
Which will cause user get wrong video alignment.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Handle audio/video decoder error
Yuqing Zhu [Mon, 10 Aug 2015 03:41:34 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Handle audio/video decoder error

When there is input data and no output data to the end of the stream, it will
send GST_ELEMENT_ERROR and quit from playing.
The patch comments the GST_ELEMENT_ERROR() and just add GST_ERROR_OBJECT()
information instead.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: Bug fix for id3demux issue
Yuqing Zhu [Mon, 10 Aug 2015 03:41:33 +0000 (11:41 +0800)]
gstreamer1.0-plugins-base: Bug fix for id3demux issue

Use g_utf16_to_utf8() instead of g_convert to fix the issue that
id3 tags utf16 charaters cannot be extreacted in id3demux when try
to get the id3v2 tag such as TIT2, TALB etc.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognu-config: Update git version to latest and use it
Khem Raj [Fri, 7 Aug 2015 20:18:47 +0000 (13:18 -0700)]
gnu-config: Update git version to latest and use it

latest gnu-config code has all the patches to support
musl/uclibc upstreamed so lets use it after upgrading to latest
its GPLv3 with autoconf exception but the GPLv2 copy of recipe
is left in as well to not break non-GPLv3 builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowpa-supplicant: Fix CVE-2015-4142
Otavio Salvador [Mon, 10 Aug 2015 19:08:36 +0000 (16:08 -0300)]
wpa-supplicant: Fix CVE-2015-4142

The original commit "wpa-supplicant: Fix CVE-2015-4142" included the
patch file but didn't apply it into the recipe, so the backport has
not been effective.

Reported-by: Adam Moore <adam.moore@savantsystems.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoweston: improve parallel make race fixes
Ross Burton [Mon, 10 Aug 2015 19:32:57 +0000 (20:32 +0100)]
weston: improve parallel make race fixes

The original fix is upstream already so mark as a backport, and update the patch
with another race fix.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobootchart2: update to 0.14.7
Alexander Kanavin [Mon, 10 Aug 2015 14:23:24 +0000 (17:23 +0300)]
bootchart2: update to 0.14.7

Drop bootchartd-no-bashism.patch as it's been merged upstream

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa-demos: Fix dependency for 'vg' support
Otavio Salvador [Mon, 10 Aug 2015 19:47:46 +0000 (16:47 -0300)]
mesa-demos: Fix dependency for 'vg' support

The 'vg' support should depends on virtual/libopenvg. There is no
provider for libvg in OE-Core so this option seems untested being safe
to change.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobind: upgrade to 9.10.2-p3
Roy Li [Fri, 7 Aug 2015 06:30:07 +0000 (14:30 +0800)]
bind: upgrade to 9.10.2-p3

9.10.2-p3 includes the fix for CVE-2015-5477:
  BIND 9.x before 9.9.7-P2 and 9.10.x before 9.10.2-P3 allows remote
  attackers to cause a denial of service (REQUIRE assertion failure
  and daemon exit) via TKEY queries.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipeutils.py: allow all characters in regexes used to parse version strings
Alexander Kanavin [Mon, 3 Aug 2015 16:29:54 +0000 (19:29 +0300)]
recipeutils.py: allow all characters in regexes used to parse version strings

Previously only numeric characters were matches and anything else was
discarded, so 4.0-rc3, 2005e, 1.0.2a and similar versions got truncated.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooprofile: reorder SRC_URI lines to fix upstream version check
Alexander Kanavin [Mon, 3 Aug 2015 16:29:51 +0000 (19:29 +0300)]
oprofile: reorder SRC_URI lines to fix upstream version check

The source tarball should be listed first.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogptfdisk: update to 1.0.0
Alexander Kanavin [Mon, 3 Aug 2015 16:29:50 +0000 (19:29 +0300)]
gptfdisk: update to 1.0.0

Also, use tarballs instead of git for fetching source code.
git repository does not have version tags, so upstream version check
cannot be performed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomesa: upgrade 10.5.8 -> 10.6.3
Nicolas Dechesne [Tue, 4 Aug 2015 07:37:49 +0000 (08:37 +0100)]
mesa: upgrade 10.5.8 -> 10.6.3

* Removed openvg references in PACKAGECONFIG, FILES and PACKAGES since OpenVG
  support was removed in mesa 10.6
* Tested with X11 :
 * xf86-video-freedreno on IFC6410 and DragonBoard 410c
 * softpipe on DragonBoard 410c
 * using meta-qualcomm BSP

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-input-vmmouse: Upgrade 13.0.0 -> 13.1.0
Jussi Kukkonen [Tue, 4 Aug 2015 11:01:14 +0000 (14:01 +0300)]
xf86-input-vmmouse: Upgrade 13.0.0 -> 13.1.0

* Remove backported patch
* Remove PR
* Use ${nonarch_base_libdir} for udev files.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopulseaudio: Add systemd to PACKAGECONFIG if enabled in DISTRO_FEATURES
Pau Espin Pedrol [Thu, 30 Jul 2015 11:33:13 +0000 (13:33 +0200)]
pulseaudio: Add systemd to PACKAGECONFIG if enabled in DISTRO_FEATURES

Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd.bbclass: Use systemd_system_unitdir
Pau Espin Pedrol [Thu, 30 Jul 2015 11:33:12 +0000 (13:33 +0200)]
systemd.bbclass: Use systemd_system_unitdir

Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: Add nonarch_libdir and base systemd vars on it
Pau Espin Pedrol [Thu, 30 Jul 2015 11:33:11 +0000 (13:33 +0200)]
bitbake.conf: Add nonarch_libdir and base systemd vars on it

Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg.bbclass:iso: determine the -iso-level only if there is a rootfs
Ricardo Neri [Sat, 11 Jul 2015 00:41:03 +0000 (17:41 -0700)]
bootimg.bbclass:iso: determine the -iso-level only if there is a rootfs

It may be possible that some bootable images do not use a rootfs; this
may be the case if the bootable image utilize only an initrd for all its
needs.

If there is not rootfs, the size calculation will fail. Furthermore, given
that the iso9660 conformance level is determined using the size of rootfs,
it makes sense to not make the calculation if there is not such rootfs.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobash_3.2.48: dont include target CFLAGS in host LDFLAGS
Andre McCurdy [Wed, 15 Jul 2015 08:16:39 +0000 (01:16 -0700)]
bash_3.2.48: dont include target CFLAGS in host LDFLAGS

Building the host tool 'mkbuiltins' will fail if the target CFLAGS
contains an option which isn't supported by the host's gcc. To prevent
the issue, define LDFLAGS_FOR_BUILD based on CFLAGS_FOR_BUILD instead
of CFLAGS.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoca-certificates: Update 20141019 -> 20150426
Khem Raj [Wed, 5 Aug 2015 23:08:38 +0000 (16:08 -0700)]
ca-certificates: Update 20141019 -> 20150426

Older SRCREV was not fetchable which triggered this upgrade

Change-Id: I85d028294ff0018f4c81c6bb81ae262b18af7a87
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: backport upstream fix for SH4
Andre McCurdy [Thu, 6 Aug 2015 00:30:26 +0000 (17:30 -0700)]
uclibc: backport upstream fix for SH4

Backport upstream fix for building uclibc for SH4 with recent gcc:

  http://git.uclibc.org/uClibc/commit/?id=2c8a7766681b704e710f51c0817534e3f9a952d1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibiconv_1.11.1: merge build and packaging fixes from libiconv_1.14
Andre McCurdy [Thu, 6 Aug 2015 00:52:35 +0000 (17:52 -0700)]
libiconv_1.11.1: merge build and packaging fixes from libiconv_1.14

  054151c libiconv: Fix B != S with uclibc builds
  273c437 libiconv: Remove RPATH from binaries
  fcb8d6f libiconv_1.14.bb: Fix build failure [partial-merge]

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibiconv_1.11.1: fix LICENSE declaration, LGPL -> LGPLv2.0
Andre McCurdy [Thu, 6 Aug 2015 00:52:34 +0000 (17:52 -0700)]
libiconv_1.11.1: fix LICENSE declaration, LGPL -> LGPLv2.0

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogettext_0.16.1: add -lrt and -lpthread to LDFLAGS for uclibc builds
Andre McCurdy [Thu, 6 Aug 2015 00:36:50 +0000 (17:36 -0700)]
gettext_0.16.1: add -lrt and -lpthread to LDFLAGS for uclibc builds

Fix linker errors due to posix_spawnp etc being in librt for uclibc.

 | sh4-rdk-linux-uclibc-libtool: link: sh4-rdk-linux-uclibc-gcc -ml -m4 --sysroot=/build-foo/tmp/sysroots/foo -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/test-names test-names.o  libuniname.a ../gnulib-lib/.libs/libgettextlib.so /build-foo/tmp/work/sh4-rdk-linux-uclibc/gettext/0.16.1-r6/build/gettext-tools/intl/.libs/libintl.so -lc /build-foo/tmp/sysroots/foo/usr/lib/libiconv.so
 | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawnp'
 | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawn_file_actions_adddup2'
 | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawn_file_actions_addopen'
 | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawn_file_actions_addclose'
 | collect2: error: ld returned 1 exit status

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogettext_0.16.1: remove obsolete uclibc specific patch
Andre McCurdy [Thu, 6 Aug 2015 00:36:49 +0000 (17:36 -0700)]
gettext_0.16.1: remove obsolete uclibc specific patch

gettext-error_print_progname.patch was originally created for gettext
v0.14.6 and does not apply cleanly to gettext v0.16.1.

Since the original issue addressed by the patch isn't documented and
because gettext v0.16.1 seems to be build OK for uclibc without the
patch, assume the patch is obsolete and no longer required.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowhich: Upgrade 2.20 -> 2.21
Jussi Kukkonen [Thu, 6 Aug 2015 08:42:02 +0000 (11:42 +0300)]
which: Upgrade 2.20 -> 2.21

* Drop one upstreamed patch, update the other one

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agovte: Fix LICENSE to LGPL2.0
Jussi Kukkonen [Thu, 6 Aug 2015 08:42:00 +0000 (11:42 +0300)]
vte: Fix LICENSE to LGPL2.0

Current releases of vte are LGPL 2.1+ but the one we have is still
LGPL 2.0.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofontconfig: Upgrade 2.11.93 -> 2.11.94
Jussi Kukkonen [Thu, 6 Aug 2015 08:41:59 +0000 (11:41 +0300)]
fontconfig: Upgrade 2.11.93 -> 2.11.94

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk-icon-utils-native: Upgrade 3.16.4 -> 3.16.6
Jussi Kukkonen [Thu, 6 Aug 2015 08:41:58 +0000 (11:41 +0300)]
gtk-icon-utils-native: Upgrade 3.16.4 -> 3.16.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk+3: Upgrade 3.16.4 -> 3.16.6
Jussi Kukkonen [Thu, 6 Aug 2015 08:41:57 +0000 (11:41 +0300)]
gtk+3: Upgrade 3.16.4 -> 3.16.6

Remove a backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-base: Enable pango packageconfig by default
Carlos Rafael Giani [Wed, 5 Aug 2015 20:58:50 +0000 (22:58 +0200)]
gstreamer1.0-plugins-base: Enable pango packageconfig by default

There is no discernible reason why pango should be initially disabled,
since the necessary dependency is already included in OE core

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinitscripts: Fix regression for requiring /bin/bash
Jason Wessel [Thu, 6 Aug 2015 19:35:53 +0000 (14:35 -0500)]
initscripts: Fix regression for requiring /bin/bash

It is not possible to create a rootfs with only busybox + initscipts.
This is a result of a regression from commit
a4b53872a8a9a2743299acbff015f7f2750a69d6 (initscripts: add
/sbin/sushell for systemd service debug-shell).

The /sbin/sushell should just use /bin/sh else you end up with a
problem when creating the end image with a failed smart transaction
shown below:

ERROR: Unable to install packages. Command '/proj/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet --data-dir=/proj/bitbake_build/tmp/work/qemuarma9-wrs-linux-gnueabi/wrlinux-image-glibc-small/1.0-r1/rootfs/var/lib/smart install -y dropbear@armv7at2_vfp hac@armv7at2_vfp run-postinsts@all kernel-modules@qemuarma9 packagegroup-core-boot@qemuarma9' returned 1:
error: Can't install initscripts-1.0-r155.0@armv7at2_vfp: no package provides /bin/bash

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.4.0-rc4
Cristian Iorga [Thu, 6 Aug 2015 15:45:00 +0000 (18:45 +0300)]
qemu: upgrade to 2.4.0-rc4

Bugfixes, bring it closer to 2.4.0 final release.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibinput: add configure arg and PACKAGECONFIG for libunwind
Jackie Huang [Wed, 5 Aug 2015 04:19:00 +0000 (12:19 +0800)]
libinput: add configure arg and PACKAGECONFIG for libunwind

libinput uses pkg-config to check and decide whether to build
with libunwind, which causes undeterministic builds or error:

| tmp/work/core2-64-wrs-linux/libinput/0.18.0-r0/libinput-0.18.0/test/litest.c:77:23:
| fatal error: libunwind.h: No such file or directory

So add configure arg and PACKAGECONFIG for libunwind to make
deterministic build, but libunwind is disabled by default.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocups: upgrade to 2.0.4
Chen Qi [Wed, 5 Aug 2015 08:02:49 +0000 (16:02 +0800)]
cups: upgrade to 2.0.4

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoresolvconf: upgrade to 1.77
Chen Qi [Wed, 5 Aug 2015 08:02:48 +0000 (16:02 +0800)]
resolvconf: upgrade to 1.77

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobinutils: 2.25 -> 2.25.1
Robert Yang [Mon, 3 Aug 2015 15:49:08 +0000 (08:49 -0700)]
binutils: 2.25 -> 2.25.1

binutils: 2.25 -> 2.25.1
tcmode-default.inc: update BINUVERSION

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoqemu: add ptest sub-package
Kai Kang [Tue, 4 Aug 2015 03:25:36 +0000 (11:25 +0800)]
qemu: add ptest sub-package

Add sub-package ptest which runs all unit tests cases for qemu.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agort-tests: fix redo install error
Kai Kang [Tue, 4 Aug 2015 03:25:35 +0000 (11:25 +0800)]
rt-tests: fix redo install error

Currently gzip on host is used. If host gzip is provided by pigz, it
fails to redo install that pigz can't handle the option after file name.
When run command for target install in Makefile:

gzip src/backfire/backfire.4 -c > OUTPUT_FILE

File src/backfire/backfire.4 is zipped into backfire.4.gz but the
OUTPUT_FILE is empty. When rerun do_install, it shows warning:

| gzip: src/backfire/backfire.4 does not exist -- skipping

and empty manual gzip files are created:

$ file image/usr/share/man/man4/backfire.4.gz
image/usr/share/man/man4/backfire.4.gz: empty

Fix it by putting option '-c' before the file name.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobash: 4.3 -> 4.3.30
Robert Yang [Mon, 3 Aug 2015 15:44:22 +0000 (08:44 -0700)]
bash: 4.3 -> 4.3.30

Remove patch001 -> patch030 since they are already in source, add
patch031 -> patch039

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agolibcheck: 0.9.14 -> 0.10.0
Robert Yang [Mon, 3 Aug 2015 15:19:56 +0000 (08:19 -0700)]
libcheck: 0.9.14 -> 0.10.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agofile: 5.23 -> 5.24
Robert Yang [Tue, 14 Jul 2015 05:08:01 +0000 (22:08 -0700)]
file: 5.23 -> 5.24

* Remove backported patch:
- 0001-Fix-bug-with-long-options-and-explicitly-number-them.patch \
- 0002-fix-bug-with-5.23-long-options.patch \

* Use git repo rather than tarball since the original SRC_URI is not
  stable, it is not reachable sometimes.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agogit: 2.4.6 -> 2.5.0
Robert Yang [Mon, 3 Aug 2015 15:13:11 +0000 (08:13 -0700)]
git: 2.4.6 -> 2.5.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoboost: add python3 support
Andreas Müller [Wed, 22 Jul 2015 08:21:10 +0000 (10:21 +0200)]
boost: add python3 support

* Both - python/python3 - libs are build by adding 'python' to PACKAGECONFIG
  but are packed into separate packages
* Indention was wrong in __anonymous()

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibpam: Fix patch broken during upgrade
Richard Purdie [Sun, 9 Aug 2015 22:10:08 +0000 (15:10 -0700)]
libpam: Fix patch broken during upgrade

"0x200" became "0200" during the upgrade to libpam 1.2.1 in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=88dd997d9941b63ae9eead6690ecf2b785c0740c
and this broke the IMAGE_FEATURES like debug-tweaks.

I've converted all the values to octal here to match the original
header file convention and make it clearer.

[YOCTO #8033]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosecurity_flags.inc: disable -pie and -fpie from Python3 compilation.
Topi Kuutela [Fri, 7 Aug 2015 06:42:35 +0000 (09:42 +0300)]
security_flags.inc: disable -pie and -fpie from Python3 compilation.

If security_flags.inc is 'required' to the image, -pie and -fpie options
are added to CFLAGS. These are not compatible with -shared GCC option.
The result is several errors of following form and missing Python3
modules in the image:

    *.o In function `_start': *.S undefined reference to `main'
    collect2: error: ld returned 1 exit status

Signed-off-by: Topi Kuutela <topi.kuutela@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: release 0.2.0
Ed Bartosh [Mon, 3 Aug 2015 13:51:51 +0000 (16:51 +0300)]
wic: release 0.2.0

Major changes in 0.2.0:
- implemented UUID support
- fixed support of GPT partition tables
- implemented running bitbake from wic
- implemented image compressing
- started testing with oe-selftest. implemented 17 test cases
- used native tools (parted, mkfs, mtools, etc)
- usability and documentation fixes
- code clenup

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: code cleanup: pylint misc.py
Ed Bartosh [Mon, 3 Aug 2015 13:51:50 +0000 (16:51 +0300)]
wic: code cleanup: pylint misc.py

Fixed pylint warnings.
Increased pylint score from 8.02 to 9.40.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: code cleanup: remove unused code
Ed Bartosh [Mon, 3 Aug 2015 13:51:49 +0000 (16:51 +0300)]
wic: code cleanup: remove unused code

Removed unused global variable wks_vars and 2 unused functions
get_wks_var and add_wks_var.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Report recipe name for native commands
Ed Bartosh [Mon, 3 Aug 2015 13:51:48 +0000 (16:51 +0300)]
wic: Report recipe name for native commands

exec_native_cmd was modified to report recipe to build
native programs.

Pairs executable->recipe are hardcoded as it's not possible
to obtain this information automatically.

[YOCTO #7631]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Improve 'wic help overview' content
Ed Bartosh [Mon, 3 Aug 2015 13:51:47 +0000 (16:51 +0300)]
wic: Improve 'wic help overview' content

Included full console output and example of the .wks file
into the 'wic help overview' content.

Used qemux86-64 machine instead of crownbay to make example
working without cloning additional layers.

[YOCTO #7940]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: improved usage text
Ed Bartosh [Mon, 3 Aug 2015 13:51:46 +0000 (16:51 +0300)]
wic: improved usage text

Made command line specification less confusing.
Reformatted usage output.

[YOCTO #7938]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostress: update checksums to match upstream tarball
Alexander Kanavin [Mon, 3 Aug 2015 16:29:53 +0000 (19:29 +0300)]
stress: update checksums to match upstream tarball

COPYING checksum has changed because the previous upstream tarball
(taken from Fedora) had GPLv3 in it, but author's tarball has GPLv2.
Otherwise the tarballs are identical

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocreate-pull-request: cd to relative directory
Ed Bartosh [Wed, 5 Aug 2015 09:16:00 +0000 (12:16 +0300)]
create-pull-request: cd to relative directory

create-pull-request -d path creates empty patches if directory
is specified as a path, i.e. ./bitbake or ./bitbake/ or full path.
It behaves expected way only if script is run with -d bitbake, i.e.
relative dir name doesn't contain '\'.

Fixed this unwanted behaviour by changing directory and running
git format-patch in it with --relative, without specifying
relative path as a parameter.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowpa-supplicant: Fix CVE-2015-4141, CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, CVE...
Fan Xin [Wed, 5 Aug 2015 02:41:32 +0000 (11:41 +0900)]
wpa-supplicant: Fix CVE-2015-4141, CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, CVE-2015-4146

wpa-supplicant: backport patch to fix CVE-2015-4141,
 CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, CVE-2015-4146

Backport patch to fix CVE-2015-4141, CVE-2015-4143, CVE-2015-4144, CVE-2015-4145, CVE-2015-4146.
This patch is originally from:

For CVE-2015-4141:
http://w1.fi/security/2015-2/0001-WPS-Fix-HTTP-chunked-transfer-encoding-parser.patch

For CVE-2015-4143:
http://w1.fi/security/2015-4/0001-EAP-pwd-peer-Fix-payload-length-validation-for-Commi.patch
http://w1.fi/security/2015-4/0002-EAP-pwd-server-Fix-payload-length-validation-for-Com.patch

For CVE-2015-4144 and CVE-2015-4145:
http://w1.fi/security/2015-4/0003-EAP-pwd-peer-Fix-Total-Length-parsing-for-fragment-r.patch
http://w1.fi/security/2015-4/0004-EAP-pwd-server-Fix-Total-Length-parsing-for-fragment.patch

For CVE-2015-4146:
http://w1.fi/security/2015-4/0005-EAP-pwd-peer-Fix-asymmetric-fragmentation-behavior.patch

Signed-off-by: Fan Xin <fan.xin at jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-video-intel: fix yocto/oe-core wreckage from libdrm upgrade
Paul Gortmaker [Tue, 4 Aug 2015 05:07:55 +0000 (01:07 -0400)]
xf86-video-intel: fix yocto/oe-core wreckage from libdrm upgrade

In commit a117fd5ecdd9973c7e4d772d1785f1f4e9b162c2,
from OE-Core rev: 88d60e70da0890184922056cef1f20171f716ace
"libdrm: Upgrade to 2.4.62" we managed to break X like this:

[3602662.736] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[3602662.736] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[3602662.736] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[3602662.736] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[3602662.736] (==) intel(0): RGB weight 888
[3602662.736] (==) intel(0): Default visual is TrueColor
[3602662.736] (EE)
[3602662.736] (EE) Backtrace:
[3602662.736] (EE) 0: /usr/bin/X (xorg_backtrace+0x49) [0x56ae09]
[3602662.736] (EE) 1: /usr/bin/X (0x400000+0x16ecd9) [0x56ecd9]
[3602662.736] (EE) 2: /lib64/libpthread.so.0 (0x3330600000+0x105e0) [0x33306105e0]
[3602662.736] (EE)
[3602662.736] (EE) Segmentation fault at address 0x0
[3602662.736] (EE)
Fatal server error:
[3602662.736] (EE) Caught signal 11 (Segmentation fault). Server aborting

A mix of a ~1 month old (working) image and the failing image led me
to determine /usr/lib64/xorg/modules/drivers/intel_drv.so was bad.
However nothing changed the parent package xf86-video-intel in
yocto for months.

So brute force bisecting yocto leads to the above commit.  Inserting
libdrm as git and then bisecting the 2.4.59 --> 2.4.62 uprev content
leads to libdrm commit 8576527cfacaf42af8316e1030c192193e94225a
("intel: Merge latest i915_drm.h") -- specifically, the part of that
commit that adds __u64 flags to drm_i915_gem_mmap lands in our sysroot
and is used by the compile of xf86-video-intel.

With the specific trigger finally pinpointed, the final leap was to
correlate that trigger to the upstream xf86-video-intel commit that
accounts for the fallout of this libdrm header change, that we did
not yet have here.  Fun times.  Hopefully this complete description
here will ensure nobody else has to retrace these steps again.

Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Neil Roberts <neil@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Steffen Pankratz <steffen.pankratz@elektrobit.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/qemurunner: Improve runqemu log output debug
Richard Purdie [Sun, 9 Aug 2015 07:07:05 +0000 (00:07 -0700)]
oeqa/qemurunner: Improve runqemu log output debug

If runqemu fails, ensure the log output is shown as its invaluable
to aid debugging. Its slightly convoluted since we need to ensure
we don't block on reading the pipe which may still be executing
hence the need for nonblocking IO.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: Handle device names like tapX@NONE
Richard Purdie [Sun, 9 Aug 2015 07:05:10 +0000 (00:05 -0700)]
runqemu: Handle device names like tapX@NONE

ip list can return devices in the form tapX@NONE. If it does so,
ensure we handle that case correctly. Newer distros appear to do
this in some cases.

[YOCTO #8129]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorunqemu: Add error handling for unexpected tap devices
Richard Purdie [Sun, 9 Aug 2015 07:03:49 +0000 (00:03 -0700)]
runqemu: Add error handling for unexpected tap devices

In theory the code reduces the tap device number to an integer. This
patch adds error checking to ensure that does happen and that the script
exits if something unexpected happens.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston: Fix parallel make race
Richard Purdie [Mon, 3 Aug 2015 16:47:31 +0000 (17:47 +0100)]
weston: Fix parallel make race

The current approach used by the Makefile ends up installing
weston.desktop twice and can give build failures when using
parallel make flags. Change to just have one DATA reference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: fix action_pull for unknown branch
Patrick Ohly [Tue, 4 Aug 2015 16:24:00 +0000 (18:24 +0200)]
combo-layer: fix action_pull for unknown branch

When reconfiguring the branch to something not already fetched,
action_pull fails with
   error: pathspec '<new branch name>' did not match any file(s) known to git.

It is the "git checkout" which fails like that. To solve this,
try the faster "git checkout + git pull" first and only if that fails,
fall back to the slow "git fetch + git checkout".

In the conf.hard_reset case, do the checkout always after the git fetch.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: enhance output in action_pull
Patrick Ohly [Tue, 4 Aug 2015 16:23:59 +0000 (18:23 +0200)]
combo-layer: enhance output in action_pull

The git operations can fail, for example when the branch is unknown
or misconfigured.

Better move the info message and extend it such that it is printed
first and provides the necessary context, because otherwise the
CalledProcessError exception gets dumped without mentioning for which
component it occurred.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemurunner: Improves checking for server and target IPs on qemus parameters
Alejandro Hernandez [Thu, 6 Aug 2015 18:44:22 +0000 (18:44 +0000)]
qemurunner: Improves checking for server and target IPs on qemus parameters

Fixes OS hanging infinitely waiting for qemus process to release bitbake.lock

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuilder: Fix multilib compile failure
Richard Purdie [Mon, 3 Aug 2015 06:15:47 +0000 (07:15 +0100)]
builder: Fix multilib compile failure

The last commit introduced a build failure in the multilib case:

| WARNING: /media/data1/build1/poky/build/tmp/work/x86-pokymllib32-linux/lib32-builder/0.1-r6/temp/run.do_install.781:1 exit 1 from
|   chown lib32-builder.lib32-builder /media/data1/build1/poky/build/tmp/work/x86-pokymllib32-linux/lib32-builder/0.1-r6/image/etc/mini_x/session.d/builder_hob_start.sh

so fix the chown to use the correct user.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: fix build failure if building dir has the "blib" string
Wenzong Fan [Fri, 10 Jul 2015 08:54:55 +0000 (16:54 +0800)]
perl: fix build failure if building dir has the "blib" string

If build dir includes the string "blib", filter it out from @INC may empty
the @INC and cause build errors like:

  Can't locate ExtUtils/MakeMaker.pm in @INC \
  (you may need to install the ExtUtils::MakeMaker module) \
  (@INC contains: .) at Makefile.PL

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorootfs.py: fix PRE/POSTPROCESS_COMMANDS for rpm and deb
Robert Yang [Tue, 28 Jul 2015 03:10:50 +0000 (20:10 -0700)]
rootfs.py: fix PRE/POSTPROCESS_COMMANDS for rpm and deb

The rpm didn't run RPM_PREPROCESS_COMMANDS or RPM_POSTPROCESS_COMMANDS,
the similar to deb, this patch fix the problem.

And fix a typo:
DEB_POSTPROCESS_COMMAND -> DEB_POSTPROCESS_COMMANDS

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: delete patches that don't get applied anywhere
Dominic Sacré [Tue, 28 Jul 2015 14:58:38 +0000 (16:58 +0200)]
python3: delete patches that don't get applied anywhere

These patches are not referenced in any of the Python recipes.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: remove 2to3 symlink from package python3-2to3
Dominic Sacré [Tue, 28 Jul 2015 14:58:37 +0000 (16:58 +0200)]
python3: remove 2to3 symlink from package python3-2to3

The 2to3 symlink conflicts with its Python 2 equivalent in package
python-2to3.
The Python 3 version of the tool is still available as 2to3-3.4.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: remove package python3-robotparser
Dominic Sacré [Tue, 28 Jul 2015 14:58:36 +0000 (16:58 +0200)]
python3: remove package python3-robotparser

robotparser has been moved to urllib.robotparser in Python 3, and gets
packaged as part of python3-netclient alongside the rest of urllib.
This causes python3-modules to depend on an empty/missing
python3-robotparser package.

robotparser.py is relatively small and has no dependencies outside
urllib, so it makes more sense to eliminate the python3-robotparser
package than to alter the manifest for python3-netclient.

Part of the fix for [YOCTO #8048].

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: detect libraries in STAGING_LIBDIR
Dominic Sacré [Tue, 28 Jul 2015 14:58:35 +0000 (16:58 +0200)]
python3: detect libraries in STAGING_LIBDIR

Patch setup.py so that the detect_modules() function looks for required
libraries and headers in STAGING_LIBDIR / STAGING_INCDIR.

Without this patch, several extension modules are not built, even though
their dependencies are present in the compiler's search paths.
The result is the following warning, and ultimately incomplete packages:

| The necessary bits to build these optional modules were not found:
| _bz2                  _curses_panel         _dbm
| _gdbm                 _lzma                 _sqlite3
| nis                   readline              zlib
| To find the necessary bits, look in setup.py in detect_modules() for the module's name.

With the Python 3.3 version of the recipe, at least some of these modules
were built, because STAGING_LIBDIR happened to be in the search path
by coincidence. Due to changes to distutils in Python 3.4, this is no
longer the case.

A previous patch that only affects the search paths for SSL is dropped, as
this one is a more complete fix for [YOCTO #7768].

Part of the fix for [YOCTO #8048].

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuilder: fix USERADD_PARAM
Robert Yang [Tue, 28 Jul 2015 09:03:34 +0000 (02:03 -0700)]
builder: fix USERADD_PARAM

When build lib32-builder, it would create the user lib32-builder which
was incorrect.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd_base.bbclass: do not warn when the user exists
Robert Yang [Tue, 28 Jul 2015 09:03:33 +0000 (02:03 -0700)]
useradd_base.bbclass: do not warn when the user exists

Use bbnote rather than bbwarn when the user exists, otherwise we would
always get the warnings when rebuild the recipe or build with mulitlib,
everything is OK if the user exists, so it should not be a warning.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd_base.bbclass: print PN when bbnote/bbwarn/bbfatal
Robert Yang [Tue, 28 Jul 2015 09:03:32 +0000 (02:03 -0700)]
useradd_base.bbclass: print PN when bbnote/bbwarn/bbfatal

Print PN will help debug:
WARNING: openssh: user sshd already exists, not re-creating it

Which is better than:
WARNING: user sshd already exists, not re-creating it

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()
Robert Yang [Thu, 30 Jul 2015 15:18:10 +0000 (08:18 -0700)]
base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()

The FOO[doc] is set in meta/conf/documentation.conf, we need remove it
from d.getVarFlags()'s return dict when it causes many loops.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass
Robert Yang [Thu, 30 Jul 2015 15:18:09 +0000 (08:18 -0700)]
base.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass

There was a problem when check invalid PACKAGECONFIG in the anonymous
function (when parsing), for example, there are two versions of a
recipe:
foo_1.0.bb
foo_2.0.bb
While foo_2.0.bb has a "PACKAGECONFIG[item] = 'x,y,z'", but foo_1.0.bb
doesn't, if we set PACKAGECONFIG_pn-foo = "item" in a conf file, we
would get the warning about invalid PACKAGECONFIG for foo_1.0.bb. Delay
the checking to build time will fix the problem.

[YOCTO #8065]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: enable support for sha1sum and sha256sum applets
Andre McCurdy [Thu, 30 Jul 2015 20:56:28 +0000 (13:56 -0700)]
busybox: enable support for sha1sum and sha256sum applets

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: support mount via label for btrfs and squashfs
Andre McCurdy [Thu, 30 Jul 2015 20:56:27 +0000 (13:56 -0700)]
busybox: support mount via label for btrfs and squashfs

Also move the mount via label (and mount via UUID) support into its
own config fragment and disable volume ID support for less common
filesystem formats exFAT and NILFS.

Following this commit, mount via label is supported for btrfs, ext, f2fs,
fat and squashfs.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: disable fatattr in defconfig
Andre McCurdy [Thu, 30 Jul 2015 20:56:26 +0000 (13:56 -0700)]
busybox: disable fatattr in defconfig

The fatattr applet (to display or change file attributes on a fat file
system) doesn't seem to be core functionality, so disable by default.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: disable sha3sum in defconfig
Andre McCurdy [Thu, 30 Jul 2015 20:56:25 +0000 (13:56 -0700)]
busybox: disable sha3sum in defconfig

The sha1sum, sha256sum and sha512sum applets have not historically
been enabled by default, so don't enable sha3sum either.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: refresh defconfig for busybox v1.23.2
Andre McCurdy [Thu, 30 Jul 2015 20:56:24 +0000 (13:56 -0700)]
busybox: refresh defconfig for busybox v1.23.2

The current oe-core busybox defconfig dates back to busybox v1.20.2,
so configure options introduced in busybox v1.21.x, v1.22.x and
v1.23.x take on default values when the oe-core defconfig is run
through 'make oldconfig'.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: re-order defconfig to align with busybox 1.23.2
Andre McCurdy [Thu, 30 Jul 2015 20:56:23 +0000 (13:56 -0700)]
busybox: re-order defconfig to align with busybox 1.23.2

No functional changes, simply re-order lines in defconfig so that
the existing options don't move elsewhere in the file when run
though busybox 1.23.2 'make oldconfig'.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>