Re: [yocto] Creating a EXT4 rootfs instead of EXT3: How?

2014-01-08 Thread Nick D'Ademo
Thanks for the reply Nicolas. It seems the problem is that .hddimg uses EXT3 by default (after looking at image_types.bbclass). The ROOTFS type for my build is set in /meta/conf/machine/include/ia32-base.inc: IMAGE_FSTYPES += "live" Is there a way to make the HDDIMG use EXT4 instead? Thanks, Ni

[yocto] PR server question

2014-01-08 Thread Gary Thomas
I'm using a local PR server for my builds, working on my Linux kernel. When I run this sequence: $ bitbake virtual/kernel -c devshell ... fiddle with some kernel sources $ bitbake virtual/kernel -C compile; bitbake package-index I notice that the package revision for 'kernel-image-*' goes

Re: [yocto] PR server question

2014-01-08 Thread Martin Jansa
On Wed, Jan 08, 2014 at 05:00:12AM -0700, Gary Thomas wrote: > I'm using a local PR server for my builds, working on my Linux > kernel. When I run this sequence: >$ bitbake virtual/kernel -c devshell > ... fiddle with some kernel sources >$ bitbake virtual/kernel -C compile; bitbake p

[yocto] Smart PM for upgrade the full image

2014-01-08 Thread Tarek El-Sherbiny
Hi All, I have several targets deployed in multiple sites. Each target might be running a different version of the product rootfs image. When I release a new rootfs image I would like to use the smart command on each target at the customer site to upgrade the software to the latest image. Going

Re: [yocto] Smart PM for upgrade the full image

2014-01-08 Thread Paul Eggleton
Hi Tarek, On Wednesday 08 January 2014 12:52:42 Tarek El-Sherbiny wrote: > I have several targets deployed in multiple sites. Each target might be > running a different version of the product rootfs image. When I release a > new rootfs image I would like to use the smart command on each target a

Re: [yocto] Upgrade Kernel using smart

2014-01-08 Thread Paul Eggleton
Hi Tarek, On Monday 06 January 2014 18:13:39 Tarek El-Sherbiny wrote: > When I typed the command "smart upgrade" smart detected over a 100 kernel > module that needs to be installed. > Most of these modules are not relevant and not installed on my system. > How do I tell smart to check and upgrade

Re: [yocto] Smart PM for upgrade the full image

2014-01-08 Thread Tarek El-Sherbiny
Hi Paul, Thank you for your replay. Smart upgrade only upgrades packages that is currently installed. It doesn't install new packages nor remove unwanted packages. Is that not true? Thanks, Tarek On Wed, Jan 8, 2014 at 1:33 PM, Paul Eggleton wrote: > Hi Tarek, > > On Wednesday 08 January 201

Re: [yocto] Creating a EXT4 rootfs instead of EXT3: How?

2014-01-08 Thread Nicolas Dechesne
On Wed, Jan 8, 2014 at 11:55 AM, Nick D'Ademo wrote: > Thanks for the reply Nicolas. > > It seems the problem is that .hddimg uses EXT3 by default (after looking > at image_types.bbclass). > yeah, you're right. ext3 is pretty much hard coded there (and in image-live.bbclass) > The ROOTFS type f

Re: [yocto] Problem & Question about FILES_${PN}

2014-01-08 Thread Nicolas Dechesne
On Tue, Jan 7, 2014 at 9:59 PM, Reeve Yang wrote: > As you suggested, I removed ${libdir}/${BPN}/*${SOLIBSDEV} from > "FILES_${PN}-dev", but now I'm getting this error: > > ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: > syslog-ng path > '/work/x86_64-poky-linux/syslog-

Re: [yocto] Smart PM for upgrade the full image

2014-01-08 Thread Paul Eggleton
On Wednesday 08 January 2014 14:07:57 Tarek El-Sherbiny wrote: > On Wed, Jan 8, 2014 at 1:33 PM, Paul Eggleton > wrote: > > On Wednesday 08 January 2014 12:52:42 Tarek El-Sherbiny wrote: > > > I have several targets deployed in multiple sites. Each target might be > > > running a different versi

Re: [yocto] Smart PM for upgrade the full image

2014-01-08 Thread Tarek El-Sherbiny
Hi Paul, Thanks for your reply. As a work around I think I can dump a list of the installed packages from a target that is running the latest SW. $smart query --installed --hide-version > file.txt Then on customer targets I could run the install command: $smart install `echo $(cat file.txt)` -y

[yocto] Initial posting..

2014-01-08 Thread Jeff Sondermeyer
To whom it may concern, I am new to the Yocto Project (as is my company Biamp). We have started a new x86 project and bought 4 seats of Intel System Studio. I am using YoctoProject and have built a NUC image which works. I have tried using Hob with limited success. It seems to error out oft

Re: [yocto] Yocto and ccache

2014-01-08 Thread Trevor Woerner
On 01/07/14 02:50, Søren Holm wrote: > How to I make yocto utilize ccache - it does not seem to do it on it's own? I don't think it's necessary to explicitly use ccache since the OE/Yocto framework already provides a sstate.bbclass which implements this sort of logic and is designed to work better

Re: [yocto] Yocto and ccache

2014-01-08 Thread Søren Holm
> I don't think it's necessary to explicitly use ccache since the OE/Yocto > framework already provides a sstate.bbclass which implements this sort > of logic and is designed to work better with the sorts of things bitbake > does: Yes, it does only cache complete compiled and packed recipes. My w

[yocto] exception MalformedUrl error

2014-01-08 Thread Zafrullah Syed
Hi all, I tried to apply a patch directly to linux-gumstix_3.5.7.bb and kept .patch file in /yocto/poky/meta-gumstix/recipes-kernel/linux/linux-gumstix-3.5/ directory along with other patches, and ran bitbake gumstix-console-image. Output: ERROR: ExpansionError during parsing /home/zaif/yocto/po

[yocto] [meta-selinux][PATCH 00/10] selinux userspace: uprev packages to release 20131030

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Changes: 1) Uprev selinux packages to release 20131030; 2) Fix build dependency to libsemanage; 3) Fix QA issues to policycoreutils; 4) Update LIC_FILES_CHKSUM for selinux packagegroups. Some Tests: 1) build test: - add meta-selinux path to conf/bblayers.conf; - add DISTRO_FEAT

[yocto] [meta-selinux][PATCH 04/10] libsemanage: migrate SRC_URI to 2.2

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Updated patch: - libsemanage-fix-path-nologin.patch Signed-off-by: Wenzong Fan --- .../libsemanage/libsemanage-fix-path-nologin.patch |9 + recipes-security/selinux/libsemanage_2.2.bb|6 +++--- recipes-security/selinux/libsemanage_git.bb|3

[yocto] [meta-selinux][PATCH 01/10] selinux userspace: uprev packages to release 20131030

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Upreved packages: - checkpolicy to 2.2 - libselinux to 2.2 - libsemanage to 2.2 - libsepol to 2.2 - policycoreutils to 2.2.5 - sepolgen to 1.2.1 Migrate patches in next commits. Signed-off-by: Wenzong Fan --- .../{checkpolicy_2.1.12.bb => checkpolicy_2.2.bb} |0 .

[yocto] [meta-selinux][PATCH 02/10] checkpolicy: migrate SRC_URI to 2.2

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/selinux/checkpolicy_2.2.bb |6 +++--- recipes-security/selinux/checkpolicy_git.bb |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-security/selinux/checkpolicy_2.2.bb b/recipes-security/selin

[yocto] [meta-selinux][PATCH 03/10] libselinux: migrate SRC_URI and patches to 2.2

2014-01-08 Thread wenzong.fan
From: Wenzong Fan These two patches are removed since they are merged by new version: - libselinux-fix-init-load-policy.patch - libselinux-pcre-link-order.patch Signed-off-by: Wenzong Fan --- .../libselinux-fix-init-load-policy.patch | 27 - .../libselinux/libselin

[yocto] [meta-selinux][PATCH 07/10] sepolgen: migrate SRC_URI to 1.2.1

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/selinux/sepolgen_1.2.1.bb |6 +++--- recipes-security/selinux/sepolgen_git.bb |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-security/selinux/sepolgen_1.2.1.bb b/recipes-security/selinux/

[yocto] [meta-selinux][PATCH 06/10] policycoreutils: migrate SRC_URI and patches to 2.2.5

2014-01-08 Thread wenzong.fan
From: Wenzong Fan This patch is removed since it is merged by new version: - policycoreutils-fix-strict-prototypes.patch These two patches are updated: - policycoreutils-fix-sepolicy-install-path.patch - policycoreutils-make-O_CLOEXEC-optional.patch Signed-off-by: Wenzong Fan --- recipes-s

[yocto] [meta-selinux][PATCH 05/10] libsepol: migrate SRC_URI to 2.2

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Removed patch and ported changes to 2.2 bbfile: - libsepol-Change-ranlib-for-cross-compiling.patch Signed-off-by: Wenzong Fan --- recipes-security/selinux/libsepol.inc |5 +++- ...ibsepol-Change-ranlib-for-cross-compiling.patch | 31 r

[yocto] [meta-selinux][PATCH 08/10] libsemanage: add audit dependency

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Building libsemanage 2.2 need the header libaudit.h. Signed-off-by: Wenzong Fan --- recipes-security/audit/audit_2.3.2.bb|8 +++- recipes-security/selinux/libsemanage.inc |2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/recipes-security/au

[yocto] [meta-selinux][PATCH 09/10] policycoreutils: fix QA issues

2014-01-08 Thread wenzong.fan
From: Wenzong Fan ERROR: QA Issue: policycoreutils: Files/directories were installed \ but not shipped /usr/share/icons/hicolor/24x24/apps/system-config-selinux.png /usr/share/bash-completion/completions/setsebool /usr/share/bash-completion/completions/sepolicy /usr/share/bash-completion/

[yocto] [meta-selinux][PATCH 10/10] selinux packagegroups: update LIC_FILES_CHKSUM

2014-01-08 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- .../packagegroups/packagegroup-core-selinux.bb |2 +- .../packagegroups/packagegroup-selinux-minimal.bb |2 +- .../packagegroup-selinux-policycoreutils.bb|2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[yocto] [meta-selinux][PATCH 1/1] refpolicy: fix real path for udevd

2014-01-08 Thread wenzong.fan
From: Wenzong Fan In Yocto the real path for udevd is /lib/udev/udevd, this patch fixes the init issues like: udevd[87]: setfilecon /dev/vcsa2 failed: Operation not permitted udevd[89]: setfilecon /dev/fb0 failed: Operation not permitted Signed-off-by: Wenzong Fan --- .../refpolicy-2.20130424

[yocto] [meta-selinux][PATCH 0/1] refpolicy: fix real path for udevd

2014-01-08 Thread wenzong.fan
From: Wenzong Fan In Yocto the real path for udevd is /lib/udev/udevd, this patch fixes the init issues like: udevd[87]: setfilecon /dev/vcsa2 failed: Operation not permitted udevd[89]: setfilecon /dev/fb0 failed: Operation not permitted The following changes since commit 2209cb5fc2

[yocto] hob build failed with an error Nothing RPROVIDES libgstinterfaces-0.10

2014-01-08 Thread Khaja Hussain Shaik
error: Required build target 'hob-image-20140108-135930' has no buildable providers. Missing or unbuildable dependency chain was ['hob- image-20140108-135930', 'libgstinterfaces-0.10'] Any clues what could cause the problem. Thanks &a