Re: [OE-core] [PATCH v2 1/3] bmap-tools: initial commit, version 3.2

2016-04-28 Thread Paul Eggleton
On Fri, 29 Apr 2016 01:07:56 Alexander Kanevskiy wrote: > On Wed, Apr 27, 2016 at 12:36 PM, Ed Bartosh > > wrote: > > Bmap-tools - tools to generate block map (AKA bmap) and flash images > > using bmap. Bmaptool is a generic tool for creating the block map > > (bmap) for a file and copying files

[OE-core] [PATCH] sysvinit-inittab: restrict labels to 4 chars

2016-04-28 Thread Stephano Cetola
The current recipe creates inittab labels based off the device node name of TTYs used as consoles. If those names exceed the 4 character label limit of inittab, it will break. This change takes the last 4 chars of the device names in order to avoid any errors. [ YOCTO #9529 ] Signed-off-by: Steph

Re: [OE-core] [PATCH v2 1/3] bmap-tools: initial commit, version 3.2

2016-04-28 Thread Alexander Kanevskiy
On Wed, Apr 27, 2016 at 12:36 PM, Ed Bartosh wrote: > Bmap-tools - tools to generate block map (AKA bmap) and flash images > using bmap. Bmaptool is a generic tool for creating the block map > (bmap) for a file and copying files using the block map. > > The idea is that large file containing unus

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-28 Thread Andreas Müller
On Tue, Apr 19, 2016 at 4:54 PM, Richard Purdie wrote: > On Tue, 2016-04-19 at 16:11 +0200, Andreas Müller wrote: >> thanks a lot for your efforts. Do I understand this right: You >> suggest >> to use build sysroot (on my own risk - as I did before) and make gdb >> happy by linking sources? >> >>

[OE-core] [PATCH] toolchain-scripts: replace source built-in call

2016-04-28 Thread Stephano Cetola
Some shells (e.g. dash) do not support the source built-in. This replaces it with the dot operator. [ YOCTO #9535 ] Signed-off-by: Stephano Cetola --- meta/classes/toolchain-scripts.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/toolchain-scripts.bb

[OE-core] [PATCH] Allow different filesystems to be used for VM images.

2016-04-28 Thread Ian Reinhart Geiser
This allows for things like btrfs to be used vs just ext4. The default value of ext4 is kept so there is no functional change unless ROOTFS_TYPE is set in the inherting recipe. Signed-off-by: Ian Reinhart Geiser --- meta/classes/image-vm.bbclass | 13 +++-- 1 file changed, 7 insertions(+

[OE-core] [PATCH v2 1/8] orc: update to 0.4.25

2016-04-28 Thread Carlos Rafael Giani
This version fixes a bug in the build scripts that caused it to believe it is being built for Android if a "liblog.so" is found in the sysroot. Signed-off-by: Carlos Rafael Giani --- meta/recipes-devtools/orc/{orc_0.4.24.bb => orc_0.4.25.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OE-core] [PATCH v2 8/8] gstreamer1.0-rtsp-server: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 4 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.2.bb | 6 -- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.8.1.bb | 6 ++ 3 files changed, 10

[OE-core] [PATCH v2 5/8] gstreamer1.0-plugins-bad: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
0002-glplugin-glwindow-fix-memory-leak-of-navigation-thre.patch is a backport, and is no longer needed. configure-allow-to-disable-libssh2.patch got replaced by a patch that does the same thing but has been submitted. Vulkan is disabled for now since libxcb alone is not enough - the Vulkan header

[OE-core] [PATCH v2 6/8] gstreamer1.0-plugins-ugly: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc | 1 + ...er1.0-plugins-ugly_1.6.3.bb => gstreamer1.0-plugins-ugly_1.8.1.bb} | 4 ++-- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb| 4 3 files changed, 3 in

[OE-core] [PATCH v2 2/8] gstreamer1.0: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
The gst-inspect patch no longer applies, and according to upstream, is not needed. Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 2 ++ .../0001-Fix-crash-with-gst-inspect.patch | 28 -- ...gstreamer1.0_1.6.3.bb => gstrea

[OE-core] [PATCH v2 7/8] gstreamer1.0-libav: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- .../{gstreamer1.0-libav_1.6.3.bb => gstreamer1.0-libav_1.8.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.6.3.bb => gstreamer1.0-libav_1.8.1.bb} (87%) diff --git a/meta/r

[OE-core] [PATCH v2 3/8] gstreamer1.0-plugins-base: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Patches still apply and only needed their line numbers updated, with the exception of one backport from 1.7.1, which is no longer needed. Signed-off-by: Carlos Rafael Giani --- .../gstreamer/gstreamer1.0-plugins-base.inc| 1 + ...-don-t-hardcode-libtool-name-when-running.patch | 20 +-

[OE-core] [PATCH v2 4/8] gstreamer1.0-plugins-good: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- .../0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch | 6 +++--- ...1.0-plugins-good_1.6.3.bb => gstreamer1.0-plugins-good_1.8.1.bb} | 6 -- 2 files changed, 7 insertions(+), 5 deletions(-) mode change 100755 => 100644 meta/recipes-multi

Re: [OE-core] [meta-oe][PATCH v2 1/8] orc: update to 0.4.25

2016-04-28 Thread Carlos Rafael Giani
For some reason, these patches were sent with the meta-oe tag. Sorry for that. Resending. On 2016-04-28 20:25, Carlos Rafael Giani wrote: This version fixes a bug in the build scripts that caused it to believe it is being built for Android if a "liblog.so" is found in the sysroot. Signed-off-b

[OE-core] [meta-oe][PATCH v2 6/8] gstreamer1.0-plugins-ugly: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc | 1 + ...er1.0-plugins-ugly_1.6.3.bb => gstreamer1.0-plugins-ugly_1.8.1.bb} | 4 ++-- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb| 4 3 files changed, 3 in

[OE-core] [meta-oe][PATCH v2 5/8] gstreamer1.0-plugins-bad: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
0002-glplugin-glwindow-fix-memory-leak-of-navigation-thre.patch is a backport, and is no longer needed. configure-allow-to-disable-libssh2.patch got replaced by a patch that does the same thing but has been submitted. Vulkan is disabled for now since libxcb alone is not enough - the Vulkan header

[OE-core] [meta-oe][PATCH v2 2/8] gstreamer1.0: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
The gst-inspect patch no longer applies, and according to upstream, is not needed. Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 2 ++ .../0001-Fix-crash-with-gst-inspect.patch | 28 -- ...gstreamer1.0_1.6.3.bb => gstrea

[OE-core] [meta-oe][PATCH v2 1/8] orc: update to 0.4.25

2016-04-28 Thread Carlos Rafael Giani
This version fixes a bug in the build scripts that caused it to believe it is being built for Android if a "liblog.so" is found in the sysroot. Signed-off-by: Carlos Rafael Giani --- meta/recipes-devtools/orc/{orc_0.4.24.bb => orc_0.4.25.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OE-core] [meta-oe][PATCH v2 7/8] gstreamer1.0-libav: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- .../{gstreamer1.0-libav_1.6.3.bb => gstreamer1.0-libav_1.8.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.6.3.bb => gstreamer1.0-libav_1.8.1.bb} (87%) diff --git a/meta/r

[OE-core] [meta-oe][PATCH v2 3/8] gstreamer1.0-plugins-base: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Patches still apply and only needed their line numbers updated, with the exception of one backport from 1.7.1, which is no longer needed. Signed-off-by: Carlos Rafael Giani --- .../gstreamer/gstreamer1.0-plugins-base.inc| 1 + ...-don-t-hardcode-libtool-name-when-running.patch | 20 +-

[OE-core] [meta-oe][PATCH v2 4/8] gstreamer1.0-plugins-good: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- .../0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch | 6 +++--- ...1.0-plugins-good_1.6.3.bb => gstreamer1.0-plugins-good_1.8.1.bb} | 6 -- 2 files changed, 7 insertions(+), 5 deletions(-) mode change 100755 => 100644 meta/recipes-multi

[OE-core] [meta-oe][PATCH v2 8/8] gstreamer1.0-rtsp-server: upgrade to version 1.8.1

2016-04-28 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 4 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.2.bb | 6 -- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.8.1.bb | 6 ++ 3 files changed, 10

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Tom Rini
On Thu, Apr 28, 2016 at 07:01:34AM -0700, Khem Raj wrote: > On Thu, Apr 28, 2016 at 5:14 AM, Tom Rini wrote: > > On Thu, Apr 28, 2016 at 12:08:46AM -0700, Khem Raj wrote: > >> > >> > On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: > >> > > >> > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrot

[OE-core] [master][krogoth][PATCH 2/2] qemu: Security fix CVE-2016-2858

2016-04-28 Thread Armin Kuster
From: Armin Kuster Signed-off-by: Armin Kuster --- .../recipes-devtools/qemu/qemu/CVE-2016-2858.patch | 183 + ...ng_move_request_from_RngEgd_to_RngBackend.patch | 138 ...t_queue_cleanup_from_RngEgd_to_RngBackend.patch | 150 + ...move_the_u

[OE-core] [master][krogoth][PATCH 1/2] qemu: Security fix CVE-2016-2857

2016-04-28 Thread Armin Kuster
From: Armin Kuster Signed-off-by: Armin Kuster --- .../recipes-devtools/qemu/qemu/CVE-2016-2857.patch | 51 ++ meta/recipes-devtools/qemu/qemu_2.5.0.bb | 1 + 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-2857.patch

[OE-core] [PATCH] autotools: add default for CACHED_CONFIGUREVARS

2016-04-28 Thread Ross Burton
Ensure that this variable has a default value so that we don't get debug messages that the variable couldn't be expanded. Signed-off-by: Ross Burton --- meta/classes/autotools.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bb

Re: [OE-core] [PATCH 1/2] security_flags: turn potential string format security issues into an error

2016-04-28 Thread Khem Raj
> On Apr 28, 2016, at 9:39 AM, Richard Purdie > wrote: > > On Thu, 2016-04-28 at 09:35 -0700, Khem Raj wrote: >>> On Apr 28, 2016, at 9:22 AM, Richard Purdie < >>> richard.pur...@linuxfoundation.org> wrote: >>> >>> On Thu, 2016-04-28 at 08:58 -0700, Khem Raj wrote: > Can we use _remove o

Re: [OE-core] [PATCH 1/2] security_flags: turn potential string format security issues into an error

2016-04-28 Thread Richard Purdie
On Thu, 2016-04-28 at 09:35 -0700, Khem Raj wrote: > > On Apr 28, 2016, at 9:22 AM, Richard Purdie < > > richard.pur...@linuxfoundation.org> wrote: > > > > On Thu, 2016-04-28 at 08:58 -0700, Khem Raj wrote: > > > Can we use _remove operation instead of introducing a new > > > variable > > > and e

Re: [OE-core] [PATCH 1/2] security_flags: turn potential string format security issues into an error

2016-04-28 Thread Khem Raj
> On Apr 28, 2016, at 9:22 AM, Richard Purdie > wrote: > > On Thu, 2016-04-28 at 08:58 -0700, Khem Raj wrote: >>> On Apr 28, 2016, at 6:27 AM, Joshua Lock >>> wrote: >>> >>> -SECURITY_CFLAGS ?= "-fstack-protector-strong -pie -fpie >>> ${lcl_maybe_fortify}" >>> -SECURITY_NO_PIE_CFLAGS ?= "-fst

Re: [OE-core] [PATCH 1/2] security_flags: turn potential string format security issues into an error

2016-04-28 Thread Richard Purdie
On Thu, 2016-04-28 at 08:58 -0700, Khem Raj wrote: > > On Apr 28, 2016, at 6:27 AM, Joshua Lock > > wrote: > > > > -SECURITY_CFLAGS ?= "-fstack-protector-strong -pie -fpie > > ${lcl_maybe_fortify}" > > -SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-strong > > ${lcl_maybe_fortify}" > > +# Error on

Re: [OE-core] [PATCH 1/1] metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo

2016-04-28 Thread Christopher Larson
On Thu, Apr 28, 2016 at 7:34 AM, Peter Kjellerstedt < peter.kjellerst...@axis.com> wrote: > Yes, it was intentional. I mentioned this in the cover letter. I can of > course add something about it to the commit message as well if you like. > That's what a commit message is for, yes, to describe wh

Re: [OE-core] [PATCH 1/2] security_flags: turn potential string format security issues into an error

2016-04-28 Thread Khem Raj
> On Apr 28, 2016, at 6:27 AM, Joshua Lock wrote: > > -SECURITY_CFLAGS ?= "-fstack-protector-strong -pie -fpie ${lcl_maybe_fortify}" > -SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-strong ${lcl_maybe_fortify}" > +# Error on use of format strings that represent possible security problems > +SECUR

Re: [OE-core] [PATCH] common-licenses: Refresh to current SPDX license list

2016-04-28 Thread Flanagan, Elizabeth
On 28 April 2016 at 16:27, Peter Kjellerstedt wrote: >> -Original Message- >> From: openembedded-core-boun...@lists.openembedded.org >> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of >> Elizabeth Flanagan >> Sent: den 28 april 2016 14:49 >> To: openembedded-core@lis

Re: [OE-core] [PATCH] common-licenses: Refresh to current SPDX license list

2016-04-28 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > Elizabeth Flanagan > Sent: den 28 april 2016 14:49 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH] common-lice

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
> On Apr 28, 2016, at 8:19 AM, Mark Hatle wrote: > > On 4/28/16 2:10 AM, Khem Raj wrote: >> >>> On Apr 27, 2016, at 11:06 AM, Mark Hatle wrote: >>> >>> On 4/27/16 12:53 PM, Khem Raj wrote: thanks I think most of them come to these categories. So any help in fixing them is welcome. >

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Mark Hatle
On 4/28/16 2:10 AM, Khem Raj wrote: > >> On Apr 27, 2016, at 11:06 AM, Mark Hatle wrote: >> >> On 4/27/16 12:53 PM, Khem Raj wrote: >>> thanks I think most of them come to these categories. So any help in >>> fixing them is welcome. >>> >>> 1. kernel older than 4.4, backport needed fixed into the

Re: [OE-core] [PATCH 1/1] metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo

2016-04-28 Thread Peter Kjellerstedt
Yes, it was intentional. I mentioned this in the cover letter. I can of course add something about it to the commit message as well if you like. //Peter From: kerg...@gmail.com [mailto:kerg...@gmail.com] On Behalf Of Christopher Larson Sent: den 27 april 2016 22:27 To: Peter Kjellerstedt Cc: Pa

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
On Thu, Apr 28, 2016 at 5:14 AM, Tom Rini wrote: > On Thu, Apr 28, 2016 at 12:08:46AM -0700, Khem Raj wrote: >> >> > On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: >> > >> > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrote: >> >> thanks I think most of them come to these categories. So any

[OE-core] [PATCH 2/2] packagegroup-core-lsb: fix whitespace in meta-qt* warnings

2016-04-28 Thread Joshua Lock
Without these extra space characters the messages are ill-formatted, i.e: 'The meta-qt3 layer should be added, this layer provides Qt 3.xlibraries. Its intended use is for passing LSB tests as Qt3 isa requirement for LSB.' Changes to: 'The meta-qt3 layer should be added, this layer provides Qt 3.x

[OE-core] [PATCH 1/2] security_flags: turn potential string format security issues into an error

2016-04-28 Thread Joshua Lock
Add "-Wformat -Wformat-security -Werror=format-security" to the default SECURITY_CFLAGS to catch potential security vulnerabilities due to the misuse of various string formatting functions. These flags are widely used in distributions such as Fedora and Ubuntu, however we have 15 recipes in OE-Cor

[OE-core] [wic][PATCH v2 1/8] wic: use truncate utility to create sparse files

2016-04-28 Thread Ed Bartosh
Used truncate instead of dd to create wic images for the following reasons: - dd doesn't preserve sparseness - truncate syntax is much more clear - dd requires additional calculations of the image size in blocks - the way dd was used in the code is not always correct. In some cases it was

[OE-core] [wic][PATCH v2 6/8] wic: add sparse_copy API

2016-04-28 Thread Ed Bartosh
In order to make wic images sparse sparse_copy function has been copied from meta-ostro: https://github.com/kad/meta-ostro/blob/master/meta-ostro/lib/image-dsk.py This function uses filemap APIs to copy source sparse file into destination file preserving sparseness. The function has been modified

[OE-core] [wic][PATCH v2 0/8] make wic images sparse (#9099)

2016-04-28 Thread Ed Bartosh
Hi, This patchset is a preparation for bmaptool support for wic. Using bmaptool makes sense only if images are sparsed and this is what's implemented here. Nice side effect of this work is that making images sparse not only makes flashing faster. It also makes the process of assembling an image m

[OE-core] [wic][PATCH v2 5/8] wic: add FIEMAP and SEEK_HOLE / SEEK_DATA APIs

2016-04-28 Thread Ed Bartosh
In order to make wic images sparse set of APIs has been copied from bmap-tools project. filemap.py module is taken from bmap-tools project: https://github.com/01org/bmap-tools/blob/master/bmaptools/Filemap.py It implements two ways of get information about file block: FIEMAP ioctl and the 'SEEK_HO

[OE-core] [wic][PATCH v2 7/8] wic: use sparse_copy to copy partitions

2016-04-28 Thread Ed Bartosh
Copied partition images into final partitioned image using sparse_copy API. This method preserves sparseness of the final image. It also makes wic much faster, as unmapped blocks of the partition images are not copied. [YOCTO #9099] Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/partitione

[OE-core] [wic][PATCH v2 3/8] wic: get rid of fs_related.makedirs

2016-04-28 Thread Ed Bartosh
Removed fs_related.makedirs as is not used anywhere. The name is easy to confuse with os.makedirs. Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/fs_related.py | 14 -- 1 file changed, 14 deletions(-) diff --git a/scripts/lib/wic/utils/fs_related.py b/scripts/lib/wic/utils/fs_

[OE-core] [wic][PATCH v2 8/8] wic: use sparse_copy to preserve sparseness

2016-04-28 Thread Ed Bartosh
Used sparse_copy API in favor of dd/cp in rawcopy plugin to preserve sparseness of the copied raw content. [YOCTO #9099] Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/rawcopy.py | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/lib/wic/plugins/sou

[OE-core] [wic][PATCH v2 4/8] wic: moved DiskImage to direct.py

2016-04-28 Thread Ed Bartosh
Moved DiskImage class from utils/fs_related.py to imager/direct.py as it's only used there. Removed fs_related module as it doesn't contain anything except of DiskImage. Signed-off-by: Ed Bartosh --- scripts/lib/wic/imager/direct.py| 23 -- scripts/lib/wic/utils/fs_relat

[OE-core] [wic][PATCH v2 2/8] wic: get rid of inheritance Disk->DiskImage

2016-04-28 Thread Ed Bartosh
There is no need in this inheritance as DiskImage class is used only in one module and no other classes are inherited. Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/fs_related.py | 43 - 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/scri

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Tom Rini
On Thu, Apr 28, 2016 at 12:08:46AM -0700, Khem Raj wrote: > > > On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: > > > > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrote: > >> thanks I think most of them come to these categories. So any help in > >> fixing them is welcome. > >> > >> 1. kern

Re: [OE-core] [wic][PATCH 1/6] wic: use truncate utility to create sparse file

2016-04-28 Thread Ed Bartosh
Please, igrnore. I'll send updated patchset today. On Thu, Apr 28, 2016 at 10:14:52AM +0300, Ed Bartosh wrote: > Used truncate instead of dd to create wic image for the > following reasons: > - truncate syntax is much more clear > - dd requires additional calculations of the image size >in b

[OE-core] [wic][PATCH 4/6] wic: moved DiskImage to direct.py

2016-04-28 Thread Ed Bartosh
Moved DiskImage class from utils/fs_related.py to imager/direct.py as it's only used there. Removed fs_related module as it doesn't contain anything except of DiskImage. Signed-off-by: Ed Bartosh --- scripts/lib/wic/imager/direct.py| 23 -- scripts/lib/wic/utils/fs_relat

[OE-core] [wic][PATCH 1/6] wic: use truncate utility to create sparse file

2016-04-28 Thread Ed Bartosh
Used truncate instead of dd to create wic image for the following reasons: - truncate syntax is much more clear - dd requires additional calculations of the image size in blocks - the way dd was used in the code is not entirely correct. It was still writing one block to the file, which mad

[OE-core] [wic][PATCH 5/6] wic: add FIEMAP/SEEK_HOLE APIs from bmaptool

2016-04-28 Thread Ed Bartosh
In order to make wic images sparse additional set of APIs has been copied from bmap-tools and meta-ostro projects: The module filemap.py is taken from bmap-tools project: https://github.com/01org/bmap-tools/blob/master/bmaptools/Filemap.py It implements two ways of get information about file block

[OE-core] [wic][PATCH 6/6] wic: use sparse_copy to copy partitions

2016-04-28 Thread Ed Bartosh
Copied partition images into final partitioned image using sparse_copy API. This method preserves sparseness of the final image. It also makes wic much faster, as unmapped blocks of the partition images are not copied. [YOCTO #9099] Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/partitione

[OE-core] [wic][PATCH 3/6] wic: get rid of fs_related.makedirs

2016-04-28 Thread Ed Bartosh
Removed fs_related.makedirs as is not used anywhere. The name is easy to confuse with os.makedirs. Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/fs_related.py | 14 -- 1 file changed, 14 deletions(-) diff --git a/scripts/lib/wic/utils/fs_related.py b/scripts/lib/wic/utils/fs_

[OE-core] [wic][PATCH 2/6] wic: get rid of inheritance Disk->DiskImage

2016-04-28 Thread Ed Bartosh
There is no need in this inheritance as DiskImage class is used only in one module and no other classes are inherited. Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/fs_related.py | 43 - 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/scri

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
> On Apr 27, 2016, at 11:06 AM, Mark Hatle wrote: > > On 4/27/16 12:53 PM, Khem Raj wrote: >> thanks I think most of them come to these categories. So any help in >> fixing them is welcome. >> >> 1. kernel older than 4.4, backport needed fixed into these branches or >> move to newer kernels. >>

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
> On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: > > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrote: >> thanks I think most of them come to these categories. So any help in >> fixing them is welcome. >> >> 1. kernel older than 4.4, backport needed fixed into these branches or >> move to