[OE-core] [PATCH] image_types.bbclass: add support for multiple ubi sizes

2015-04-24 Thread Pushpal Sidhu
Add new FSTYPE called 'multiubi'. This new type has the ability to create multple ubi's, something that's extremely useful on boards that can include varying flash sizes (e.g. 256MB vs 2GB). Because we don't want to reuse code, I extracted the mkfs and ubinize commands out to a new function that w

[OE-core] [PATCH 0/1] Add new FSTYPE: multiubi

2015-04-24 Thread Pushpal Sidhu
I am submitting a patch that will add a new filesystem type called 'multiubi'. Without repeating my commit message verbatim, I want the ability to create multiple ubi's that cater to different flash sizes. This is ideal for some boards I've encountered that can have anywhere from nMB to nGB of

[OE-core] [PATCH 2/2] tzdata: update to 2015d

2015-04-24 Thread Armin Kuster
Changes affecting future time stamps Egypt will not observe DST in 2015 and will consider canceling it permanently. For now, assume no DST indefinitely. (Thanks to Ahmed Nazmy and Tim Parenti.) Changes affecting past time stamps America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not

[OE-core] [PATCH 1/2] tzcode: update to 2014d

2015-04-24 Thread Armin Kuster
Changes affecting code zic has some minor performance improvements. Signed-off-by: Armin Kuster --- meta/recipes-extended/tzcode/tzcode-native_2015c.bb | 11 --- meta/recipes-extended/tzcode/tzcode-native_2015d.bb | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-)

Re: [OE-core] [PATCH] qt4-x11-free: make virtual/libgl dependecy conditional

2015-04-24 Thread Martin Jansa
On Fri, Apr 24, 2015 at 11:02:21PM +0300, Dmitry Eremin-Solenikov wrote: > Make qt4-x11-free depend on virtual/libgl only if the DISTRO_FEATURES > contain opengl. Otherwise there will be no package to fullfil this > dependency. > > Signed-off-by: Dmitry Eremin-Solenikov > --- > meta/recipes-qt/q

[OE-core] [dizzy][PATCH] kernel-yocto.bbclass: Bug Fix inside do_kernel_checkout()

2015-04-24 Thread Bruce Ashfield
From: Theodor Gherzan --047d7b3a7fac0eebee050cb47483 Content-Type: text/plain; charset="UTF-8" After we check the existence of 'machine_branch' with 'git show-ref' the following if statement should change the 'machine_branch' to the default (i.e. master) if the 'git show-ref' has returned an

[OE-core] [PATCH] qt4-x11-free: make virtual/libgl dependecy conditional

2015-04-24 Thread Dmitry Eremin-Solenikov
Make qt4-x11-free depend on virtual/libgl only if the DISTRO_FEATURES contain opengl. Otherwise there will be no package to fullfil this dependency. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-qt/qt4/qt4-x11-free.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH 00/14] Fix world build with gcc-5

2015-04-24 Thread Khem Raj
On Thu, Apr 23, 2015 at 8:35 PM, Khem Raj wrote: > I saw that my prior pull request has not yet been picked so I took > opportunity to update it > with few more commits and remove the commits not needed for world builds out. > With these world builds on OE-Core are succeeding for all supported qe

[OE-core] [PATCH 1/2] kern-tools: unify meta directory detection

2015-04-24 Thread Bruce Ashfield
It is possible that recipe specific tasks, or build processes drop files into the kernel source directory. These files can cause problems with the meta data detection in the kern-tools. With this change, we have a single unified meta data detection routine, that logs the result in a new file ".met

[OE-core] [PATCH 0/2] kernel: 3.19 updates and tools tweak

2015-04-24 Thread Bruce Ashfield
Richard, Here are a couple of change that just missed the 1.8 cut off, so I'm sending them out now .. before I send my queue with the new 4.x kernels, and LTSI/stable updates for all the trees. The tools change addresses [YOCTO: #7441], and makes the detection of meta data simpler, and also smart

[OE-core] [PATCH 2/2] linux-yocto/3.19: configuration updates and stable integration

2015-04-24 Thread Bruce Ashfield
Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg stable updates, as well as the following meta data changes: 205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware 767f3fa34680 common

Re: [OE-core] [PATCH V2 2/2] populate_sdk_base: avoid executing empty function

2015-04-24 Thread Christopher Larson
On Fri, Apr 24, 2015 at 1:59 AM, Chen Qi wrote: > -bb.build.exec_func(d.getVar("SDK_PACKAGING_FUNC", True), d) > +sdk_packaging_func = d.getVar("SDK_PACKAGING_FUNC", True) or "" > +if sdk_packaging_func.strip(): > +bb.build.exec_func(d.getVar("SDK_PACKAGING_FUNC", True), d) >

Re: [OE-core] [PATCH 02/14] insserv: Fix build with gcc5 and clang

2015-04-24 Thread Khem Raj
On Fri, Apr 24, 2015 at 3:17 AM, Richard Purdie wrote: > On Thu, 2015-04-23 at 20:35 -0700, Khem Raj wrote: >> Kill 2 bugs with one patch > > I don't mind the patch but does anyone use inserv? Should we remove it? I had a usecase with daisy but it ended there. So I am ok to remove it. > > Cheers

[OE-core] [PATCHv4] util-linux: Add lastb to alternatives

2015-04-24 Thread Bryan Evenson
util-linux creates lastb as a symlink to last during the build. Just as other applications may provide last, other applications may provide lastb. Add alternatives designations for lastb to avoid installation conflicts with other applications. Both last and lastb are can be exist in other package

[OE-core] [PATCHv4] Add alternatives for lastb

2015-04-24 Thread Bryan Evenson
I received help from Matthieu Crapet to find and fix a few problems with v3. Changes in v4: * Adds last to PACKAGECONFIG_class-native and PACKAGECONFIG_class-nativesdk to mimic current behavior * Add "--disable-last" to configuration options if last is not in PACKAGECONFIG * Fix errors

Re: [OE-core] [PATCH 3/3] libxfont: Security Advisory - libxfont - CVE-2015-1804

2015-04-24 Thread Richard Purdie
On Fri, 2015-04-24 at 10:19 +0800, Li Zhou wrote: > bdfReadCharacters: ensure metrics fit into xCharInfo struct > > We use 32-bit ints to read from the bdf file, but then try to stick > into a 16-bit int in the xCharInfo struct, so make sure they won't > overflow that range. > > Signed-off-by: Li

Re: [OE-core] [PATCH 02/14] insserv: Fix build with gcc5 and clang

2015-04-24 Thread Richard Purdie
On Thu, 2015-04-23 at 20:35 -0700, Khem Raj wrote: > Kill 2 bugs with one patch I don't mind the patch but does anyone use inserv? Should we remove it? Cheers, Richard -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org htt

Re: [OE-core] [PATCH V2 1/2] uninative-tarball: delete the packagedata task

2015-04-24 Thread ChenQi
On 04/24/2015 05:03 PM, Paul Eggleton wrote: On Friday 24 April 2015 16:59:34 Chen Qi wrote: This task is meaningless for uninative-tarball as the package task has been deleted. Besides, sometimes it would cause problems. To reproduce, use the following command. bitbake uninative-tarball -c cle

Re: [OE-core] [PATCH V2 1/2] uninative-tarball: delete the packagedata task

2015-04-24 Thread Paul Eggleton
On Friday 24 April 2015 16:59:34 Chen Qi wrote: > This task is meaningless for uninative-tarball as the package task > has been deleted. Besides, sometimes it would cause problems. To > reproduce, use the following command. > > bitbake uninative-tarball -c cleansstate && bitbake uninative-tarball

[OE-core] [PATCH V2 2/2] populate_sdk_base: avoid executing empty function

2015-04-24 Thread Chen Qi
`bitbake uninative-tarball' raises the following warning. WARNING: Function doesn't exist This is because SDK_PACKAGING_FUNC is set to "" in its recipe. Anyway, we need to check this variable to avoid executing empty function. [YOCTO #7598] Signed-off-by: Chen Qi --- meta/classes/populat

[OE-core] [PATCH V2 1/2] uninative-tarball: delete the packagedata task

2015-04-24 Thread Chen Qi
This task is meaningless for uninative-tarball as the package task has been deleted. Besides, sometimes it would cause problems. To reproduce, use the following command. bitbake uninative-tarball -c cleansstate && bitbake uninative-tarball && bitbake uninative-tarball -c clean && bitbake uninative

[OE-core] [PATCH V2 0/2] Two fixes related to uninative-tarball

2015-04-24 Thread Chen Qi
The following changes since commit c9b06c79ed8a082d1b385e9f61721aeeda9bf1af: init-install-efi.sh: fix gummiboot entry installation (2015-04-21 07:19:07 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/uninative-tarball-fixes http

Re: [OE-core] [PATCH 2/2] populate_sdk_base: avoid executing empty function

2015-04-24 Thread Paul Eggleton
On Friday 24 April 2015 16:14:36 ChenQi wrote: > On 04/24/2015 03:20 PM, Richard Purdie wrote: > > On Fri, 2015-04-24 at 14:50 +0800, Chen Qi wrote: > >> `bitbake uninative-tarball' raises the following warning. > >> > >> WARNING: Function doesn't exist > >> > >> This is because SDK_PACKAGI

Re: [OE-core] [PATCH 00/12] Fixes for dangling patches

2015-04-24 Thread Robert Yang
On 04/24/2015 04:31 PM, Richard Purdie wrote: On Fri, 2015-04-24 at 00:54 -0700, Robert Yang wrote: The following changes since commit 166f2587468ae71988c610858aad3f7ef67eccba: bison: don't depend on help2man (2015-04-21 11:29:30 +0100) are available in the git repository at: git://gi

Re: [OE-core] [PATCH 4/8] devtool: extract: remove patches when S=WORKDIR

2015-04-24 Thread Paul Eggleton
On Friday 24 April 2015 11:38:45 Markus Lehtonen wrote: > NACK! Please skip this patch for now. I just found out it doesn't work as > expected. I'll submit a new version when I've worked around the problems. OK, I've re-pushed the branch with this patch removed. Cheers, Paul -- Paul Eggleton I

Re: [OE-core] [PATCH 4/8] devtool: extract: remove patches when S=WORKDIR

2015-04-24 Thread Markus Lehtonen
Hi, On 23/04/15 19:18, "Paul Eggleton" wrote: >From: Markus Lehtonen > >All local files from the layer, including patches, are added to to >srctree repository when S==WORKDIR. The patch files are useless as they >are automatically applied on top of the srctree by devtool. > >This change causes

Re: [OE-core] [PATCH 00/12] Fixes for dangling patches

2015-04-24 Thread Richard Purdie
On Fri, 2015-04-24 at 00:54 -0700, Robert Yang wrote: > The following changes since commit 166f2587468ae71988c610858aad3f7ef67eccba: > > bison: don't depend on help2man (2015-04-21 11:29:30 +0100) > > are available in the git repository at: > > git://git.openembedded.org/openembedded-core-co

Re: [OE-core] [PATCH 2/2] populate_sdk_base: avoid executing empty function

2015-04-24 Thread ChenQi
On 04/24/2015 03:20 PM, Richard Purdie wrote: On Fri, 2015-04-24 at 14:50 +0800, Chen Qi wrote: `bitbake uninative-tarball' raises the following warning. WARNING: Function doesn't exist This is because SDK_PACKAGING_FUNC is set to "" in its recipe. Anyway, we need to check this variable

[OE-core] [PATCH 07/12] kmod: remove 0001-Makefile.am-fix-parallel-build-problem.patch

2015-04-24 Thread Robert Yang
Confirmed with the author Qi, it isn't needed. Signed-off-by: Robert Yang --- ...01-Makefile.am-fix-parallel-build-problem.patch | 29 1 file changed, 29 deletions(-) delete mode 100644 meta/recipes-kernel/kmod/kmod/0001-Makefile.am-fix-parallel-build-problem.patch diff

[OE-core] [PATCH 05/12] bind: remove 5 backport patches

2015-04-24 Thread Robert Yang
Signed-off-by: Robert Yang --- .../bind/bind/bind-9.8.1-CVE-2012-5166.patch | 119 - .../bind/bind/bind-CVE-2011-4313.patch | 89 .../bind/bind/bind-CVE-2012-1667.patch | 92 - .../bind/bind/bind-CVE-2013-2266.patch

[OE-core] [PATCH 01/12] python3: remove sys_platform_is_now_always_linux2.patch

2015-04-24 Thread Robert Yang
It is aready in the source. Signed-off-by: Robert Yang --- .../sys_platform_is_now_always_linux2.patch| 29 1 file changed, 29 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch diff --git a/meta/recipes

[OE-core] [PATCH 12/12] elfutils: enable fix-build-gcc-4.8.patch

2015-04-24 Thread Robert Yang
The patch fixes a warning seen with gcc 4.8 (especially on ubuntu 13.10) Signed-off-by: Robert Yang --- meta/recipes-devtools/elfutils/elfutils_0.148.bb |1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfut

[OE-core] [PATCH 09/12] lttng-modules: remove bio-bvec-iter.patch

2015-04-24 Thread Robert Yang
It is aready in the source. Signed-off-by: Robert Yang --- .../lttng/lttng-modules/bio-bvec-iter.patch| 156 1 file changed, 156 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-modules/bio-bvec-iter.patch diff --git a/meta/recipes-kernel/lttng/lttn

[OE-core] [PATCH 00/12] Fixes for dangling patches

2015-04-24 Thread Robert Yang
The following changes since commit 166f2587468ae71988c610858aad3f7ef67eccba: bison: don't depend on help2man (2015-04-21 11:29:30 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/dangling http://cgit.openembedded.org/cgit.cgi/openembe

[OE-core] [PATCH 11/12] texinfo: remove enumerate_greater_than_ten.patch

2015-04-24 Thread Robert Yang
It is a backport patch. Signed-off-by: Robert Yang --- .../texinfo/enumerate_greater_than_ten.patch | 51 1 file changed, 51 deletions(-) delete mode 100644 meta/recipes-extended/texinfo/texinfo/enumerate_greater_than_ten.patch diff --git a/meta/recipes-extended/

[OE-core] [PATCH 03/12] nspr: remove nspr-CVE-2014-1545.patch

2015-04-24 Thread Robert Yang
It is a backport patch. Signed-off-by: Robert Yang --- .../nspr/nspr/nspr-CVE-2014-1545.patch | 67 1 file changed, 67 deletions(-) delete mode 100644 meta/recipes-support/nspr/nspr/nspr-CVE-2014-1545.patch diff --git a/meta/recipes-support/nspr/nspr/nspr-CVE

[OE-core] [PATCH 02/12] mtd-utils: enable mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch

2015-04-24 Thread Robert Yang
We still need it, so update and enable it. Signed-off-by: Robert Yang --- ...t-cleanmarker-with-flash_erase--j-command.patch | 22 meta/recipes-devtools/mtd/mtd-utils_git.bb |1 + 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/meta/recipes-dev

[OE-core] [PATCH 08/12] openssl: remove 3 patches

2015-04-24 Thread Robert Yang
Removed: - openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch - upgate-vegsion-script-for-1.0.2.patch Since they are already in the source. - make-targets.patch It removed test dir from DIRS, which is not needed any more since we need build it. Signed-off-by: Robert Yang i

[OE-core] [PATCH 06/12] logrotate: remove logrotate-CVE-2011-1548.patch

2015-04-24 Thread Robert Yang
It is a backport patch. Signed-off-by: Robert Yang --- .../logrotate/logrotate-CVE-2011-1548.patch| 43 1 file changed, 43 deletions(-) delete mode 100644 meta/recipes-extended/logrotate/logrotate/logrotate-CVE-2011-1548.patch diff --git a/meta/recipes-extended

[OE-core] [PATCH 10/12] libaio: remove libaio-generic.patch

2015-04-24 Thread Robert Yang
It is already in the source. Signed-off-by: Robert Yang --- .../libaio/libaio/libaio-generic.patch | 65 1 file changed, 65 deletions(-) delete mode 100644 meta/recipes-extended/libaio/libaio/libaio-generic.patch diff --git a/meta/recipes-extended/libaio/liba

[OE-core] [PATCH 04/12] libxml2: remove libxml2-CVE-2014-3660.patch

2015-04-24 Thread Robert Yang
It is a backport patch. Signed-off-by: Robert Yang --- .../libxml/libxml2/libxml2-CVE-2014-3660.patch | 147 1 file changed, 147 deletions(-) delete mode 100644 meta/recipes-core/libxml/libxml2/libxml2-CVE-2014-3660.patch diff --git a/meta/recipes-core/libxml/libxml2/

[OE-core] [PATCH] libarchive: Security Advisory - libarchive - CVE-2015-2304

2015-04-24 Thread Li Zhou
libarchive: Updated libarchive packages fix security vulnerability Alexander Cherepanov discovered that bsdcpio, an implementation of the "cpio" program part of the libarchive project, is susceptible to a directory traversal vulnerability via absolute paths. Signed-off-by: Li Zhou --- ...IVE_EX

Re: [OE-core] [PATCH 2/2] populate_sdk_base: avoid executing empty function

2015-04-24 Thread Richard Purdie
On Fri, 2015-04-24 at 14:50 +0800, Chen Qi wrote: > `bitbake uninative-tarball' raises the following warning. > > WARNING: Function doesn't exist > > This is because SDK_PACKAGING_FUNC is set to "" in its recipe. > Anyway, we need to check this variable to avoid executing empty function. >