[OE-core] [PATCH 1/1] initscripts: insure checkroot.sh runs before anything writing to the file

2013-10-11 Thread Qi.Chen
From: Jeffrey C Honig If bootlogd was configured to write to a log file on the root file system, the checkroot.sh was not able to change the rootfs to read-only because bootlogd was started earlier and had a file descriptor open. Lowering the order of checkroot.sh ensures that the volatile files

[OE-core] [PATCH 0/1] initscripts: insure checkroot.sh runs before anything writing to the file

2013-10-11 Thread Qi.Chen
From: Chen Qi The following changes since commit 5445f71fc812a5fcf9bd67a26a500284af16ad39: bitbake: hob: change tooltip for live images (2013-10-07 16:25:02 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/checkroot.sh http://git.pokylinux.org/cg

Re: [OE-core] Setting root password

2013-10-11 Thread ChenQi
On 10/11/2013 10:35 PM, Jack Mitchell wrote: What is the best way to set the root password for an image during build time? I have come across this snippet: ROOTFS_POSTPROCESS_COMMAND += " \ sed 's%^root:[^:]*:%root:${PASSWD}:%' \ < ${IMAGE_ROOTFS}/etc/shadow \ > ${IMA

Re: [OE-core] [PATCH] classes: tar 1.32 fixes

2013-10-11 Thread Richard Purdie
On Fri, 2013-10-11 at 23:01 +0100, Richard Purdie wrote: > tar version 1.32 returns: This should be 1.27, no idea why I wrote 32 in these two patches but I'll fix that on branch before it goes in... Cheers, Richard > tar: --same-order option cannot be used with -c > > with the commandlines we

[OE-core] [PATCH] toolchain-scripts: Fix TARGET_SYS reference

2013-10-11 Thread Richard Purdie
There was a fix missing from a previous commit: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=20a86e16bc54b74fbdb2a3a407d54210ea262925 since there was another section of toolchain-scripts needing updating. This patch fixes the missing reference and unbreaks the ADT toolchain. [YOCTO #5340

[OE-core] [PATCH] lib/oe/path: Fix copytree functions for tar 1.32

2013-10-11 Thread Richard Purdie
tar version 1.32 returns: tar: --same-order option cannot be used with -c with the commandlines we have been using. We can remove the -s option (which is --same-order) to remove the error. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index da044ba..13

[OE-core] [PATCH] classes: tar 1.32 fixes

2013-10-11 Thread Richard Purdie
tar version 1.32 returns: tar: --same-order option cannot be used with -c with the commandlines we have been using. We can remove the -s option (which is --same-order) to remove the error. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-pack

Re: [OE-core] Nasty tar breakage

2013-10-11 Thread Richard Purdie
On Fri, 2013-10-11 at 17:15 +0100, Jack Mitchell wrote: > On 11/10/13 17:08, Richard Purdie wrote: > > On Fri, 2013-10-11 at 16:21 +0100, Jack Mitchell wrote: > >> I upgraded my host distribution today which pulled in tar 1.27 [1] and > >> caused a nasty breakage. Downgrading to tar 1.26 fixed the

Re: [OE-core] [for dylan][PATCH] kernel.bbclass: Correct post(inst|rm) package association

2013-10-11 Thread Denys Dmytriyenko
On Fri, Oct 11, 2013 at 10:33:03AM +0100, Paul Eggleton wrote: > On Friday 04 October 2013 23:56:18 Paul Eggleton wrote: > > On Friday 04 October 2013 14:41:16 Denys Dmytriyenko wrote: > > > Ping. Is Dylan still alive? > > > > It is yes. I pushed a paule/dylan-next poky-contrib branch the other da

Re: [OE-core] Nasty tar breakage

2013-10-11 Thread Jack Mitchell
On 11/10/13 17:08, Richard Purdie wrote: > On Fri, 2013-10-11 at 16:21 +0100, Jack Mitchell wrote: >> I upgraded my host distribution today which pulled in tar 1.27 [1] and >> caused a nasty breakage. Downgrading to tar 1.26 fixed the problem, I >> would expect this is something we want to fix befo

Re: [OE-core] Nasty tar breakage

2013-10-11 Thread Richard Purdie
On Fri, 2013-10-11 at 16:21 +0100, Jack Mitchell wrote: > I upgraded my host distribution today which pulled in tar 1.27 [1] and > caused a nasty breakage. Downgrading to tar 1.26 fixed the problem, I > would expect this is something we want to fix before 1.5 goes out the door? > > DEBUG: Executin

[OE-core] [PATCH v2] uboot-config.bbclass: Raise an error for unknown configs

2013-10-11 Thread Otavio Salvador
When passing the wrong value for UBOOT_CONFIG it ought to raise an error otherwise it is quite difficult for user to notice it didn't behave as expected. Reported-by: Lauren Post Signed-off-by: Otavio Salvador --- Changes in v2: - Use ValueError as exception meta/classes/uboot-config.bbclass |

Re: [OE-core] Nasty tar breakage

2013-10-11 Thread Mark Hatle
On 10/11/13 10:55 AM, Paul Eggleton wrote: Hi Jack, On Friday 11 October 2013 16:21:46 Jack Mitchell wrote: I upgraded my host distribution today which pulled in tar 1.27 [1] and caused a nasty breakage. Downgrading to tar 1.26 fixed the problem, I would expect this is something we want to fix

Re: [OE-core] Nasty tar breakage

2013-10-11 Thread Paul Eggleton
Hi Jack, On Friday 11 October 2013 16:21:46 Jack Mitchell wrote: > I upgraded my host distribution today which pulled in tar 1.27 [1] and > caused a nasty breakage. Downgrading to tar 1.26 fixed the problem, I > would expect this is something we want to fix before 1.5 goes out the door? I think t

Re: [OE-core] Problems when building Angstrom master & 1.3 & 1.4 for Beagleboard Black

2013-10-11 Thread Ulf Samuelsson
On 2013-10-11 16:58, Koen Kooi wrote: Op 11 okt. 2013, om 16:32 heeft Ulf Samuelsson het volgende geschreven: Have tried out building Angstrom for Beaglebone Black on a Quad-Core i7/Ubuntu 12.04 i386 with: I strongly recommend ditching ubuntu and installing linux instead. I don't know what

[OE-core] [Patch 0/1] Update relocate_sdk.py to work with Python 2.4

2013-10-11 Thread Konrad Scherer
As a bootstrap script, relocate_sdk.py needs to support as many versions of python as possible. Since python 2.4.3 is default python on RedHat/CentOS 5.x, the recent updates to support python 3 broke these platforms. This is the cleanest way I could find to support all pythons 2.4 to 3. I have test

[OE-core] [PATCH] Allow script to work with Python 2.4 and 3.

2013-10-11 Thread Konrad Scherer
From: Konrad Scherer Python 2.4 does not support the 'b' string literal or the keyword 'as' in exception handling. Python 3 does not accept the old method of exception handling and defaults to unicode. The b() function converts strings to bytes on Python 3 and using sys.exc_info() avoids the exce

[OE-core] [PATCH 18/18] kmod: Update to Rev 15 via git

2013-10-11 Thread Saul Wold
Also nail down a previously floating dependancy on zlib, which is required for ptest Signed-off-by: Saul Wold --- meta/recipes-kernel/kmod/kmod-native_git.bb | 3 +-- meta/recipes-kernel/kmod/kmod.inc | 12 ++-- meta/recipes-kernel/kmod/kmod_git.bb| 6 +++--- 3 files

[OE-core] [PATCH 15/18] sqlite3: update to 3.8.0.2

2013-10-11 Thread Saul Wold
(From OE-Core rev: 90f1f3460f8fcd5d3b4e5096e2cb4cd90ffdfb20) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../recipes-support/sqlite/{sqlite3_3080001.bb => sqlite3_3080002.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/sqlite/{sqlite3_30

[OE-core] [PATCH 17/18] kmod: Add patch to fix seperate build dir of ptest

2013-10-11 Thread Saul Wold
Signed-off-by: Saul Wold --- meta/recipes-kernel/kmod/kmod.inc | 1 + .../kmod/kmod/fix-seperatebuilddir.patch | 34 ++ 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-kernel/kmod/kmod/fix-seperatebuilddir.patch diff --git a/meta

[OE-core] [PATCH 16/18] kconfig-frontends: Update to 3.11.0.0

2013-10-11 Thread Saul Wold
(From OE-Core rev: 83e265e23b258a8d5970841624f1d8d747c8f328) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../{kconfig-frontends_3.10.0.0.bb => kconfig-frontends_3.11.0.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/kconfig-frontends

[OE-core] [PATCH 10/18] file: Update to 5.15

2013-10-11 Thread Saul Wold
(From OE-Core rev: 562bde3d91dcd7b290ec708607e9bb2d3415077a) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/file/{file_5.14.bb => file_5.15.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-devtools/file/{file_5.14.bb => file_5

[OE-core] [PATCH 12/18] tzdata: Update to 2013g

2013-10-11 Thread Saul Wold
Add the README to LIC_FILES_CHKSUM and update LICESE since it now mentions that some files are licensed under BSD (From OE-Core rev: 1b9d54e446ba1e7f89d2cc19ba4ff4b008715fbc) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../recipes-extended/tzdata/{tzdata_2013d.bb => tzdata_2013g

[OE-core] [PATCH 11/18] tzcode: Update to 2013g

2013-10-11 Thread Saul Wold
The updated README now mentions that some files are derived from BSD, so update the LICENSE to be PD & BSD. (From OE-Core rev: 0d7d8b124f1984f3593ba818a4fe22de62b1a717) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../{tzcode-native_2013d.bb => tzcode-native_2013g.bb} | 14 ++

[OE-core] [PATCH 09/18] util-macros: upgrade to 1.17.1

2013-10-11 Thread Saul Wold
(From OE-Core rev: c96498dfbbdc85caf81e39a20ebfc1af6ab955e0) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../xorg-util/{util-macros_1.17.bb => util-macros_1.17.1.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-graphics/xorg-util/{util-m

[OE-core] [PATCH 14/18] libpng: Update to 1.6.6

2013-10-11 Thread Saul Wold
License Checksum changed due to date updates in files and lines moving. (From OE-Core rev: 14bcc9eeb486203d6c80ed414a92d00f0c52b9b7) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../libpng/{libpng_1.6.3.bb => libpng_1.6.6.bb}| 10 ++ 1 file changed, 6 inse

[OE-core] [PATCH 01/18] kmod-native: use bswap to work on older Linux hosts

2013-10-11 Thread Saul Wold
From: Ting Liu We can't use htobe* and be*toh functions because they are not available on older versions of glibc, For example, shipped on Centos 5.5. Change to directly calling bswap_* as defined in byteswap.h. (From OE-Core rev: c7577e0205af641171cf4eab12e98e865c4d2338) Signed-off-by: Ting L

[OE-core] [PATCH 05/18] desktop-file-utils-native: upgrade to 0.22

2013-10-11 Thread Saul Wold
(From OE-Core rev: 816569257f3ede87a875311c827bb74c2ed90226) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- ...op-file-utils-native_0.21.bb => desktop-file-utils-native_0.22.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/desktop-file-uti

[OE-core] [PATCH 03/18] xz: Add nativesdk for Python3 nativesdk dependency

2013-10-11 Thread Saul Wold
Signed-off-by: Saul Wold --- meta/recipes-extended/xz/xz_5.1.2alpha.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/xz/xz_5.1.2alpha.bb b/meta/recipes-extended/xz/xz_5.1.2alpha.bb index 93099b0..92c3dd9 100644 --- a/meta/recipes-extended/xz/xz_5.1.2al

[OE-core] [PATCH 08/18] rsync: upgrade to 3.1.0

2013-10-11 Thread Saul Wold
(From OE-Core rev: abf242bf2336b4d2161d0d5ab27cf63b93dde84b) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/rsync/{rsync_3.0.9.bb => rsync_3.1.0.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-devtools/rsync/{rsync_3.0.9.bb =

[OE-core] [PATCH 13/18] lsbinitscripts: Update to 9.50

2013-10-11 Thread Saul Wold
(From OE-Core rev: 9fc6cf7a16b2c6e0f0e1bceec7e89a378b4bd9f6) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../lsb/{lsbinitscripts_9.48.bb => lsbinitscripts_9.50.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-extended/lsb/{lsbinitscrip

[OE-core] [PATCH 02/18] sqlite3: update to version 3.8.0.1

2013-10-11 Thread Saul Wold
From: "Maxin B. John" Upgrade to latest version 3.8.0.1 (From OE-Core rev: 0f1a3558647e18f0fdf7fc63350eff0282ec39bf) Signed-off-by: Maxin B. John Signed-off-by: Richard Purdie --- .../recipes-support/sqlite/{sqlite3_3071700.bb => sqlite3_3080001.bb} | 4 ++-- 1 file changed, 2 insertions(+),

[OE-core] [PATCH 06/18] libbsd: upgrade to 0.6.0

2013-10-11 Thread Saul Wold
(From OE-Core rev: d7cc46a17b42b23c4f98a3eee3e061be858ab556) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-support/libbsd/{libbsd_0.5.2.bb => libbsd_0.6.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libbsd/{libbsd_0.5.2.bb

[OE-core] [PATCH 04/18] cups: upgrade to 1.6.4

2013-10-11 Thread Saul Wold
(From OE-Core rev: 537a9a6d4cb7700cd683010d06672aa557b7fa1e) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/cups/{cups_1.6.3.bb => cups_1.6.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/cups/{cups_1.6.3.bb => cups

[OE-core] [PATCH 07/18] man-pages: upgrade to 3.54

2013-10-11 Thread Saul Wold
(From OE-Core rev: 866c2630db9c241f0d2afafb66da9d000e4b5770) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../man-pages/{man-pages_3.53.bb => man-pages_3.54.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/man-pages/{man-pa

[OE-core] [PATCH 00/18] Package Updates and patches

2013-10-11 Thread Saul Wold
Richard, Here is a set of package updates along with a few patches, I included a couple of patches from others (out of master-next) here since I based my patches on them. Sau! The following changes since commit 1149b1fef8912f77d971242dfec151fff5a3aa51: build-appliance: Update SRCREV for rele

[OE-core] Nasty tar breakage

2013-10-11 Thread Jack Mitchell
I upgraded my host distribution today which pulled in tar 1.27 [1] and caused a nasty breakage. Downgrading to tar 1.26 fixed the problem, I would expect this is something we want to fix before 1.5 goes out the door? DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstat

Re: [OE-core] Setting root password

2013-10-11 Thread Koen Kooi
Op 11 okt. 2013, om 16:35 heeft Jack Mitchell het volgende geschreven: > What is the best way to set the root password for an image during build > time? > > I have come across this snippet: > > ROOTFS_POSTPROCESS_COMMAND += " \ >sed 's%^root:[^:]*:%root:${PASSWD}:%' \ >< ${IMA

Re: [OE-core] Problems when building Angstrom master & 1.3 & 1.4 for Beagleboard Black

2013-10-11 Thread Koen Kooi
Op 11 okt. 2013, om 16:32 heeft Ulf Samuelsson het volgende geschreven: > Have tried out building Angstrom for Beaglebone Black on a Quad-Core > i7/Ubuntu 12.04 i386 with: I strongly recommend ditching ubuntu and installing linux instead. I don't know what causes it, but switching to debian,

[OE-core] Setting root password

2013-10-11 Thread Jack Mitchell
What is the best way to set the root password for an image during build time? I have come across this snippet: ROOTFS_POSTPROCESS_COMMAND += " \ sed 's%^root:[^:]*:%root:${PASSWD}:%' \ < ${IMAGE_ROOTFS}/etc/shadow \ > ${IMAGE_ROOTFS}/etc/shadow.new;\ mv ${IMAGE_ROO

[OE-core] Problems when building Angstrom master & 1.3 & 1.4 for Beagleboard Black

2013-10-11 Thread Ulf Samuelsson
Have tried out building Angstrom for Beaglebone Black on a Quad-Core i7/Ubuntu 12.04 i386 with: PARALLEL_MAKE = "-j8" BB_NUMBER_THREADS = "8" I bitbake "cloud9-gnome-image" RESULTS: * remotes/origin/angstrom-v2013.06-yocto1.4commit 246357a1cc4977683ada564d38218e837ac615e3 image

[OE-core] [PATCH 1/2] openssh: package sshd PAM config inside openssh-sshd package

2013-10-11 Thread Koen Kooi
Without this PAM integration is broken after installing openssh-sshd Signed-off-by: Koen Kooi --- meta/recipes-connectivity/openssh/openssh_6.2p2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssh/openssh_6.2p2.bb b/meta/recipes-connectivity

[OE-core] [PATCH 2/2] openssh: allow empty passwords if PAM allows it as well

2013-10-11 Thread Koen Kooi
Signed-off-by: Koen Kooi --- meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config b/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config index 4f9b626..17

Re: [OE-core] [PATCH] uboot-config.bbclass; Raise an error for unknown configs

2013-10-11 Thread Otavio Salvador
On Fri, Oct 11, 2013 at 5:18 AM, Richard Purdie wrote: > On Thu, 2013-10-10 at 15:15 -0300, Otavio Salvador wrote: >> When passing the wrong value for UBOOT_CONFIG it ought to raise an >> error otherwise it is quite difficult for user to notice it didn't >> behave as expected. >> >> Reported-by: L

[OE-core] [PATCH 0/1] populate_sdk_rpm: add python to nativesdk INSTALL_PROVIDESNAME_RPM list

2013-10-11 Thread wenzong.fan
From: Wenzong Fan If any native SDK packages involve python scripts that start with '#!/usr/bin/python', then the populate_sdk step will fail with: error: Can't install nativesdk-xxx-$ver@x86_64_nativesdk: \ no package provides /usr/bin/python Just like perl, we also need to add python

[OE-core] [PATCH 1/1] populate_sdk_rpm: add python to nativesdk INSTALL_PROVIDESNAME_RPM list

2013-10-11 Thread wenzong.fan
From: Wenzong Fan Add '/usr/bin/python' to rpm ignore list for fixing native SDK packages installation error: * error: Can't install nativesdk-xxx-$ver@x86_64_nativesdk: \ no package provides /usr/bin/python Signed-off-by: Wenzong Fan --- meta/classes/populate_sdk_rpm.bbclass |2 +- 1

Re: [OE-core] [for dylan][PATCH] kernel.bbclass: Correct post(inst|rm) package association

2013-10-11 Thread Paul Eggleton
On Friday 04 October 2013 23:56:18 Paul Eggleton wrote: > On Friday 04 October 2013 14:41:16 Denys Dmytriyenko wrote: > > Ping. Is Dylan still alive? > > It is yes. I pushed a paule/dylan-next poky-contrib branch the other day > including this fix but haven't had a chance to run it through the > a

Re: [OE-core] [PATCH] uboot-config.bbclass; Raise an error for unknown configs

2013-10-11 Thread Richard Purdie
On Thu, 2013-10-10 at 15:15 -0300, Otavio Salvador wrote: > When passing the wrong value for UBOOT_CONFIG it ought to raise an > error otherwise it is quite difficult for user to notice it didn't > behave as expected. > > Reported-by: Lauren Post > Signed-off-by: Otavio Salvador > --- > meta/cl

[OE-core] [oe-core][PATCH 2/2] socat: add dependency on tcp-wrappers

2013-10-11 Thread b28495
From: Ting Liu Fix the below issue: | Computing transaction...error: Can't install | socat-1.7.2.2-r0@ppce500v2: no package provides libwrap.so.0 | | Saving cache... | Signed-off-by: Ting Liu --- meta/recipes-connectivity/socat/socat_1.7.2.2.bb |2 +- 1 files changed, 1 insertions(+), 1 de

[OE-core] [oe-core][PATCH 1/2] perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64

2013-10-11 Thread b28495
From: Ting Liu PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace. Perf want LL64, flag __SANE_USERSPACE_TYPES__ to get int-ll64.h. Fix the below issue: | tests/attr.c:71:4: er

Re: [OE-core] [PATCH] classes: add aarch64_be target

2013-10-11 Thread Fathi Boudra
On 11 October 2013 09:53, Khem Raj wrote: > > On Oct 10, 2013, at 11:48 PM, Koen Kooi wrote: > >> >> Op 11 okt. 2013, om 07:37 heeft Nobuhiro Iwamatsu het >> volgende geschreven: >> >>> Hi, >>> >>> I have a question. >>> Why don't you unite name rules of other architecture? >>> Forexample, ar