Re: [OE-core] [PATCH] image_types.bbclass: Make ubi depend on ubifs

2014-11-05 Thread Bach, Pascal
> > > } > > > > +IMAGE_TYPEDEP_ubi = "ubifs" > > > > + > > > > > > 'ubifs' or 'ubifs-native'? > > > > IMAGE_TYPEDEP describes dependencies between image types. So in this > > case ubifs referred to IMAGE_CMD_ubifs > > I'm not aware that there is ubifs-native image type. > > -- > > Any chance this

Re: [OE-core] [PATCH] image_types.bbclass: Make ubi depend on ubifs

2014-11-05 Thread Bach, Pascal
> > > > } > > > +IMAGE_TYPEDEP_ubi = "ubifs" > > > + > > > > 'ubifs' or 'ubifs-native'? > > IMAGE_TYPEDEP describes dependencies between image types. So in this > case ubifs referred to IMAGE_CMD_ubifs > I'm not aware that there is ubifs-native image type. > -- Any chance this gets included? Pa

[OE-core] [oe-core][PATCH v2] ltp: update to 20140828 release

2014-11-05 Thread Fathi Boudra
bump SRCREV to 20140828 tag drop automake-foreign patch - fixed upstream (commit 18594de and edbae29) add add-know-for-tirpc patch - workaround ftbfs with libtirpc found update realtime tests fixes upstream status from submitted to backported - merged upstream Signed-off-by: Fathi Boudra --- ...

Re: [OE-core] struct.error: unpack requires a string argument of length 32 in Yocto

2014-11-05 Thread Laurentiu Palcu
Hi Wilder, On Tue, Nov 04, 2014 at 07:02:04PM +, Wilder wrote: > Hi Laurentiu > > > I am a student from Mexico, and we are using Yocto to build our images, > however there is a unique error that is bothering me while > trying to set up the environment to build an image with sdk, I am not so

Re: [OE-core] [PATCH] ltp: update to 20140828 release

2014-11-05 Thread Fathi Boudra
On 4 November 2014 17:54, Richard Purdie wrote: > On Tue, 2014-11-04 at 17:10 +0200, Fathi Boudra wrote: > > after a lot of finger-pointing and implying we don't test our changes > > or do our homework or do clean builds: > > * I've built ltp for armv7a and armv8 on our builders and it works > >

Re: [OE-core] runqemu + dhcp server

2014-11-05 Thread Adrian Freihofer
Hello Patrick Personally I would prefer a slightly different implementation. I consider the 192.168.7.2 network interface as development, debugging and testing interface which should just work. This interface has to be ignored by NetworkManager / connman and so on otherwise things like NFS root

Re: [OE-core] [PATCH] ltp: update to 20140828 release

2014-11-05 Thread Burton, Ross
Hi, On 5 November 2014 10:20, Fathi Boudra wrote: > It explains... the issue is triggered only if libtirpc is built before ltp. > It isn't the case when, on a clean build, you do only bitbake ltp or even > when you build core-image-minimal before ltp, without mentioning our > builders don't pull

Re: [OE-core] [PATCH 1/3] lsb 4.1: Deal with "make clean" breakage

2014-11-05 Thread Richard Purdie
On Tue, 2014-11-04 at 14:40 +0100, Koen Kooi wrote: > LSB can't cope with a "make clean" so disable that > newly enabled functionality. > > Signed-off-by: Koen Kooi > --- > meta/recipes-extended/lsb/lsb_4.1.bb | 6 ++ > 1 file changed, 6 insertions(+) In the interests of being clear and tra

[OE-core] Warning - INCOMPATIBLE_LICENSE regression affecting 1.7 (dizzy)

2014-11-05 Thread Paul Eggleton
Hi folks, Unfortunately we've recently discovered that a regression in INCOMPATIBLE_LICENSE behaviour has crept into the 1.7 release. We have a bug report covering the issue here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6930 The fix has been merged to the master and dizzy branches

[OE-core] [PATCH] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Sona Sarmadi
OpenSSL_1.0.1 SSLV3 POODLE VULNERABILITY (CVE-2014-3566) This patch is a backport from OpenSSL_1.0.1j. Signed-off-by: Sona Sarmadi --- .../openssl-1.0.1e/openssl-fix-CVE-2014-3566.patch | 502 + .../recipes-connectivity/openssl/openssl_1.0.1e.bb | 1 + 2 files changed, 503

Re: [OE-core] [PATCH] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Paul Eggleton
Hi Sona, On Wednesday 05 November 2014 13:23:13 Sona Sarmadi wrote: > OpenSSL_1.0.1 SSLV3 POODLE VULNERABILITY (CVE-2014-3566) > > This patch is a backport from OpenSSL_1.0.1j. > > Signed-off-by: Sona Sarmadi Just to be clear, this is for the dora branch right? Cheers, Paul -- Paul Eggleto

Re: [OE-core] [PATCH] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Burton, Ross
On 5 November 2014 12:23, Sona Sarmadi wrote: > OpenSSL_1.0.1 SSLV3 POODLE VULNERABILITY (CVE-2014-3566) > Clearly this isn't for master, so what branch is this intended for? If the patch is for something other than master, please put it in the subject ie [PATCH][dizzy]. Ross -- _

Re: [OE-core] [PATCH] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Sona Sarmadi
Hi Paul, > Just to be clear, this is for the dora branch right? > > Cheers, > Paul Yes, I send the patch as below, why does not the branch name come in the subject :( ? git send-email --to=openembedded-core@lists.openembedded.org --confirm=always --subject-prefix="dora][PATCH" 000* -- Son

Re: [OE-core] [PATCH] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Martin Jansa
On Wed, Nov 05, 2014 at 12:31:56PM +, Sona Sarmadi wrote: > Hi Paul, > > > > Just to be clear, this is for the dora branch right? > > > > Cheers, > > Paul > > Yes, I send the patch as below, why does not the branch name come in the > subject :( ? > > git send-email --to=openembedded-core

Re: [OE-core] [PATCH] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Sona Sarmadi
> > git send-email --to=openembedded-core@lists.openembedded.org > > --confirm=always --subject-prefix="dora][PATCH" 000* > > Because you're sending already generated files (000*), it works only when > you specify git revisions (e.g. -1 my_branch). > > Or you need to pass --subject-prefix when y

[OE-core] [PATCH v3] python-pygtk: Restore pkg-config support

2014-11-05 Thread Gary Thomas
This patch removes an old "fix" which is no longer required. A side effect is that the pkg-config control file (pygtk-2.0.pc) will be installed. This makes it possible to use this library with other tools. Note: the pygtk-2.0.pc also had a missing 'libdir' Signed-off-by: Gary Thomas --- .../py

Re: [OE-core] [PATCH v3] python-pygtk: Restore pkg-config support

2014-11-05 Thread Gary Thomas
On 2014-11-05 07:28, Gary Thomas wrote: This patch removes an old "fix" which is no longer required. A side effect is that the pkg-config control file (pygtk-2.0.pc) will be installed. This makes it possible to use this library with other tools. Note: the pygtk-2.0.pc also had a missing 'libdir

Re: [OE-core] [PATCH] u-boot: update to version 2014.07

2014-11-05 Thread Burton, Ross
On 14 September 2014 04:34, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > * Update U-boot and corresponding tools to version 2014.07 > * Small cleanups with indentation and consolidation of u-boot.inc > > Signed-off-by: Denys Dmytriyenko > So u-boot-mkimage is failing to build for the

[OE-core] [PATCH] python-pygtk: Clean up incorrect "fix"

2014-11-05 Thread Gary Thomas
This patch removes most of "dirty fix #1" which is no longer needed (no dependency on python-pygobject-dev exists). A side effect is that the pygtk code generator will also be installed. Merge 'fix-path.inc' into this recipe as it is not used by any other recipe. Signed-off-by: Gary Thomas ---

Re: [OE-core] [PATCH] u-boot: update to version 2014.07

2014-11-05 Thread Burton, Ross
On 5 November 2014 14:56, Burton, Ross wrote: > | scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: word > unexpected (expecting ")") > The autobuilder failed with a more obvious error (and also has more logs available if required): | /bin/sh: scripts/basic/fixdep: /opt/poky/1.7/sysr

Re: [OE-core] runqemu + dhcp server

2014-11-05 Thread Burton, Ross
Hi Patrick, On 4 November 2014 08:09, Patrick Ohly wrote: > Recently I built a custom image which depended on a DHCP server to > configure Ethernet. runqemu with tap for networking doesn't provide one > at the moment, so ssh logins did not work. > > Instead of customizing images for runqemu, I t

Re: [OE-core] [PATCH v5] image-buildinfo.bbclass: New class, writes

2014-11-05 Thread Paul Eggleton
Hi Alejandro, We're getting there, thanks for your patience - just a few more tweaks: On Tuesday 04 November 2014 12:09:13 Alejandro Hernandez wrote: > build information to target filesystem on /etc/build Looks like the shortlog has been split over two lines here... > such as enabled layers, th

Re: [OE-core] [PATCH v5] image-buildinfo.bbclass: New class, writes

2014-11-05 Thread Alejandro Hernandez
Ok, Paul , Imy main reason to list those two was to put an example of "list" variables, but with that fix you mention, it won't be needed anymore, I agree and I'll rename outputvars and I will move squashspaces to oe.utils. On 05/11/14 12:00, Paul Eggleton wrote: Hi Alejandro, We're getting

[OE-core] [PATCH] base: Make PRINC warning an error

2014-11-05 Thread Richard Purdie
Apparently 1.5 years of warnings isn't enough to get anyone to take any notice. We therefore make this an error so people can ignore it for another 6 months whereafter we can finally give up and remove the obsolete code. Signed-off-by: Richard Purdie diff --git a/meta/classes/base.bbclass b/meta

[OE-core] [PATCH] package/prserv: Merge two similar functions into one

2014-11-05 Thread Richard Purdie
Having these two separate functions handling PR values seems pointless, and worse, there are impossible code branches mixed within them. Merge them into one function and tweak comments so at least you don't have to read both functions to figure out what is going on. This does restructure the cond

[OE-core] [PATCH] base: Improve makefile clean handling, introduce CLEANBROKEN variable

2014-11-05 Thread Richard Purdie
It turns out we have quite a number of Makefiles out there without a clean target. Rather than have all cases code an empty do_configure, add a CLEANBROKEN variable which when set to "1" will disable the attempt to "make clean". This patch also adjusts various recipes which either have this proble

[OE-core] [PATCH] perl: Enable rebuilds to account for configuration changes

2014-11-05 Thread Richard Purdie
If configure/compile was rerun for perl, changes such as libdir changes were not being picked up. To fix this we we add "make clean" functionality, if the makefile is present. We also in this case need to delete the .so file, else some perl modules try and load the target arch libraries leading to

Re: [OE-core] [PATCH] base: Make PRINC warning an error

2014-11-05 Thread Mark Hatle
On 11/5/14, 12:43 PM, Richard Purdie wrote: Apparently 1.5 years of warnings isn't enough to get anyone to take any notice. We therefore make this an error so people can ignore it for another 6 months whereafter we can finally give up and remove the obsolete code. Signed-off-by: Richard Purdie

[OE-core] [PATCH v6] image-buildinfo.bbclass: New class, writes

2014-11-05 Thread Alejandro Hernandez
build information to target filesystem on /etc/build such as enabled layers, their current status and commit squashspaces was moved to oe/utils.py to make it available to different classes and avoid code duplication. [YOCTO #6770] Signed-off-by: Alejandro Hernandez --- meta/classes/buildhist

[OE-core] [PATCH] buildtools-tarball: package all of Python

2014-11-05 Thread Ross Burton
Instead of cherry-picking pieces of Python to put into the buildtools tarball, ship all of it. We can't predict what bits of Python will be needed in the future. Signed-off-by: Ross Burton --- meta/recipes-core/meta/buildtools-tarball.bb | 25 + 1 file changed, 1 inser

[OE-core] [for-daisy] Pseudo backport breaks build in some hosts

2014-11-05 Thread Otavio Salvador
Hello, In clean hosts the pseudo build is broken. It seems to be lacking the attr dependency which has been added during the Dizzy development cycle but not included when doing the backport for Daisy; I suspect it has not been detected in Yocto Project AB because it should have attr headers availa

[OE-core] [PATCH 2/3] default-providers.inc: define VIRTUAL-RUNTIME_getopt

2014-11-05 Thread Ben Shelton
From: Richard Tollerton getopt can be provided by either util-linux or busybox. Allow the distro to control which implementation is used, and default it to util-linux. Signed-off-by: Richard Tollerton Acked-by: Ken Sharp Acked-by: Ben Shelton --- meta/conf/distro/include/default-providers.in

[OE-core] [PATCH 1/3] util-linux: break out util-linux-getopt

2014-11-05 Thread Ben Shelton
From: Richard Tollerton The getopt binary itself is only a few kb, while the util-linux package is much larger. The lsb package is very small and depends only on getopt. Break it out into util-linux-getopt in order to reduce the disk requirements of lsb on systems that don't otherwise bring in ut

[OE-core] [PATCH 3/3] lsb: update RDEPENDS for broken-out util-linux-getopt

2014-11-05 Thread Ben Shelton
From: Richard Tollerton lsb currently depends on util-linux solely for getopt, but that has now been broken out into util-linux-getopt. Update RDEPENDS accordingly. Signed-off-by: Richard Tollerton Acked-by: Ken Sharp Acked-by: Ben Shelton --- meta/recipes-extended/lsb/lsb_4.1.bb | 2 +- 1 f

[OE-core] [PATCH] populate_sdk_base: improve POSIXLY_CORRECT compat

2014-11-05 Thread Ben Shelton
From: Richard Tollerton The install script is sometimes called under POSIXLY_CORRECT. This requires two fixes be made: 1. `find -perm /` is a gnuism; replace with an equivalent boolean expression using `-perm -`. 2. POSIX grep requires that all options be passed on the command line befo

Re: [OE-core] python 3.4.2 patch

2014-11-05 Thread Artur Wroblewski
On Tue, Nov 4, 2014 at 3:56 PM, Saul Wold wrote: > On 11/03/2014 03:51 PM, Artur Wroblewski wrote: >> >> Hi, >> >> As advised at >> >> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6857 >> >> I am attaching a patch to replace Python 3.3.x with Python 3.4.2. This >> also >> fixes issue wit

Re: [OE-core] [for-daisy] Pseudo backport breaks build in some hosts

2014-11-05 Thread Saul Wold
On 11/05/2014 12:34 PM, Otavio Salvador wrote: Hello, In clean hosts the pseudo build is broken. It seems to be lacking the attr dependency which has been added during the Dizzy development cycle but not included when doing the backport for Daisy; I suspect it has not been detected in Yocto Proj

[OE-core] [PATCH 1/1] busybox: add the dropped patches back

2014-11-05 Thread rongqing.li
From: "Roy.Li" busybox-cross-menuconfig.patch and busybox-install-ping6-to-usr-bin.patch were dropped when uprev, add them back. no busybox-cross-menuconfig.patch, "bitbake -c menuconfig busybox" did not work. Signed-off-by: Roy.Li --- .../{busybox-1.21.1 => busybox-1.22.1}/busybox-cross-menu

[OE-core] [PATCH 0/5][daisy] Additional patches and CVE issues

2014-11-05 Thread Saul Wold
Richard, Here are 5 more late breaking 1.6.2 patches for CVE that Paul and I have identified. Thanks Sau! Paul Eggleton (3): python: force off_t size to 8 to enable large file support openssh: avoid screen sessions being killed on disconnect with systemd libarchive: avoid depende

[OE-core] [PATCH 5/5] readline: Patch for readline multikey dispatch issue

2014-11-05 Thread Saul Wold
Signed-off-by: Saul Wold --- .../readline-6.3/readline-dispatch-multikey.patch | 32 ++ meta/recipes-core/readline/readline_6.3.bb | 3 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/readline/readline-6.3/readline-dispatch-

[OE-core] [PATCH 2/5] openssh: avoid screen sessions being killed on disconnect with systemd

2014-11-05 Thread Saul Wold
From: Paul Eggleton Tell systemd just to kill the sshd process when the ssh connection drops instead of the entire cgroup for sshd, so that any screen sessions (and more to the point, processes within them) do not get killed. (This is what the Fedora sshd service file does, and what we're alread

[OE-core] [PATCH 1/5] python: force off_t size to 8 to enable large file support

2014-11-05 Thread Saul Wold
From: Paul Eggleton If DISTRO_FEATURES contains "largefile", force the size of off_t to 8 as a workaround for having ac_cv_sizeof_off_t=4 on 32-bit systems. In future we will likely drop the value from the site file, but for now this is a slightly safer fix. Fixes [YOCTO #6813]. (From OE-Core m

[OE-core] [PATCH 4/5] wget: Fix for CVE-2014-4887

2014-11-05 Thread Saul Wold
Signed-off-by: Saul Wold --- .../wget/wget-1.14/wget_cve-2014-4877.patch| 78 ++ meta/recipes-extended/wget/wget_1.14.bb| 1 + 2 files changed, 79 insertions(+) create mode 100644 meta/recipes-extended/wget/wget-1.14/wget_cve-2014-4877.patch diff --git

[OE-core] [PATCH 3/5] libarchive: avoid dependency on e2fsprogs

2014-11-05 Thread Saul Wold
From: Paul Eggleton libarchive's configure script looks for ext2fs/ext2_fs.h in order to use some defines for file attributes support if present (but doesn't link to any additional libraries.) There is no configure option to disable this, and if e2fsprogs is rebuilding between do_configure and do

[OE-core] [PATCH] perl: set the perl libraries search path

2014-11-05 Thread jackie.huang
From: Jackie Huang The default value for this is ../../lib which ends up with something like: | ./sysroots/x86_64-linux/usr/bin/perl-native/perl5.20.0.real \ | "-I../../lib" "-I../../lib" "-MExtUtils::Command::MM" -e pod2man \ | "--" --section=0 --perm_rw=644 perldoc.pod blib/man1/perldoc.1 in t

Re: [OE-core] [PATCH 1/1] busybox: add the dropped patches back

2014-11-05 Thread Rongqing Li
please drop it, thanks -Roy On Thursday, November 06, 2014 12:34 PM, rongqing...@windriver.com wrote: From: "Roy.Li" busybox-cross-menuconfig.patch and busybox-install-ping6-to-usr-bin.patch were dropped when uprev, add them back. no busybox-cross-menuconfig.patch, "bitbake -c menuconfig bus

[OE-core] [dora][PATCH 1/4] openssl: Fix for CVE-2014-3566

2014-11-05 Thread Sona Sarmadi
OpenSSL_1.0.1 SSLV3 POODLE VULNERABILITY (CVE-2014-3566) This patch is a backport from OpenSSL_1.0.1j. Signed-off-by: Sona Sarmadi --- .../openssl-1.0.1e/openssl-fix-CVE-2014-3566.patch | 502 + .../recipes-connectivity/openssl/openssl_1.0.1e.bb | 1 + 2 files changed, 503

[OE-core] [dora][PATCH 2/4] openssl: Fix for CVE-2014-3513

2014-11-05 Thread Sona Sarmadi
Fix for SRTP Memory Leak This patch is a backport from OpenSSL_1.0.1j. Signed-off-by: Sona Sarmadi --- .../openssl-1.0.1e/openssl-fix-CVE-2014-3513.patch | 211 + .../recipes-connectivity/openssl/openssl_1.0.1e.bb | 1 + 2 files changed, 212 insertions(+) create mode 1006

[OE-core] [dora][PATCH 3/4] openssl: Fix for CVE-2014-3567

2014-11-05 Thread Sona Sarmadi
Fix for session tickets memory leak. This patch is a backport from OpenSSL_1.0.1j. Signed-off-by: Sona Sarmadi --- .../openssl-1.0.1e/openssl-fix-CVE-2014-3567.patch | 32 ++ .../recipes-connectivity/openssl/openssl_1.0.1e.bb | 1 + 2 files changed, 33 insertions(+) create

[OE-core] [dora][PATCH 4/4] openssl: Fix for CVE-2014-3568

2014-11-05 Thread Sona Sarmadi
Fix for no-ssl3 configuration option This patch is a backport from OpenSSL_1.0.1j. Signed-off-by: Sona Sarmadi --- .../openssl-1.0.1e/openssl-fix-CVE-2014-3568.patch | 99 ++ .../recipes-connectivity/openssl/openssl_1.0.1e.bb | 1 + 2 files changed, 100 insertions(+) creat

[OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-05 Thread Chen Qi
In systemd, /etc/sysctl.conf is actually ignored by systemd-sysctl, because this command only examine *.conf files under a bunch of directories like /etc/sysctl.d or /usr/lib/sysctl.d. The problem is we are used to configuring kernel parameters in /etc/sysctl.conf, so it would be really strange if

[OE-core] [PATCH 0/1] systemd: make /etc/sysctl.conf have real effect

2014-11-05 Thread Chen Qi
The following changes since commit d7a277b35bcc67050046c76fb70412101679a545: docbook-xsl-stylesheets: add perl to RDEPENDS (2014-11-04 10:20:34 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-sysctl http://cgit.openembedde

[OE-core] [PATCH] gptfdisk: add 0.8.10+git version

2014-11-05 Thread Koen Kooi
Besides from being useful as fdisk replacement this gives us 'sgdisk' which can be used to set the GUID for partitions, e.g. sgdisk -t 1:C12A7328-F81F-11D2-BA4B-00A0C93EC93B /dev/mmcblk0p1 To mark it as ESP in scripts like mkefidisk.sh. Signed-off-by: Koen Kooi --- meta/recipes-devtool

Re: [OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-05 Thread Koen Kooi
Op 6 nov. 2014, om 08:32 heeft Chen Qi het volgende geschreven: > In systemd, /etc/sysctl.conf is actually ignored by systemd-sysctl, > because this command only examine *.conf files under a bunch of directories > like /etc/sysctl.d or /usr/lib/sysctl.d. > > The problem is we are used to confi

[OE-core] [PATCH 0/1] nss: CVE-2014-1568

2014-11-05 Thread Chong Lu
The following changes since commit 0add8abc12b850e38a6ec7dcf2856fab2c0107b6: buildtools-tarball: package all of Python (2014-11-05 23:30:49 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib chonglu/nss http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=

[OE-core] [PATCH 1/1] nss: CVE-2014-1568

2014-11-05 Thread Chong Lu
the patch comes from: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-1568 https://bugzilla.mozilla.org/show_bug.cgi?id=1064636 nss ng log: = changeset: 11252:ad411fb64046 user:Kai Engert date:Tue Sep 23 19:28:34 2014 +0200 summary: Fix bug 1064636, patch part 2,

Re: [OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-05 Thread ChenQi
On 11/06/2014 03:48 PM, Koen Kooi wrote: Op 6 nov. 2014, om 08:32 heeft Chen Qi het volgende geschreven: In systemd, /etc/sysctl.conf is actually ignored by systemd-sysctl, because this command only examine *.conf files under a bunch of directories like /etc/sysctl.d or /usr/lib/sysctl.d. Th