Re: [OE-core] [PATCH] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
On Mar 11, 2015, at 7:53 AM, Khem Raj raj.k...@gmail.com wrote: On Wednesday, March 11, 2015, Richard Purdie richard.pur...@linuxfoundation.org mailto:richard.pur...@linuxfoundation.org wrote: On Wed, 2015-03-11 at 08:33 +, Khem Raj wrote: - Do not mount /var/volatile to be

[OE-core] how many ways to delete/de-activate a recipe's task?

2015-03-11 Thread Robert P. J. Day
i recall that richard purdie might have explained this once but i have no idea where that post is and i need to add something to it, anyway ... how many ways are there to delete a task from a recipe, and what are the differences? so far, i've seen: 1) bitbake supports a deltask directive

Re: [OE-core] [PATCH V2] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Burton, Ross
On 11 March 2015 at 18:07, Khem Raj raj.k...@gmail.com wrote: + grep -q tmpfs /var/volatile /proc/mounts || mount -t tmpfs -o strictatime tmpfs /var/volatile What is someone uses tmpfs[tab]/var/volatile? This should match on arbitrary whitespace. Ross --

Re: [OE-core] [PATCH V2] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
On Mar 11, 2015 2:02 PM, Burton, Ross ross.bur...@intel.com wrote: On 11 March 2015 at 18:07, Khem Raj raj.k...@gmail.com wrote: + grep -q tmpfs /var/volatile /proc/mounts || mount -t tmpfs -o strictatime tmpfs /var/volatile What is someone uses tmpfs[tab]/var/volatile? This

[OE-core] [PATCH] lib/oeqa/runtime/systemd: Add a basic runtime test for the journal

2015-03-11 Thread Randy Witt
The test_systemd_journal() test will fail if journalctl exits with a non-zero exit status. The exit status is non-zero even if there are no journal files, which is what drove the creation of this test. [Yocto #7388] Signed-off-by: Randy Witt randy.e.w...@linux.intel.com ---

[OE-core] [PATCH] systemd: Instruct the journal to always be volatile

2015-03-11 Thread Randy Witt
When the storage mode for the journal is auto if /var/log/journal exists then the journal will flush to /var/log/journal assuming that /var/log/journal is persistent. However /var/log - /var/volatile/log in poky, so even though /var/log/journal exists, it is still volatile. Since this can cause

Re: [OE-core] [PATCH] lib/oeqa/runtime/systemd: Add a basic runtime test for the journal

2015-03-11 Thread Randy Witt
Sorry, please ignore this previously submitted patch. On 03/11/2015 02:25 PM, Randy Witt wrote: The test_systemd_journal() test will fail if journalctl exits with a non-zero exit status. The exit status is non-zero even if there are no journal files, which is what drove the creation of this

Re: [OE-core] how many ways to delete/de-activate a recipe's task?

2015-03-11 Thread Mark Hatle
On 3/11/15 11:30 AM, Robert P. J. Day wrote: i recall that richard purdie might have explained this once but i have no idea where that post is and i need to add something to it, anyway ... how many ways are there to delete a task from a recipe, and what are the differences? so far,

[OE-core] [PATCH V2] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
- Do not mount /var/volatile to be tmpfs always only when generating readonly rootfs - Generate var-volatile.mount unit when using system in readonly-rootfs to mount /var/volatile as tmpfs - for sysvinit, mount /var/volatile to be tmpfs if its not already mounted so - Use RequiresMountsFor

[OE-core] [PATCH] oe-setup-builddir: output message cleanup

2015-03-11 Thread Benjamin Esquivel
Moved a Yoctoproject documentation banner to the end of the first-time run messages section [YOCTO #7368] Signed-off-by: Benjamin Esquivel benjamin.esqui...@linux.intel.com --- scripts/oe-setup-builddir | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-)

[OE-core] [PATCH] curl: remove samba from PACKAGECONFIG[smb] DEPENDS

2015-03-11 Thread Andre McCurdy
Enabling support for the smb protocol does not create a build time dependency on samba. Signed-off-by: Andre McCurdy armccu...@gmail.com --- meta/recipes-support/curl/curl_7.40.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/curl/curl_7.40.0.bb

[OE-core] [PATCH 0/4] meta: 4 fixes

2015-03-11 Thread Robert Yang
The following changes since commit 99f209a49a4390192b95184ff86bd6f973010111: layer.conf: bump version as error-report interface changed (2015-03-10 17:44:56 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/4fixes

[OE-core] [PATCH 3/4] kernelsrc.bbclass: fix KERNEL_VERSION

2015-03-11 Thread Robert Yang
The kernel-abiversion is now in STAGING_KERNEL_BUILDDIR not in S. Fixed rpm pkg like perf: (note the None version) perf-None-r9.qemux86.rpm Signed-off-by: Robert Yang liezhi.y...@windriver.com --- meta/classes/kernelsrc.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH 1/4] license.bbclass: set dirs for do_populate_lic_setscene

2015-03-11 Thread Robert Yang
Fixed: ERROR: Build of do_populate_lic failed ERROR: Traceback (most recent call last): File bitbake/lib/bb/build.py, line 497, in exec_task return _exec_task(fn, task, d, quieterr) File bitbake/lib/bb/build.py, line 437, in _exec_task exec_func(func, localdata) File

[OE-core] [PATCH 2/4] mailx: disable parallel build

2015-03-11 Thread Robert Yang
The makeconfig can't run parallelly, otherwise the checking results might be incorrect and lead to errors: fio.c:56:17: fatal error: ssl.h: No such file or directory Signed-off-by: Robert Yang liezhi.y...@windriver.com --- meta/recipes-extended/mailx/mailx_12.5.bb |5 + 1 file changed, 5

[OE-core] [PATCH 4/4] pixbufcache.bbclass: add harfbuzz-native to PIXBUFCACHE_SYSROOT_DEP

2015-03-11 Thread Robert Yang
Fixed: DEBUG: Executing shell function pixbufcache_sstate_postinst g_module_open() failed for sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libharfbuzz.so.0: cannot open shared object file: No such file or directory Signed-off-by: Robert Yang

[OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Jonathan Liu
This avoids util-linux-fdisk pulling in util-linux and all the associated sub-packages. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/util-linux/util-linux.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/util-linux/util-linux.inc

[OE-core] [PATCH] sysprof: fix arm big-endian build.

2015-03-11 Thread Koen Kooi
Applying the existing ARM patch for armeb makes it work. Signed-off-by: Koen Kooi koen.k...@linaro.org --- meta/recipes-kernel/sysprof/sysprof_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb index

Re: [OE-core] [backport][dizzy][daisy] utils.bbclass: fix create_cmdline_wrapper

2015-03-11 Thread Viguera, Javier
Hi Saul, Added to my pending branch for Daisy, I am doing a sweep of the list now for a 1.6.3 build later this week. Sau! I see this patch didn't make it to the just-built 'yocto-1.6.3.rc1'. Is there any problem with it? It's included in master and Dizzy but if it needs rework for Daisy

[OE-core] [PATCH v4] u-boot.inc: fix rename image error

2015-03-11 Thread Chunrong Guo
Resolve mismatch between U-Boot configs and uboot image name. The ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} may alway be false and repeat compile or install so we need to check if ${type} match ${config} . Signed-off-by: Chunrong Guo b40...@freescale.com ---

Re: [OE-core] [PATCH v2] directfb: Allow native builds of directfb 1.7.6

2015-03-11 Thread Florian Boor
Hi Arndre, On 10.03.2015 23:32, Andre McCurdy wrote: Are you sure that excluding tslib-native from DEPENDS works? Since -lts is hardcoded in LDFLAGS (see directfb.inc) the linker won't run unless libts.so is found in sysroot (regardless of whether or not you configure with

Re: [OE-core] [PATCH] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Richard Purdie
On Wed, 2015-03-11 at 08:33 +, Khem Raj wrote: - Do not mount /var/volatile to be tmpfs always only when generating readonly rootfs - Generate var-volatile.mount unit when using system in readonly-rootfs to mount /var/volatile as tmpfs - for sysvinit, mount /var/volatile to be tmpfs

[OE-core] [PATCH] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
- Do not mount /var/volatile to be tmpfs always only when generating readonly rootfs - Generate var-volatile.mount unit when using system in readonly-rootfs to mount /var/volatile as tmpfs - for sysvinit, mount /var/volatile to be tmpfs if its not already mounted so - Use RequiresMountsFor

Re: [OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Burton, Ross
On 11 March 2015 at 12:37, Jonathan Liu net...@gmail.com wrote: Perhaps. I don't have experience in that area. Just done it, will send the patch once I've eaten lunch. Ross -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Jonathan Liu
On 11/03/2015 11:55 PM, Burton, Ross wrote: On 11 March 2015 at 12:37, Jonathan Liu net...@gmail.com mailto:net...@gmail.com wrote: Perhaps. I don't have experience in that area. Just done it, will send the patch once I've eaten lunch. Ross Thanks. Regards, Jonathan --

Re: [OE-core] [PATCH] linux-yocto-rt: removed duplicated line

2015-03-11 Thread Bruce Ashfield
On 2015-03-11 5:52 AM, Alexandru.Vaduva wrote: Seemed that the recipe contained redundant information. Indeed! Acked-by: Bruce Ashfield bruce.ashfi...@windriver.com Signed-off-by: Alexandru.Vaduva alexandru.vad...@enea.com --- meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | 1 - 1

Re: [OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Burton, Ross
On 11 March 2015 at 07:00, Jonathan Liu net...@gmail.com wrote: This avoids util-linux-fdisk pulling in util-linux and all the associated sub-packages. util-linux is splitting so many packages and adding sub-packages so frequently, could we just do this dynamically? Ross --

Re: [OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Jonathan Liu
On 11/03/2015 11:31 PM, Burton, Ross wrote: On 11 March 2015 at 07:00, Jonathan Liu net...@gmail.com mailto:net...@gmail.com wrote: This avoids util-linux-fdisk pulling in util-linux and all the associated sub-packages. util-linux is splitting so many packages and adding sub-packages

[OE-core] [PATCH 5/5] resolvconf: fix SRC_URI

2015-03-11 Thread Robert Yang
Fixed: WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/r/resolvconf/resolvconf_1.76.tar.xz, attempting MIRRORS if available Signed-off-by: Robert Yang liezhi.y...@windriver.com --- .../resolvconf/resolvconf_1.76.bb |3 +-- 1 file changed, 1 insertion(+),

[OE-core] [PATCH 3/5] apt: fix SRC_URI

2015-03-11 Thread Robert Yang
Fixed: WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/a/apt/apt_0.9.9.4.tar.gz, attempting MIRRORS if available Signed-off-by: Robert Yang liezhi.y...@windriver.com --- meta/recipes-devtools/apt/apt.inc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 4/5] net-tools: fix SRC_URI

2015-03-11 Thread Robert Yang
Fixed: WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/n/net-tools/net-tools_1.60-25.diff.gz;apply=no;name=patch, attempting MIRRORS if available Signed-off-by: Robert Yang liezhi.y...@windriver.com --- .../net-tools/net-tools_1.60-25.bb |4 ++-- 1 file

[OE-core] [PATCH 2/5] libevent: fix SRC_URI

2015-03-11 Thread Robert Yang
The wget reported errors for the past URI since it can't follow the redirection well: Connecting to cloud.github.com (cloud.github.com)|54.192.140.6|:443... connected. OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Unable to establish SSL connection.

[OE-core] [V3 PATCH 0/5] meta: fix SRC_URI

2015-03-11 Thread Robert Yang
* V3 Use git repo for xinetd. * V2: Use snapshot.debian.org for the invalid SRC_URI when possible as Ross suggested. * V1: Initial version // Robert The following changes since commit 99f209a49a4390192b95184ff86bd6f973010111: layer.conf: bump version as error-report interface changed

Re: [OE-core] [PATCH] systemd: Instruct the journal to always be volatile

2015-03-11 Thread Khem Raj
On Mar 11, 2015, at 2:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: When the storage mode for the journal is auto if /var/log/journal exists then the journal will flush to /var/log/journal assuming that /var/log/journal is persistent. However /var/log - /var/volatile/log in poky,

Re: [OE-core] [PATCH] var/volatile: Mount it if doing ro-rfs

2015-03-11 Thread Khem Raj
On Wednesday, March 11, 2015, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Wed, 2015-03-11 at 08:33 +, Khem Raj wrote: - Do not mount /var/volatile to be tmpfs always only when generating readonly rootfs - Generate var-volatile.mount unit when using system in

[OE-core] [PATCH 1/1] util-linux: fix CVE-2014-9114

2015-03-11 Thread Chen Qi
Backport a patch to fix CVE-2014-9114. The patch has been integrated in util-linux-2.26. [YOCTO #7180] Signed-off-by: Chen Qi qi.c...@windriver.com --- .../util-linux/util-linux/CVE-2014-9114.patch | 174 + meta/recipes-core/util-linux/util-linux_2.25.2.bb | 1 + 2

[OE-core] [PATCH 0/1] util-linux: fix CVE-2014-9114

2015-03-11 Thread Chen Qi
The following changes since commit 99f209a49a4390192b95184ff86bd6f973010111: layer.conf: bump version as error-report interface changed (2015-03-10 17:44:56 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/util-linux-CVE-2014-9114

[OE-core] [PATCH] util-linux: split libraries dynamically

2015-03-11 Thread Ross Burton
util-linux has a number of utility libraries and not noticing a new one being added in an upgrade results in many of the split-out core tools depending on the entire package for the library. To prevent this happening in the future do the library packaging dynamically. As a side-effect

Re: [OE-core] [PATCH 1/4] license.bbclass: set dirs for do_populate_lic_setscene

2015-03-11 Thread Christopher Larson
On Wed, Mar 11, 2015 at 1:35 AM, Robert Yang liezhi.y...@windriver.com wrote: Fixed: ERROR: Build of do_populate_lic failed ERROR: Traceback (most recent call last): File bitbake/lib/bb/build.py, line 497, in exec_task return _exec_task(fn, task, d, quieterr) File

Re: [OE-core] [PATCH] systemd: Instruct the journal to always be volatile

2015-03-11 Thread Khem Raj
On Wed, Mar 11, 2015 at 9:18 PM, randy.e.w...@linux.intel.com wrote: On Mar 11, 2015, at 2:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: When the storage mode for the journal is auto if /var/log/journal exists then the journal will flush to /var/log/journal assuming that

Re: [OE-core] [PATCH] systemd: Instruct the journal to always be volatile

2015-03-11 Thread randy . e . witt
On Mar 11, 2015, at 2:28 PM, Randy Witt randy.e.w...@linux.intel.com wrote: When the storage mode for the journal is auto if /var/log/journal exists then the journal will flush to /var/log/journal assuming that /var/log/journal is persistent. However /var/log - /var/volatile/log in poky,

[OE-core] [PATCH 0/1] rootfs.py: fix logic error so that warnings are checked

2015-03-11 Thread Chen Qi
The following changes since commit 99f209a49a4390192b95184ff86bd6f973010111: layer.conf: bump version as error-report interface changed (2015-03-10 17:44:56 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/rootfs-log-check

[OE-core] [PATCH 1/1] rootfs.py: fix logic error so that warnings are checked

2015-03-11 Thread Chen Qi
The following commit caused log checking for warnings not working for RPM rootfs. rootfs.py: ignore NOTE: when catching warnings The problem is that checking for warnings is always skipped because the following statement is always true. if 'log_check' or 'NOTE:' in line: This patch