[yocto] How to add some additional enviroment variables to /etc/profile file while building IMAGE

2016-03-07 Thread Vivek Per
Hi, i want to add some additional enviroment variables in /etc/profile file. How can i add these while building, so that it reflect in my target image. Thanks and regards vivek -- ___ yocto mailing list yocto@yoctoproject.org https://lists

Re: [yocto] How to add some additional enviroment variables to /etc/profile file while building IMAGE

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 10:20, Vivek Per wrote: > i want to add some additional enviroment variables in /etc/profile > file. How can i add these while building, so that it reflect in my target > image. > base-files is the recipe that ships /etc/profile, so you can use a bbappend to either replac

Re: [yocto] [PATCH] documentation: remove all references to Hob

2016-03-07 Thread Barros Pena, Belen
On 04/03/2016 19:20, "yocto-boun...@yoctoproject.org on behalf of akuster808" wrote: >On 3/4/16 8:49 AM, Belen Barros Pena wrote: >> From: Belen Barros Pena >> >> Hob and the packageinfo class have now been removed from the code base. >> This patch removes all references to: >> >> * Hob >> * m

Re: [yocto] Howto change the default shell in yocto?

2016-03-07 Thread Oliver Graute
On 05/03/16, Burton, Ross wrote: > On 5 March 2016 at 11:48, Oliver Graute wrote: > > > first the default *system* shell (/bin/sh) is this possible? or does this > > affect > > to much of the yoco system itself, if I change /bin/sh to /bin/dash? > > > > bash is only the default shell (ie symlink

[yocto] [meta-qt3][PATCH] classes: add qmake_base.bbclass

2016-03-07 Thread Adrian Dudau
The class was removed from oe classes, but some recipes like qt-x11-free still inherit it. Keep the class within the layer to acommmodate them. Signed-off-by: Adrian Dudau --- classes/qmake_base.bbclass | 119 + 1 file changed, 119 insertions(+) creat

[yocto] Adding lxc support to image

2016-03-07 Thread Biyani Arun (CM/ESC-NA)
I would like to include lxc style container support in poky image. I added "meta-virtualization" to my bblayers.conf. I now get errors when running "bitbake-layers show-recipes". Parsing recipes..ERROR: No recipes available for: /home/fcadev/GR_Yocto/meta-virtualization/recipes-kernel/linux/li

Re: [yocto] Adding lxc support to image

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 13:52, Biyani Arun (CM/ESC-NA) wrote: > I would like to include lxc style container support in poky image. I added > “meta-virtualization” to my > bblayers.conf. I now get errors when running “bitbake-layers show-recipes”. > > Parsing recipes..ERROR: No recipes available for: >

Re: [yocto] [meta-selinux][PATCH] audit: upgrade 2.4.4 -> 2.5

2016-03-07 Thread Radzykewycz, T (Radzy)
> From: Philip Tricca [fl...@twobit.us] > Sent: Sunday, March 06, 2016 3:38 PM > To: Radzykewycz, T (Radzy); joe_macdon...@mentor.com; Hatle, Mark > Cc: yocto@yoctoproject.org; Li, Rongqing; Fan, Wenzong > Subject: Re: [meta-selinux][PATCH] audit: upgrade 2

Re: [yocto] [meta-selinux][PATCH] audit: upgrade 2.4.4 -> 2.5

2016-03-07 Thread Mark Hatle
On 3/6/16 5:38 PM, Philip Tricca wrote: > Tested this today and it works as expected: thanks! > > This leaves the same PR value as the previous version. The OE style > guide thinks PR should be removed when PV changes. Since we're going > from 2.4.4 -> 2.5 this makes me think that since PV changes

Re: [yocto] [meta-selinux][PATCH] busybox: explicitly set temporary shell scripts to be executable

2016-03-07 Thread Alejandro del Castillo
On 03/01/2016 11:43 PM, Philip Tricca wrote: > On 03/01/2016 02:58 PM, Alejandro del Castillo wrote: >> I first started looking at busybox postinst (modified on meta-selinux) since >> I >> am getting errors during "opkg upgrade buysbox". The errors that I am getting >> are of the form: >> >> upd

Re: [yocto] [PATCH] udev: Rename udev bbappend to eudev.

2016-03-07 Thread Fred Ollinger
Can someone please let me know what the reasoning behind the switch to eudev? Sincerely, Frederick From: yocto-boun...@yoctoproject.org on behalf of Philip Tricca Sent: Sunday, March 6, 2016 12:08 PM To: mark.ha...@windriver.com Cc: yocto@yoctoproject.o

Re: [yocto] [PATCH] udev: Rename udev bbappend to eudev.

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 17:15, Fred Ollinger wrote: > Can someone please let me know what the reasoning behind the switch to > eudev? > udev is unmaintained and many desktop Linux systems have already either migrated to systemd or are using a modern udev ripped out of systemd (which would be eudev).

Re: [yocto] Failed to fetch URL git://gitorious.org/raw2rgbpnm/raw2rgbpnm.git

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 19:11, Mark Brown wrote: > WARNING: Failed to fetch URL git:// > gitorious.org/raw2rgbpnm/raw2rgbpnm.git;protocol=git, attempting MIRRORS > if available > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > Cloning into bare repository > '/home/bbusr/buil

[yocto] Raspberry Pi 2 BSP build problem

2016-03-07 Thread Alan Hughes
I've been trying to build a BSP using Yocto 2.0 (Jethro) targetting a Raspberry Pi 2. Everything goes OK until we reach the point of building the "u-boot-rpi" package, at which point it blows up saying that it cannot find the file "linux/compiler-gcc5.h". I've looked on the web for any clues, bu

[yocto] [PATCH 01/13] Add include file for the 20160223 SELinux userspace release.

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- recipes-security/selinux/selinux_20160223.inc | 5 + 1 file changed, 5 insertions(+) create mode 100644 recipes-security/selinux/selinux_20160223.inc diff --git a/recipes-security/selinux/selinux_20160223.inc b/recipes-security/selinux/selinux_20160223.in

[yocto] [PATCH 02/13] libsepol: uprev to 2.5 (release 20160223)

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- recipes-security/selinux/libsepol_2.4.bb | 9 - recipes-security/selinux/libsepol_2.5.bb | 9 + 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 recipes-security/selinux/libsepol_2.4.bb create mode 100644 recipes-security/sel

[yocto] [PATCH 03/13] libselinux: uprev to 2.5 (20160223)

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- ...bselinux-get-pywrap-depends-on-selinux.py.patch | 31 - .../libselinux-make-O_CLOEXEC-optional.patch | 67 ++-- .../libselinux-mount-procfs-before-check.patch | 74 -- recipes-security/selinux/libselinux_2

[yocto] [PATCH 04/13] libsemanage: uprev to 2.5 (20160223)

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- recipes-security/selinux/libsemanage.inc | 3 ++ ...ibsemanage-allow-to-disable-audit-support.patch | 49 ++ recipes-security/selinux/libsemanage_2.4.bb| 19 - recipes-security/selinux/libsemanage_2.5.bb| 19

[yocto] [PATCH 08/13] secilc: Add recipe

2016-03-07 Thread Stephen Smalley
SELinux Common Intermediate Language (CIL) policy compiler Signed-off-by: Stephen Smalley --- recipes-security/selinux/secilc.inc| 11 +++ recipes-security/selinux/secilc_2.5.bb | 7 +++ 2 files changed, 18 insertions(+) create mode 100644 recipes-security/selinux/secilc.inc c

[yocto] [PATCH 07/13] sepolgen: uprev to 1.2.3 (20160223)

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- recipes-security/selinux/sepolgen_1.2.1.bb | 7 --- recipes-security/selinux/sepolgen_1.2.3.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/sepolgen_1.2.1.bb create mode 100644 recipes-security/s

[yocto] [PATCH 05/13] checkpolicy: uprev to 2.5 (20160223)

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- recipes-security/selinux/checkpolicy.inc| 2 +- recipes-security/selinux/checkpolicy_2.4.bb | 7 --- recipes-security/selinux/checkpolicy_2.5.bb | 7 +++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 recipes-security/selinux/ch

[yocto] [PATCH 09/13] Delete include files for 20140506 and 20150202 releases.

2016-03-07 Thread Stephen Smalley
These include files are no longer used by any .bb files. Signed-off-by: Stephen Smalley --- recipes-security/selinux/selinux_20140506.inc | 5 - recipes-security/selinux/selinux_20150202.inc | 5 - 2 files changed, 10 deletions(-) delete mode 100644 recipes-security/selinux/selinux_2014

[yocto] [PATCH 10/13] refpolicy: update for change in libsemanage 2.5

2016-03-07 Thread Stephen Smalley
libsemanage 2.5 renamed /var/lib/selinux/tmp to /var/lib/selinux/final; update the refpolicy recipe accordingly. Signed-off-by: Stephen Smalley --- recipes-security/refpolicy/refpolicy_common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-security/refpolicy/r

[yocto] [PATCH 06/13] policycoreutils: uprev to 2.5 (20160223)

2016-03-07 Thread Stephen Smalley
Signed-off-by: Stephen Smalley --- ...cycoreutils-fix-TypeError-for-seobject.py.patch | 27 - .../policycoreutils-pp-builtin-roles.patch | 70 -- ...-process-ValueError-for-sepolicy-seobject.patch | 23 --- .../policycoreutils-semanage-edit-user.patch

[yocto] [PATCH 12/13] libselinux: Only mount /proc if necessary

2016-03-07 Thread Stephen Smalley
selinux upstream commit 5a8d8c499b2ef80eaa7b5abe2ec68d7101e613bf Signed-off-by: Stephen Smalley --- .../libselinux-only-mount-proc-if-necessary.patch | 54 ++ recipes-security/selinux/libselinux_2.5.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 re

[yocto] [PATCH 13/13] libselinux: procattr fixes

2016-03-07 Thread Stephen Smalley
selinux upstream commits c7cf5d8aa061b9616bf9d5e91139ce4fb40f532c and f77021d720f12767576c25d751c75cacd7478614 Signed-off-by: Stephen Smalley --- ...bselinux-procattr-return-einval-for-0-pid.patch | 47 ++ ...inux-procattr-return-error-on-invalid-pid.patch | 40 ++

[yocto] [PATCH 11/13] refpolicy: Add support for the SYSTEMD build.conf option.

2016-03-07 Thread Stephen Smalley
refpolicy has introduced a new build.conf option, SYSTEMD=y, to enable rules specific to using systemd as the init system. In particular, without setting this option, rules for direct domain transitions from init_t to daemon domains are not included in the policy. Define a POLICY_SYSTEMD variable

Re: [yocto] Raspberry Pi 2 BSP build problem

2016-03-07 Thread Trevor Woerner
This looks like the problem we were experiencing a while back when we were switching from gcc-4x to gcc-5x. If I remember correctly, a certain range of slightly older kernel/u-boot could not be compiled by gcc-5x toolchains without a patch. You could look around for that patch. Or you could tr

Re: [yocto] Failed to fetch URL git://gitorious.org/raw2rgbpnm/raw2rgbpnm.git

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 21:24, Mark Brown wrote: > I do not see anything in /poky/meta-gumstix-extras/recipes-images/gumstix/ > gumstix-console-image.bb > which mentions protocol or protocol=git. > In the raw2rgbpnm recipe, meta-gumstix-extras/recipes-graphics/raw2rgbpnm/ raw2rgbpnm_git.bb accordin

Re: [yocto] Raspberry Pi 2 BSP build problem

2016-03-07 Thread Andrei Gherzan
On Mon, Mar 7, 2016 at 9:10 PM, Alan Hughes wrote: > I've been trying to build a BSP using Yocto 2.0 (Jethro) targetting a > Raspberry Pi 2. Everything goes OK until we reach the point of building the > "u-boot-rpi" package, at which point it blows up saying that it cannot find > the file "linux/

[yocto] packages with PKGSIZE 0

2016-03-07 Thread Bhanagay, Sagar
Hello, I was going through the list of packages installed in the image (as per the manifest file). I noticed that metadata information for these packages is present at - /build/tmp/sysroots/NAME/pkgdata/runtime/ Now I do notice that rarely for a few packages mentioned in the manifest list, the

Re: [yocto] packages with PKGSIZE 0

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 21:46, Bhanagay, Sagar wrote: > I was going through the list of packages installed in the image (as per > the manifest file). > > I noticed that metadata information for these packages is present at - > > */build/tmp/sysroots/NAME/pkgdata/runtime/* > > > > Now I do notice that

Re: [yocto] packages with PKGSIZE 0

2016-03-07 Thread Bhanagay, Sagar
I see! This is good information, Ross. Truly appreciate the insight. Thanks ~Sagar From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Monday, March 7, 2016 1:51 PM To: Bhanagay, Sagar Cc: yocto@yoctoproject.org Subject: Re: [yocto] packages with PKGSIZE 0 On 7 March 2016 at 21:46, Bhanagay

[yocto] [meta-selinux][PATCH 1/1] refpolicy_git: change SRCREV names

2016-03-07 Thread Joe Slater
When we define several SRCREV_x variables, it is not safe to make any name a subset of another one because SRCREV_FORMAT may be expanded improperly. This occurs only rarely, but it does happen. Signed-off-by: Joe Slater --- recipes-security/refpolicy/refpolicy_git.inc |6 +++--- 1 file chang

[yocto] [meta-security][PATCH] libsecomp: update to 2.3.0

2016-03-07 Thread Armin Kuster
Signed-off-by: Armin Kuster --- recipes-security/libseccomp/libseccomp.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-security/libseccomp/libseccomp.bb b/recipes-security/libseccomp/libseccomp.bb index b197fca..20dfc79 100644 --- a/recipes-security/libseccomp/

Re: [yocto] [meta-security][PATCH] samhain-client: Erorr Fix

2016-03-07 Thread akuster808
merged. thanks -armin On 03/06/2016 07:49 PM, Li Xin wrote: > The Error is as following: > # /usr/sbin/samhain -t init -p info > .. > Segmentation fault > # echo $? > 139 > > Signed-off-by: Li Xin > --- > recipes-security/samhain/samhain.inc | 7 ++- > 1 file changed, 6 insertions

Re: [yocto] [PATCH 01/13] Add include file for the 20160223 SELinux userspace release.

2016-03-07 Thread Khem Raj
On Tue, Mar 8, 2016 at 3:52 AM, Stephen Smalley wrote: > Signed-off-by: Stephen Smalley > --- > recipes-security/selinux/selinux_20160223.inc | 5 + > 1 file changed, 5 insertions(+) > create mode 100644 recipes-security/selinux/selinux_20160223.inc > > diff --git a/recipes-security/selinux

[yocto] Reminder: Yocto Project Technical Team Meeting - Tuesday, Mar. 8, 2016 8:00 AM US Pacific Time

2016-03-07 Thread Jolley, Stephen K
Tuesday, Mar. 8, 2016 8:00 AM US Pacific Time Agenda: * Opens collection - 5 min (Stephen) * Yocto Project status - 5 min (Stephen/team) https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.1_Status https://wiki.yoctoproject.org/wiki/Yocto_2.1_Schedule https://wiki.yoctoproject.org/wiki/Yo