Re: [OE-core] [PATCH 1/1] rootfs.py: fix PRE/POSTPROCESS_COMMANDS for rpm and deb

2014-10-19 Thread Robert Yang
On 09/24/2014 10:07 PM, Robert Yang wrote: On 09/24/2014 06:46 PM, Burton, Ross wrote: On 24 September 2014 02:30, Robert Yang wrote: Ping, I think that we need it since it is a function lost. If we're going to unify the behaviour - which is a good thing - then ROOTFS_POSTPROCESS_COMMAND

Re: [OE-core] [PATCH 1/3] readline: Security Advisory - readline - CVE-2014-2524

2014-10-19 Thread Kang Kai
On 2014年10月20日 11:15, Kang Kai wrote: On 2014年10月16日 19:20, Burton, Ross wrote: On 16 October 2014 10:48, Kai Kang wrote: +++ b/meta/recipes-core/readline/readline_6.3.bb @@ -1,5 +1,7 @@ require readline.inc +SRC_URI_append = " file://readline63-003" Doing SRC_URI += is the usual thing to

[OE-core] [PATCH v2] nfs-utils: fix start-statd

2014-10-19 Thread rongqing.li
From: "Roy.Li" 1. add /bin to PATH of start-statd, otherwise systemctl can not be found. 2. drop error when systemd fails to start statd.service; since if it failed, rpc.statd will be called directly. Signed-off-by: Roy.Li --- .../nfs-utils/nfs-utils/fix-the-start-statd.patch | 30 +

Re: [OE-core] [PATCH] nfs-utils: fix start-statd

2014-10-19 Thread Rongqing Li
Sorry, please drop this patch. -Roy On 10/20/2014 01:11 PM, rongqing...@windriver.com wrote: From: "Roy.Li" 1. add /bin to PATH of start-statd, otherwise systemctl can not find. 2. drop error of start-statd Signed-off-by: Roy.Li --- .../nfs-utils/nfs-utils/fix-the-start-statd.patch | 3

[OE-core] [PATCH] nfs-utils: fix start-statd

2014-10-19 Thread rongqing.li
From: "Roy.Li" 1. add /bin to PATH of start-statd, otherwise systemctl can not find. 2. drop error of start-statd Signed-off-by: Roy.Li --- .../nfs-utils/nfs-utils/fix-the-start-statd.patch | 30 .../nfs-utils/nfs-utils_1.3.0.bb |1 + 2 files chang

[OE-core] [PATCH] liburcu: revert ARM GCC blacklist commit

2014-10-19 Thread Jonathan Liu
This fixes the following error when building liburcu: "Your gcc version produces clobbered frame accesses" OE-Core is using a patched GCC 4.8.2 which is able to compile liburcu properly. Signed-off-by: Jonathan Liu --- ...evert-Blacklist-ARM-gcc-4.8.0-4.8.1-4.8.2.patch | 47

Re: [OE-core] [PATCH] nfs-utils: fix a Gcc undefined behavior

2014-10-19 Thread Khem Raj
On Wed, Oct 15, 2014 at 2:21 AM, wrote: > From: Roy Li > > Calling strncpy with NULL second argument, even when the size is 0, > is undefined behavior, which leads to GCC to drop the check old > variable with NULL in following code. > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=6743 FWI

Re: [OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class

2014-10-19 Thread Bruce Ashfield
On Sun, Oct 19, 2014 at 6:29 PM, Marek Vasut wrote: > On Monday, October 20, 2014 at 12:08:57 AM, Bruce Ashfield wrote: >> On Sun, Oct 19, 2014 at 3:15 PM, Marek Vasut wrote: >> > Pull the uImage image format generation from kernel.bbclass into >> > a separate kernel-uimage.bbclass. The recipes w

Re: [OE-core] [PATCH] rpm: rpm needs gnupg to do signature

2014-10-19 Thread Rongqing Li
ping -R On 10/16/2014 10:02 AM, rongqing...@windriver.com wrote: From: "Roy.Li" rpm needs gnupg to do signature, otherwise the below error: $ rpm -v --addsign m4-1.4.16-r4.0.x86_64.rpm Enter pass phrase: error: Could not exec gpg: No such file or directory $ Signed-off-by

Re: [OE-core] [PATCH] nfs-utils: fix a Gcc undefined behavior

2014-10-19 Thread Rongqing Li
ping -R On 10/15/2014 05:21 PM, rongqing...@windriver.com wrote: From: Roy Li Calling strncpy with NULL second argument, even when the size is 0, is undefined behavior, which leads to GCC to drop the check old variable with NULL in following code. https://bugzilla.yoctoproject.org/show_bug.c

Re: [OE-core] [PATCH 1/3] readline: Security Advisory - readline - CVE-2014-2524

2014-10-19 Thread Kang Kai
On 2014年10月16日 19:20, Burton, Ross wrote: On 16 October 2014 10:48, Kai Kang wrote: +++ b/meta/recipes-core/readline/readline_6.3.bb @@ -1,5 +1,7 @@ require readline.inc +SRC_URI_append = " file://readline63-003" Doing SRC_URI += is the usual thing to do. OK. I'll send V2. Thanks, Kai

Re: [OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class

2014-10-19 Thread Marek Vasut
On Monday, October 20, 2014 at 12:08:57 AM, Bruce Ashfield wrote: > On Sun, Oct 19, 2014 at 3:15 PM, Marek Vasut wrote: > > Pull the uImage image format generation from kernel.bbclass into > > a separate kernel-uimage.bbclass. The recipes which now need to > > generate an uImage will have to inher

Re: [OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class

2014-10-19 Thread Marek Vasut
On Sunday, October 19, 2014 at 11:29:15 PM, Khem Raj wrote: > On Sunday, October 19, 2014, Marek Vasut wrote: > > Pull the uImage image format generation from kernel.bbclass into > > a separate kernel-uimage.bbclass. The recipes which now need to > > generate an uImage will have to inherit kernel-

Re: [OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class

2014-10-19 Thread Bruce Ashfield
On Sun, Oct 19, 2014 at 3:15 PM, Marek Vasut wrote: > Pull the uImage image format generation from kernel.bbclass into > a separate kernel-uimage.bbclass. The recipes which now need to > generate an uImage will have to inherit kernel-uimage instead of > kernel class. The commit log doesn't tell u

Re: [OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class

2014-10-19 Thread Khem Raj
On Sunday, October 19, 2014, Marek Vasut wrote: > Pull the uImage image format generation from kernel.bbclass into > a separate kernel-uimage.bbclass. The recipes which now need to > generate an uImage will have to inherit kernel-uimage instead of > kernel class. > > Does it trigger a doc change

Re: [OE-core] [PATCH 1/7] kernel: Clean up KERNEL_IMAGETYPE_FOR_MAKE

2014-10-19 Thread Otavio Salvador
On Sun, Oct 19, 2014 at 7:13 PM, Marek Vasut wrote: > On Sunday, October 19, 2014 at 09:25:36 PM, Otavio Salvador wrote: >> On Sun, Oct 19, 2014 at 5:15 PM, Marek Vasut wrote: >> > Remove the lambda function setting KERNEL_IMAGETYPE_FOR_MAKE and instead >> > set it in the anonymous python functio

Re: [OE-core] [PATCH 1/7] kernel: Clean up KERNEL_IMAGETYPE_FOR_MAKE

2014-10-19 Thread Marek Vasut
On Sunday, October 19, 2014 at 09:25:36 PM, Otavio Salvador wrote: > On Sun, Oct 19, 2014 at 5:15 PM, Marek Vasut wrote: > > Remove the lambda function setting KERNEL_IMAGETYPE_FOR_MAKE and instead > > set it in the anonymous python function. This also allows us to handle > > image types which are

Re: [OE-core] [PATCH 0/7] Add basic fitImage support

2014-10-19 Thread Otavio Salvador
On Sun, Oct 19, 2014 at 5:15 PM, Marek Vasut wrote: > This series cleans up the code in kernel.bbclass and > separates out the uImage generation. The last patch > in this series then adds support for generation of the > advanced successor of the uImage, the fitImage. > > This series adds only very

Re: [OE-core] [PATCH 1/7] kernel: Clean up KERNEL_IMAGETYPE_FOR_MAKE

2014-10-19 Thread Otavio Salvador
On Sun, Oct 19, 2014 at 5:15 PM, Marek Vasut wrote: > Remove the lambda function setting KERNEL_IMAGETYPE_FOR_MAKE and instead > set it in the anonymous python function. This also allows us to handle > image types which are not supported directly by kernel, but require some > other kernel target t

[OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class

2014-10-19 Thread Marek Vasut
Pull the uImage image format generation from kernel.bbclass into a separate kernel-uimage.bbclass. The recipes which now need to generate an uImage will have to inherit kernel-uimage instead of kernel class. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Koen Kooi Cc: Paul Eggleton --- met

[OE-core] [PATCH 3/7] kernel: Pull out the linux.bin generation

2014-10-19 Thread Marek Vasut
Pull the generation of linux.bin image, which is then packed into uImage, into a separate function. No functional change. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Koen Kooi Cc: Paul Eggleton --- meta/classes/kernel.bbclass | 40 +++- 1 file changed

[OE-core] [PATCH 5/7] kernel: Separate out uboot_prep_kimage

2014-10-19 Thread Marek Vasut
Separate the function which prepares the kernel for packing into uImage into separate class, so this function can be reused by the fitImage class. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Koen Kooi Cc: Paul Eggleton --- meta/classes/kernel-uboot.bbclass | 25

[OE-core] [PATCH 0/7] Add basic fitImage support

2014-10-19 Thread Marek Vasut
This series cleans up the code in kernel.bbclass and separates out the uImage generation. The last patch in this series then adds support for generation of the advanced successor of the uImage, the fitImage. This series adds only very rudimentary support for generation of fitImage. The advanced fe

[OE-core] [PATCH 2/7] kernel: Rework do_uboot_mkimage

2014-10-19 Thread Marek Vasut
Rework the function so part it's internals can be re-used by fitImage image type. The name of the temporary file , linux.bin , is recycled a little more as it's now used for both the case where it is gzip compressed and where it is not. This should be fine, since the file is temporary and removed a

[OE-core] [PATCH 6/7] kernel: Build DTBs early

2014-10-19 Thread Marek Vasut
Pull out the compilation of the DTB blobs right after the kernel's own do_compile function finishes. This makes them available just in time for the kernel image construction functions. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Koen Kooi Cc: Paul Eggleton --- meta/recipes-kernel/linux/

[OE-core] [PATCH 7/7] kernel: Add basic fitImage support

2014-10-19 Thread Marek Vasut
This patch adds support for generating a kernel fitImage, which is a a successor to the uImage format. Unlike uImage, which could only contain the kernel image itself, the fitImage can contain all kinds of artifacts, like the kernel image, device tree blobs, initramfs images, binary firmwares etc.

[OE-core] [PATCH 1/7] kernel: Clean up KERNEL_IMAGETYPE_FOR_MAKE

2014-10-19 Thread Marek Vasut
Remove the lambda function setting KERNEL_IMAGETYPE_FOR_MAKE and instead set it in the anonymous python function. This also allows us to handle image types which are not supported directly by kernel, but require some other kernel target to be built. This is the case for example with the fitImage, w

[OE-core] Poky X11

2014-10-19 Thread akuster808
Hello, When I build 'core-image-x11' on Poky, X on wont start. I am using the standard Poky clone with no added layers. When I manually start x I get the following error: startx /etc/X11/xinit/xinitrc: line 95: twm : command not found /etc/X11/xinit/xinitrc: line 96: xclock : command not fo