[OE-core] [PATCH V2 3/3] useradd-example: add example for setting clear text password

2013-12-10 Thread Qi.Chen
From: Chen Qi Use '-P' option for user3 to set a clear text password. This is supposed to serve as an example of how to set clear text password in recipes. Signed-off-by: Chen Qi --- .../recipes-skeleton/useradd/useradd-example.bb|3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[OE-core] [PATCH V2 0/3] Add ability to set clear text password and fix zap_root_password

2013-12-10 Thread Qi.Chen
From: Chen Qi Changes since V1: Modify the code of zap_root_password and rename the function to zap_empty_root_password to better reflect it's original intent. The following changes since commit 853f5db48f4cfcb34345938b583874fe5b6fc678: nativesdk.bbclass: support nativesdk to override with

[OE-core] [PATCH V2 1/3] shadow-native: allow for setting password in clear text

2013-12-10 Thread Qi.Chen
From: Chen Qi Allow user to set password in clear text. This is convenient when we're building out an image. This feature is mainly used by useradd.bbclass and extrausers.bbclass. This patch adds a new option '-P' to useradd, usermod, groupadd and groupmod commands provided by shadow-native. Th

[OE-core] [PATCH V2 2/3] image.bbclass: fix for zap_root_password

2013-12-10 Thread Qi.Chen
From: Chen Qi Previously, this function replaces the root password with '*' if 'debug-tweaks' is not in IMAGE_FEATURES. It not only zaps empty root password, but also zaps non-empty root password. That means, if the user uses a bbappend file for base-passwd to set the root password, he would not

Re: [OE-core] [PATCH 000/124] [dora] fixes for dora (cover leter only)

2013-12-10 Thread Robert Yang
On 12/11/2013 08:52 AM, Khem Raj wrote: On Tue, Dec 10, 2013 at 10:03 AM, Paul Eggleton wrote: Bruce Ashfield (10): kernel: restore scripts in the sysroot Wasn't there a problem with this patch? I can't recall if it was rectified before or after it was merged to master. Problem is e

Re: [OE-core] [PATCH 2/3] image.bbclass: remove zap_root_password

2013-12-10 Thread ChenQi
On 12/10/2013 11:36 PM, Mark Hatle wrote: On 12/10/13, 6:15 AM, Paul Eggleton wrote: Hi Qi, On Tuesday 10 December 2013 17:58:51 qi.c...@windriver.com wrote: From: Chen Qi This function replaces the root password with '*' if 'debug-tweaks' is not in IMAGE_FEATURES. As a result, if we don't h

Re: [OE-core] [PATCH 000/124] [dora] fixes for dora (cover leter only)

2013-12-10 Thread Robert Yang
On 12/11/2013 10:28 AM, Saul Wold wrote: On 12/10/2013 07:08 AM, Robert Yang wrote: * Main changes: - Wic fixes - Update the kernel to 3.10.17 - CVE fixes - Other Bug fixes Note: The PULL is created based on poky, maybe oe-core is preferred ? As Paul already pointed out this sh

Re: [OE-core] [PATCH 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-10 Thread ChenQi
On 12/10/2013 07:40 PM, Burton, Ross wrote: On 10 December 2013 11:37, Richard Purdie wrote: I thought it would do no harm. And I will send this patch to upstream, so it might be a little strange that I only modify the Makefile.am file even if Makefile.in has the same problem. It can actually

Re: [OE-core] [PATCH 000/124] [dora] fixes for dora (cover leter only)

2013-12-10 Thread Saul Wold
On 12/10/2013 07:08 AM, Robert Yang wrote: * Main changes: - Wic fixes - Update the kernel to 3.10.17 - CVE fixes - Other Bug fixes Note: The PULL is created based on poky, maybe oe-core is preferred ? As Paul already pointed out this should be oe-core based if possible. I starte

Re: [OE-core] [PATCH] json-glib: enable ptest

2013-12-10 Thread Saul Wold
Found this in my backlog queue, it does not apply to master currently, please verify it and resend. Thanks Sau! On 11/21/2013 10:07 AM, Ross Burton wrote: Use a patch from upstream to install the test suite and add the minimal logic to integrate it with ptest. Signed-off-by: Ross B

Re: [OE-core] [V3 1/2] bluez4: Install the test script

2013-12-10 Thread Saul Wold
On 11/19/2013 01:18 AM, hongbo zhong wrote: From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- .../bluez/bluez4-4.101/install-test-script.patch | 26 meta/recipes-connectivity/bluez/bluez4_4.101.bb|6 - 2 files changed, 31 insertions(+), 1 deletion(-)

Re: [OE-core] [PATCH 1/1] lsb: update directory of install_initd and remove_initd

2013-12-10 Thread Kang Kai
On 2013年12月11日 03:40, Saul Wold wrote: > On 11/13/2013 12:27 AM, Kai Kang wrote: >> According to LSB specification: >> >> http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/installinitd.html >> >> http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-g

Re: [OE-core] [PATCH 000/124] [dora] fixes for dora (cover leter only)

2013-12-10 Thread Khem Raj
On Tue, Dec 10, 2013 at 10:03 AM, Paul Eggleton wrote: > >> Bruce Ashfield (10): >> kernel: restore scripts in the sysroot > > Wasn't there a problem with this patch? I can't recall if it was rectified > before or after it was merged to master. > Problem is elsewhere, there was more of document

Re: [OE-core] [PATCH 1/1] lsb: update directory of install_initd and remove_initd

2013-12-10 Thread Saul Wold
On 11/13/2013 12:27 AM, Kai Kang wrote: According to LSB specification: http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/installinitd.html http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/removeinitd.html commands install_initd and r

[OE-core] [PATCH] insane: handle recursive configures when checking for unknown configure options

2013-12-10 Thread Ross Burton
Some recipes have configure scripts that recursively call other configure scripts (e.g. dropbear). These multiple-line matches were not being handled correctly, so iterate over every matching line instead of assuming only one line was found. [ YOCTO #5646 ] Signed-off-by: Ross Burton --- meta/

[OE-core] [PATCH 3/3] cracklib: upgrade to 2.9.1

2013-12-10 Thread Saul Wold
Signed-off-by: Saul Wold --- .../cracklib/{cracklib_2.9.0.bb => cracklib_2.9.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/cracklib/{cracklib_2.9.0.bb => cracklib_2.9.1.bb} (84%) diff --git a/meta/recipes-extended/cracklib/cracklib

[OE-core] [PATCH 0/3] Package Updates

2013-12-10 Thread Saul Wold
Did a build with debian packaging and tested dpkg lightly on the target. Sau! The following changes since commit 315367ea9526186d5836c64867ce0cd40d9d8412: nativesdk.bbclass: support nativesdk to override with the PACKAGES_DYNAMIC statement (2013-12-09 21:36:30 +) are available in the git

[OE-core] [PATCH 1/3] util-macros: upgrade to 1.18.0

2013-12-10 Thread Saul Wold
Signed-off-by: Saul Wold --- .../xorg-util/{util-macros_1.17.1.bb => util-macros_1.18.0.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-util/{util-macros_1.17.1.bb => util-macros_1.18.0.bb} (75%) diff --git a/meta/recipes-graphics/xorg-uti

[OE-core] [PATCH 2/3] dpkg: upgrade to 1.17.4

2013-12-10 Thread Saul Wold
Signed-off-by: Saul Wold --- meta/recipes-devtools/dpkg/{dpkg_1.17.1.bb => dpkg_1.17.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/dpkg/{dpkg_1.17.1.bb => dpkg_1.17.4.bb} (75%) diff --git a/meta/recipes-devtools/dpkg/dpkg_1.17.1.bb b/meta/recipes-

Re: [OE-core] Can OE build it's own make?

2013-12-10 Thread Ulf Samuelsson
You need to do a number of things anyway to prepare a machine for building openembedded. I have a git repository containing a script which will install all the packages I want to have on my machine. It will also build new versions of some applications. When I install a new Ubuntu machine, i man

[OE-core] [RFC PATCH 2/2] useradd.bbclass: Add ability to select a static uid/gid automatically

2013-12-10 Thread Mark Hatle
[YOCTO #5436] Automatic selection of static uid/gid is needed for a dynamically generated passwd and group file to have a deterministic outcome. When a package is installed and instructs the system to add a new user or group, unless it selects a static uid/gid value, the next available uid/gid wi

[OE-core] [RFC PATCH 1/2] useradd.bbclass: Fix build time install issues

2013-12-10 Thread Mark Hatle
When the system attempts to populate the sysroot's passwd/group files, it does so in a single block. However, with the way it was previously implemented, the system would always run through the code necessary to populate the sysroot, even in the case of target packages. This had the side effect t

[OE-core] [RFC PATCH 0/2] RFC: Implement deterministic uid/gid

2013-12-10 Thread Mark Hatle
The following series implements the deterministic uid/gid setting for a distribution. Currently when a filesystem is generated the uid/gid values are generally set at install time, so the install order determines what the actual uid/gid values become. In order to create a deterministic uid/gid se

Re: [OE-core] [PATCH] psplash: add support for systems without mmap support.

2013-12-10 Thread Yevhen Kyriukha
2013/12/10 Burton, Ross : > Surely if your system has a broken mmap() you've got far bigger > problems than the splash screen not working? I'm using Intel Cedartrail platform where mmap is not working properly with framebuffer. It's a framebuffer driver problem and such problem may be present on o

Re: [OE-core] [PATCH 000/124] [dora] fixes for dora (cover leter only)

2013-12-10 Thread Paul Eggleton
On Tuesday 10 December 2013 10:08:10 Robert Yang wrote: > * Main changes: > - Wic fixes > - Update the kernel to 3.10.17 > - CVE fixes > - Other Bug fixes > > Note: > The PULL is created based on poky, maybe oe-core is preferred ? OE-Core is preferred for the OE-Core parts, yes. I haven'

Re: [OE-core] [PATCH] psplash: add support for systems without mmap support.

2013-12-10 Thread Burton, Ross
Surely if your system has a broken mmap() you've got far bigger problems than the splash screen not working? Also, we're upstream for this so instead of patching the recipe, file a bug with a patch for psplash itself. Ross ___ Openembedded-core mailing

Re: [OE-core] Can OE build it's own make?

2013-12-10 Thread Burton, Ross
On 10 December 2013 17:16, Mats Kärrman wrote: > On: Tuesday, December 10, 2013 5:41 PM, Burton, Ross wrote: >> "bitbake make-native" should be sufficient instructions to build a >> replacement make. > > Ouch, that was simple. > Unfortunately the consistently failing build doesn't feel like failin

[OE-core] [PATCH] psplash: add support for systems without mmap support.

2013-12-10 Thread Yevhen Kyriukha
Signed-off-by: Yevhen Kyriukha --- ...-support-for-systems-without-mmap-support.patch | 133 + meta/recipes-core/psplash/psplash_git.bb | 3 +- 2 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/psplash/files/0001-Add-support-f

Re: [OE-core] Can OE build it's own make?

2013-12-10 Thread Mats Kärrman
On: Tuesday, December 10, 2013 5:41 PM, Burton, Ross wrote: > "bitbake make-native" should be sufficient instructions to build a > replacement make. Ouch, that was simple. Unfortunately the consistently failing build doesn't feel like failing right now so I can't verify that it works. Assuming th

[OE-core] [PATCHv2] ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script

2013-12-10 Thread Martin Jansa
* ltp installs 2 different runtests_noltp.sh files from different directories into /opt/ltp/testcases/bin/runtests_noltp.sh last one installed wins and causes unexpected changes in buildhistory's files-in-image.txt report, rename them to have unique name as other ltp scripts have. * also d

Re: [OE-core] Can OE build it's own make?

2013-12-10 Thread Burton, Ross
On 10 December 2013 16:36, Mats Kärrman wrote: > It would be nice, however, if I didn't have to write detailed instructions > for everyone on how to patch > their machines in order to get their builds to work. Is it possible that OE > could build it's own make > to use the same way it compiles a

[OE-core] Can OE build it's own make?

2013-12-10 Thread Mats Kärrman
Hi, I have run into problems with make. Most things works fine with make v3.81 but when building a kernel recipe (meta-fsl-arm linux-imx-3.10.9) I consistently get: make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4! To solve this I "manually" upgraded make on my machine to

Re: [OE-core] [PATCH] ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script

2013-12-10 Thread Martin Jansa
On Tue, Dec 10, 2013 at 07:41:22AM -0800, Saul Wold wrote: > On 12/07/2013 09:49 AM, Martin Jansa wrote: > > * ltp installs 2 different runtests_noltp.sh files from different > >directories into /opt/ltp/testcases/bin/runtests_noltp.sh > >last one installed wins and causes unexpected change

Re: [OE-core] [PATCH 2/3] image.bbclass: remove zap_root_password

2013-12-10 Thread Mark Hatle
On 12/10/13, 6:15 AM, Paul Eggleton wrote: Hi Qi, On Tuesday 10 December 2013 17:58:51 qi.c...@windriver.com wrote: From: Chen Qi This function replaces the root password with '*' if 'debug-tweaks' is not in IMAGE_FEATURES. As a result, if we don't have 'debug-tweaks', we would be locked out

Re: [OE-core] [PATCH] ltp: set PREFERRED_PROVIDER and rename runtests_noltp.sh script

2013-12-10 Thread Saul Wold
On 12/07/2013 09:49 AM, Martin Jansa wrote: * ltp installs 2 different runtests_noltp.sh files from different directories into /opt/ltp/testcases/bin/runtests_noltp.sh last one installed wins and causes unexpected changes in buildhistory's files-in-image.txt report, rename them to have

Re: [OE-core] Figuring out why sstate-cache is no longer used for a package

2013-12-10 Thread Chris Larson
On Tue, Dec 10, 2013 at 7:32 AM, Martin Jansa wrote: > On Tue, Dec 10, 2013 at 07:44:49AM +0100, Mike Looijmans wrote: > > I've been struggling with this for a few days. > > > > We have a build server that build various images overnight. One of the > > packages in that image is "fpga-image", which

Re: [OE-core] [PATCH 0/1] linux-yocto: static -dev SRCREVs and -headers for klibc

2013-12-10 Thread Bruce Ashfield
On Tue, Dec 10, 2013 at 10:16 AM, Bruce Ashfield wrote: > Richard/Saul, > > Here are a couple of changes that I've been testing locally for a week now, > with nothing (obvious) breaking. > > The linux-yocto-dev kernel change is to allow integration into master under > test, so our dev kernels can

[OE-core] [PATCH 000/124] [dora] fixes for dora (cover leter only)

2013-12-10 Thread Robert Yang
* Main changes: - Wic fixes - Update the kernel to 3.10.17 - CVE fixes - Other Bug fixes Note: The PULL is created based on poky, maybe oe-core is preferred ? // Robert The following changes since commit 53d2563ff13fcec74d4250bef5419e36169e55cc: bitbake: perforce: Fix path subdirector

[OE-core] [PATCH 1/1] linux-libc-headers: fix MIPS klibc build error

2013-12-10 Thread Bruce Ashfield
As reported by Andrea Adami, klibc fails to build for MIPS with the 3.10 libc-headers commit ca044f9a [UAPI: fix endianness conditionals in linux/raid/md_p.h] is the root cause of the breakage. This is fixed in the kernel source itself, but we must also carry the change in the linux-libc-header

[OE-core] [PATCH 0/1] linux-yocto: static -dev SRCREVs and -headers for klibc

2013-12-10 Thread Bruce Ashfield
Richard/Saul, Here are a couple of changes that I've been testing locally for a week now, with nothing (obvious) breaking. The linux-yocto-dev kernel change is to allow integration into master under test, so our dev kernels can be exercised directly before they become the kernel for a release. Wi

Re: [OE-core] bash-completion

2013-12-10 Thread Martin Jansa
On Tue, Dec 10, 2013 at 09:37:14AM +, Matthieu CRAPET wrote: > Hi, > > What's the status of this ? Is bash-completion recipe available somewhere? I don't know about any change since my question. Are you talking about bash-completion definition for bitbake, right? I wasn't asking about recip

Re: [OE-core] Figuring out why sstate-cache is no longer used for a package

2013-12-10 Thread Martin Jansa
On Tue, Dec 10, 2013 at 07:44:49AM +0100, Mike Looijmans wrote: > I've been struggling with this for a few days. > > We have a build server that build various images overnight. One of the > packages in that image is "fpga-image", which takes more than an hour to > build. > > We have been sharin

Re: [OE-core] [PATCH 2/3] image.bbclass: remove zap_root_password

2013-12-10 Thread Paul Eggleton
Hi Qi, On Tuesday 10 December 2013 17:58:51 qi.c...@windriver.com wrote: > From: Chen Qi > > This function replaces the root password with '*' if 'debug-tweaks' > is not in IMAGE_FEATURES. As a result, if we don't have 'debug-tweaks', > we would be locked out of the system. That means, if the us

[OE-core] [PATCH 1/2] libmatchbox: fix libpng detection

2013-12-10 Thread Ross Burton
The configure script looks for libpng12 though pkg-config and if that fails falls back to looking for library files directly. The result of this is that the linkage can change between libpng12 or libpng16 depending on what is installed in the sysroot. To resolve this, take a patch from upstream t

[OE-core] [PATCH 2/2] libmatchbox: use PACKAGECONFIG

2013-12-10 Thread Ross Burton
Use PACKAGECONFIG to offer some flexibility to the libmatchbox configuration, and remove two spurious build dependencies (expat and libstartup-notification). Signed-off-by: Ross Burton --- meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb |9 +++-- 1 file changed, 7 insertions(+), 2

Re: [OE-core] [PATCH 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-10 Thread Burton, Ross
On 10 December 2013 11:37, Richard Purdie wrote: >> I thought it would do no harm. And I will send this patch to upstream, >> so it might be a little strange that I only modify the Makefile.am file >> even if Makefile.in has the same problem. > > It can actually be harmful since the modification t

Re: [OE-core] [PATCH 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-10 Thread Richard Purdie
On Fri, 2013-12-06 at 09:30 +0800, ChenQi wrote: > On 12/06/2013 06:41 AM, Saul Wold wrote: > > On 12/05/2013 12:55 AM, qi.c...@windriver.com wrote: > >> From: Chen Qi > >> > >> Characters like '-O2' or '-Ofast' will be replaced by '-O1' when > >> compiling cipher. If we are cross compiling libgcr

Re: [OE-core] [PATCH] boost: Convert ??= weaker assingment to weak ?= assignment

2013-12-10 Thread Richard Purdie
On Mon, 2013-12-09 at 15:11 -0800, Khem Raj wrote: > On Mon, Dec 9, 2013 at 1:51 PM, Richard Purdie > wrote: > > On Mon, 2013-12-09 at 09:34 -0800, Khem Raj wrote: > >> On Mon, Dec 9, 2013 at 3:48 AM, Richard Purdie > >> wrote: > >> > > >> > To illustrate why I'm struggling to follow this, "bitba

Re: [OE-core] [PATCH 1/2] dhclient-script: let resolv.conf and resolv.conf.dhclient on the same direcotry

2013-12-10 Thread Hongxu Jia
On 12/10/2013 12:41 PM, Saul Wold wrote: On 12/03/2013 05:46 AM, Hongxu Jia wrote: Even though '/etc' is on the readonly partition, it's possible that /etc/resolv.conf is on a separate writable partition. In this situation, we should make sure the temp file resolv.conf.dhclient on the same di

[OE-core] [PATCH 2/3] image.bbclass: remove zap_root_password

2013-12-10 Thread Qi.Chen
From: Chen Qi This function replaces the root password with '*' if 'debug-tweaks' is not in IMAGE_FEATURES. As a result, if we don't have 'debug-tweaks', we would be locked out of the system. That means, if the user uses a bbappend file for base-passwd to set the root password, he would not be ab

[OE-core] [PATCH 3/3] useradd-example: add example for setting clear text password

2013-12-10 Thread Qi.Chen
From: Chen Qi Use '-P' option for user3 to set a clear text password. This is supposed to serve as an example of how to set clear text password in recipes. Signed-off-by: Chen Qi --- .../recipes-skeleton/useradd/useradd-example.bb|3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[OE-core] [PATCH 0/3] Add ability to set clear text password and remove zap_root_password function

2013-12-10 Thread Qi.Chen
From: Chen Qi This patchset mainly contains two changes: 1. Add the ability to set clear text password The third patch serves as an example of how to do this in a recipe. An additional patch has been sent to p...@yoctoproject.org, which adds extra information to local.conf.sample.extend

[OE-core] [PATCH 1/3] shadow-native: allow for setting password in clear text

2013-12-10 Thread Qi.Chen
From: Chen Qi Allow user to set password in clear text. This is convenient when we're building out an image. This feature is mainly used by useradd.bbclass and extrausers.bbclass. This patch adds a new option '-P' to useradd, usermod, groupadd and groupmod commands provided by shadow-native. Th

Re: [OE-core] bash-completion

2013-12-10 Thread Matthieu CRAPET
Hi, What's the status of this ? Is bash-completion recipe available somewhere? Regards, M -Message d'origine- De : openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] De la part de Martin Jansa Envoyé : dimanche 21 avril 2013 01:29

Re: [OE-core] Figuring out why sstate-cache is no longer used for a package

2013-12-10 Thread Burton, Ross
On 10 December 2013 06:44, Mike Looijmans wrote: > The current situation is that a client will grab everything from the > buildserver's HTTP sstate-cache, potentially finishing a build from scratch > in about five minutes. However, for some reason, the fpga-image does not > fall into this category

Re: [OE-core] [PATCH][for-dora] gdb-7.6: fix cygwin check in configure script

2013-12-10 Thread Robert Yang
Thanks, applied to dora-next. // Robert On 12/09/2013 10:47 PM, Steffen Sledz wrote: On 28.11.2013 15:09, Steffen Sledz wrote: This is a fix which avoids false positives if the search pattern "lose" is found in path descriptions in comments generated by the preprocessor we hit in our developm