[OE-core] [PATCH 0/2] Build Appliance: Open build logs in text editor

2013-09-26 Thread Cristian Iorga
Opening build logs works in Hob under Build Appliance. leafpad text editor is integrated in Build Appliance. The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0: build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100) are available in the git repository at:

[OE-core] [PATCH 2/2] builder: register text files with leafpad

2013-09-26 Thread Cristian Iorga
Log files will open in leafpad under Build Appliance. Part of [YOCTO #4727] fix. Signed-off-by: Cristian Iorga cristian.io...@intel.com --- meta/recipes-graphics/builder/files/builder_hob_start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git

[OE-core] [PATCH 1/2] packagegroup-self-hosted: add leafpad text editor

2013-09-26 Thread Cristian Iorga
A text editor is needed to examine log files. Part of [YOCTO #4727] fix. Signed-off-by: Cristian Iorga cristian.io...@intel.com --- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH 0/1] sysvinit: fix missing of boot log

2013-09-26 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0: build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/bootlogd

[OE-core] [PATCH 1/1] sysvinit: fix missing of boot log

2013-09-26 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, our system had no boot log even if the bootlogd daemon was started correctly. The root cause is that the log file doesn't exist when starting the bootlogd. Add '-c' option to bootlogd so that it will create the boot log if it doesn't exist. [YOCTO

Re: [OE-core] [PATCH 0/1] sysvinit: fix missing of boot log

2013-09-26 Thread ChenQi
Please ignore this one. It has a potential problem. That is, if tmpfs is not mounted (currently done in the udev init script, but udev may not be installed), the log will still be missing. I'll send out a V2. //Chen Qi On 09/26/2013 04:14 PM, qi.c...@windriver.com wrote: From: Chen Qi

[OE-core] [PATCH V2 0/1] sysvinit: fix missing of boot log

2013-09-26 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0: build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/bootlogd

[OE-core] [PATCH V2 1/1] sysvinit: fix missing of boot log

2013-09-26 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com Previously, our system had no boot log even if the bootlogd daemon was started correctly. The root cause is that the log file doesn't exist when starting the bootlogd. Add '-c' option to bootlogd so that it will create the boot log if it doesn't exist.

[OE-core] [PATCH 2/2] pseudo: warn twice if the 32-bit toolchain appears broken

2013-09-26 Thread Ross Burton
Putting a warning at the top of do_compile is useful but not everyone reads the file from beginning to end, so use a trap to put the message at the bottom too. [ YOCTO #4919 ] Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-devtools/pseudo/pseudo.inc | 13 ++--- 1

[OE-core] [PATCH 1/2] pseudo: use bbnote/bbwarn instead of echo

2013-09-26 Thread Ross Burton
In the future bbnote/bbwarn will be integrated into bitbake's logging, so use those functions instead of echo directly. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-devtools/pseudo/pseudo.inc | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[OE-core] [PATCH] makedevs: Add device_table-minimal.txt to the nativesdk sysroot

2013-09-26 Thread David Nyström
Add an example device_table in the SDK under /usr/share/ Signed-off-by: David Nyström david.nyst...@enea.com --- meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb

Re: [OE-core] [PATCH V2 1/1] sysvinit: fix missing of boot log

2013-09-26 Thread Enrico Scholz
qi.chen-cwa4wttnnzf54taoqty...@public.gmane.org writes: Besides, we need to make sure that tmpfs has been mounted. Otherwise, the boot log will still be missing. ... case $ACTION in start) + mount -a -t tmpfs 2/dev/null This will mount filesystems out-of-order. E.g. it

Re: [OE-core] [PATCH] makedevs: Add device_table-minimal.txt to the nativesdk sysroot

2013-09-26 Thread Saul Wold
On 09/26/2013 03:47 AM, David Nyström wrote: Add an example device_table in the SDK under /usr/share/ Signed-off-by: David Nyström david.nyst...@enea.com --- meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] makedevs: Add device_table-minimal.txt to the nativesdk sysroot

2013-09-26 Thread David Nyström
On Thu 26 Sep 2013 03:48:26 PM CEST, Saul Wold wrote: On 09/26/2013 03:47 AM, David Nyström wrote: Add an example device_table in the SDK under /usr/share/ Signed-off-by: David Nyström david.nyst...@enea.com --- meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 - 1 file changed,

[OE-core] [PATCH] oe-init-build-env-memres: use shell instead of Python to show the port number

2013-09-26 Thread Ross Burton
Signed-off-by: Ross Burton ross.bur...@intel.com --- oe-init-build-env-memres |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres index 15e4f44..dca819b 100755 --- a/oe-init-build-env-memres +++ b/oe-init-build-env-memres @@

Re: [OE-core] [PATCH] makedevs: Add device_table-minimal.txt to the nativesdk sysroot

2013-09-26 Thread Saul Wold
On 09/26/2013 08:11 AM, David Nyström wrote: On Thu 26 Sep 2013 03:48:26 PM CEST, Saul Wold wrote: On 09/26/2013 03:47 AM, David Nyström wrote: Add an example device_table in the SDK under /usr/share/ Signed-off-by: David Nyström david.nyst...@enea.com ---

[OE-core] [PATCH] classes/package_rpm: fix bitbake package-index for RPM

2013-09-26 Thread Paul Eggleton
The function that bitbake package-index relies upon when using the RPM package backend (package_update_index_rpm()) uses MULTILIB_PREFIX_LIST to get the list of package architectures to be indexed, but that variable is only set when populate_sdk_rpm or rootfs_rpm are inherited, which is not the

[OE-core] [PATCH 1/2] package.bbclass: fire an event with package info

2013-09-26 Thread Alex DAMIAN
From: Alexandru DAMIAN alexandru.dam...@intel.com On emit_pkgdata, the code writes a file with all the package details like PN, PV, PR, LICENSE, etc... In order to record package information on a remote client, we also build out a custom event with this information and fire it. This will not

[OE-core] [PATCH 2/2] package.bbclass: add event with package file contents

2013-09-26 Thread Alex DAMIAN
From: Alexandru DAMIAN alexandru.dam...@intel.com In populate packages, the code breaks the artifacts of the build process into separate directories for each final package. I'm adding code to use this opportunity and send out a list of artifacts for each package together with the sizes. This is

[OE-core] [PATCH] matchbox-panel: silence some pointless warnings

2013-09-26 Thread Ross Burton
The battery applet emits a warning if the hardware doesn't have a battery (it shouldn't) and the parser emits a warning if two separators are used in a row (which happens if the hardware has a keyboard). Silence these with a patch from upstream. [ YOCTO #4061 ] Signed-off-by: Ross Burton

[OE-core] [PATCH] eglinfo: drop machine-specific configuration from oe-core

2013-09-26 Thread Ross Burton
eglinfo.inc has some board-specific EGLINFO_DEVICE settings but is missing the dependencies. Maintaining them for all supported devices in oe-core isn't scalable and this is trivially supported though a bbappend in each BSP layer. This was also causing problems compiling eglinfo on

[OE-core] [v2][PATCH 1/1] vala.bbclass: add dependency on vala

2013-09-26 Thread Joe Slater
This class points the inheritor, if it is a target, to directories in the target sysroot, so we want to be sure the .vapi files are there. Signed-off-by: Joe Slater jsla...@windriver.com --- meta/classes/vala.bbclass |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [OE-core] [PATCH] eglinfo: drop machine-specific configuration from oe-core

2013-09-26 Thread Otavio Salvador
On Thu, Sep 26, 2013 at 1:43 PM, Ross Burton ross.bur...@intel.com wrote: eglinfo.inc has some board-specific EGLINFO_DEVICE settings but is missing the dependencies. Maintaining them for all supported devices in oe-core isn't scalable and this is trivially supported though a bbappend in each

[OE-core] [PATCH] mkefidisk.sh: Allow using a loopback mounted file

2013-09-26 Thread Jason Wessel
There is no reason not allow writing of direct boot disk images for testing with simulators. The easy way is to add loop back writing capabilities. Example: qemu-img create -f raw bigdisk 4G dev=`sudo losetup -f` sudo losetup $dev bigdisk mkefidisk.sh $dev

Re: [OE-core] [PATCH] libtool-native_2.4.2.bb: Always use /bin/sed for SED

2013-09-26 Thread Denys Dmytriyenko
On Tue, Feb 12, 2013 at 01:36:44PM -0600, Jason Wessel wrote: If you never use sstate and always build everything from scratch you will never see this problem. However, if you use sstate and build directories that last a long time eventually you can end up with the scenario where libtool gets

Re: [OE-core] [PATCH] mkefidisk.sh: Allow using a loopback mounted file

2013-09-26 Thread Darren Hart
On Thu, 2013-09-26 at 17:34 -0500, Jason Wessel wrote: There is no reason not allow writing of direct boot disk images for Nit:^ to testing with simulators. The easy way is to add loop back writing capabilities. Just note here that the /dev/loop device has the same

Re: [OE-core] [PATCH] mkefidisk.sh: Allow using a loopback mounted file

2013-09-26 Thread Jason Wessel
On 09/26/2013 05:45 PM, Darren Hart wrote: On Thu, 2013-09-26 at 17:34 -0500, Jason Wessel wrote: There is no reason not allow writing of direct boot disk images for Nit:^ to testing with simulators. The easy way is to add loop back writing capabilities. Just note here

Re: [OE-core] [v2][PATCH 1/1] vala.bbclass: add dependency on vala

2013-09-26 Thread Randy MacLeod
On 13-09-26 02:52 PM, Joe Slater wrote: This class points the inheritor, if it is a target, to directories in the target sysroot, so we want to be sure the .vapi files are there. Signed-off-by: Joe Slater jsla...@windriver.com --- meta/classes/vala.bbclass |8 +--- 1 files changed, 5

[OE-core] [v2 PATCH] mkefidisk.sh: Allow using a loopback mounted file

2013-09-26 Thread Jason Wessel
It should be possible to generate a disk to a file using a loopback device with mkefidisk.sh, which is useful for booting simulators. To make this possible the partitions for the loop back need to work similarly to the mmc devices. The mkfs.vfat also requires and additional argument to force it

[OE-core] [PATCH] boot-directdisk: ensure generated MBR disk signature is non-zero

2013-09-26 Thread Jonathan Liu
A zero MBR disk signature is generally seen as no signature and another partitioning program might install a new signature. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/classes/boot-directdisk.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH 1/3] wic: Initial code for wic (OpenEmbedded Image Creator)

2013-09-26 Thread Tom Zanussi
Initial implementation of the 'wic' command. The 'wic' command generates partitioned images from existing OpenEmbedded build artifacts. Image generation is driven by partitioning commands contained in an 'Openembedded kickstart' (.wks) file specified either directly on the command-line or as one

[OE-core] [PATCH 2/3] wic: Add mic w/pykickstart

2013-09-26 Thread Tom Zanussi
This is the starting point for the implemention described in [YOCTO 3847] which came to the conclusion that it would make sense to use kickstart syntax to implement image creation in OpenEmbedded. I subsequently realized that there was an existing tool that already implemented image creation

Re: [OE-core] [PATCH V2 1/1] sysvinit: fix missing of boot log

2013-09-26 Thread ChenQi
On 09/26/2013 06:50 PM, Enrico Scholz wrote: qi.chen-cwa4wttnnzf54taoqty...@public.gmane.org writes: Besides, we need to make sure that tmpfs has been mounted. Otherwise, the boot log will still be missing. ... case $ACTION in start) + mount -a -t tmpfs 2/dev/null This

[OE-core] [PATCH] perf : fix perf of cross-compile for PowerPC 64bit targets

2013-09-26 Thread Chunrong Guo
*fix perf build issue on powerpc 64bit targets |error information: | tests/attr.c: In function 'store_event': | tests/attr.c:71:4: error: format '%llu' expects argument of type 'long long unsigned int', | but argument 6 has type '__u64' [-Werror=format=] | attr-type,

[OE-core] [PATCH] systemd-compat-units: do not create runlevel command

2013-09-26 Thread rongqing.li
From: Roy.Li rongqing...@windriver.com It seems strange that runlevel always returns 1, The comment says it is related to sysvinit, but if we enable systemd, sysvinit will not be installed. and we have created a link for runlevel to systemctl if systemd is installed. Signed-off-by: Roy.Li