[yocto] How can i modify the dropbear.service file in ssh-server-dropbear IMAGE_FEATURE

2015-09-11 Thread Vivek Per
Hi, I want to modify changes to the dropbear.service and dropbearkey.service files before yocto creating the final image (This resides in /lib/systemd/system/***.services). This dropbear is added through *IMAGE_FEATURES =+ "ssh-server-dropbear" *in image recipe*.* Can i able to change dro

[yocto] [PATCH][meta-selinux] audit/auvirt: get inline functions work with C99

2015-09-11 Thread wenzong.fan
From: Wenzong Fan This fixes link errors: auvirt.c:484: undefined reference to `copy_str' auvirt.c:667: undefined reference to `is_resource' As gcc5 doc about "Different semantics for inline functions": > C99 extern inline: An externally visible function is generated; \ > same as GNU89

[yocto] [yocto-docs][PATCH] adt-manual: Change mentioning of YOCTOADT_IPKG_REPO to YOCTOADT_REPO

2015-09-11 Thread Pascal Bach
Signed-off-by: Pascal Bach --- documentation/adt-manual/adt-prepare.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml index 01f569f..c69966e 100644 --- a/documentation/adt-manual/adt-prepare

[yocto] [yocto-docs][PATCH] ref-manual: Clarify PACKAGECONFIG in combination with inherit cmake

2015-09-11 Thread Pascal Bach
Signed-off-by: Pascal Bach --- documentation/ref-manual/ref-variables.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 4c4fc22..122b31d 100644 --- a/documentation/ref-manual/r

[yocto] meta-selinux minimum policy

2015-09-11 Thread Divya Vyas
Hi, I have mls and targeted policy installed on my system. I want to have a minimum policy with all user unconfined and nothing restricted. I took a minimum policy from selinux-policy-minium noarch rpm and kept in /etc/selinux folder and edit SELINUXTYPE=minimum. Is this enough to load a new poli

Re: [yocto] How can i modify the dropbear.service file in ssh-server-dropbear IMAGE_FEATURE

2015-09-11 Thread Anders Darander
* Vivek Per [150911 11:18]: > I want to modify changes to the dropbear.service and > dropbearkey.service files before yocto creating the final image (This > resides in /lib/systemd/system/***.services). This dropbear is added > through *IMAGE_FEATURES =+ "ssh-server-dropbear" *in image r

Re: [yocto] [EDT][prelink-cross][PATCH 1/1] bugifx for soname mismatch

2015-09-11 Thread Mark Hatle
I believe the change is incorrect. The soname must match the required soname. So if I am understanding this properly: 1. Create a library (libB.so) with an SONAME of 'libB.so'. 2. Link app to libB.so 3. Create a library (libA.so) with an SONAME of 'libA.so'. 4. remove libB.so ; ln -sf libA.so li

Re: [yocto] [EDT] [PATCH] [prelink-cross] realloc fix memory leak

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/6/15 12:07 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > > Hi Mark, > > Free previously allocated memory if realloc fails. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet narang > Reviewed-by: Akhilesh Kumar > --- > trunk/src

Re: [yocto] [EDT][PATCH][prelink-cross] dso validation check fix

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/6/15 12:16 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi Mark, > > dso null pointer check is wrongly placed. > > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang > Reviewed-by: Ajeet Yadav > --- > trunk/src/rtld/rtld.c

Re: [yocto] [EDT][prelink-cross][PATCH] cleanup code

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/6/15 12:51 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi, > > Remove dso NULL check because before calling this API > already checking for dso NULL and also dso pointer is used before this check. > > Signed-off-by: Akhilesh Kumar > Revie

Re: [yocto] [EDT][prelink-cross] LD_PRELOAD Implementation in Prelink

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/18/15 12:17 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi, > > Subject: [PATCH 1/1] LD_PRELOAD Implementation in Prelink > > prelink fails if there are ld_preload libs present at target with below > error. > expect libsX.so.1, fou

Re: [yocto] [prelink-cross][PATCH 1/1] rtld: remove if check before free

2015-09-11 Thread Mark Hatle
I did not merge this patch. While it's not strictly necessary to get for allocation before free. It's also not a bad practice to do so. --Mark On 6/23/15 7:28 AM, Maninder Singh wrote: > No need of explicit NULL check before free > > Signed-off-by: Maninder Singh > --- > trunk/src/rtld/rtld.

[yocto] Yocto Project Status WW37

2015-09-11 Thread Jolley, Stephen K
Current Dev Position: 1.9 Milestone 3 (M3) Next Deadline: M3 cut off of August 24th at noon GMT (On hold until most likely next week) SWAT team rotation: Beth -> Saul https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: * M3/Feature freeze is still be

[yocto] Issues with yocto and kernel option CONFIG_MULTIUSER

2015-09-11 Thread Robert Calhoun
A new kernel feature, CONFIG_MULTIUSER, was added to the linux kernel in 4.1: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2813893f8b197a14f1e1ddb04d99bce46817c84a This advanced kernel option defaults to “y", see: https://git.kernel.org/cgit/linux/kernel/git/torvald

[yocto] [prelink-cross] New version available

2015-09-11 Thread Mark Hatle
I've pushed a new set of changes to the prelink_cross branch. The change most likely to affect YP users will be the arch-arm fix contributed by Andrew Stubbs (Mentor). This resolves a problem where the prelinker would not work on modern binutils due to a change in the BFD library. For more informa

[yocto] [meta-raspberrypi] rootfs fails

2015-09-11 Thread Edward Vidal
Hello All, My rootfs is failing when adding liba52, libmad, libav. x264, and libav. This is for a raspberrypi2. I updated the meta data on 09/10/15. meta-yocto-bsp    = "fido:d4585fa23d56a58c583ee33db067a23177a936b1" meta-raspberrypi  = "fido:17dad9328b100beda1cf870c9075e509b5cbfa90" meta-oe

Re: [yocto] [meta-raspberrypi] rootfs fails

2015-09-11 Thread Trevor Woerner
Ah good, someone else is seeing the problems I've been seeing :-) In my case it has nothing to do with anything that I'm adding to my image, it just happens (apparently) randomly. Try building again, it might succeed this time. In my case I'm just building plain old "core-image-minimal" with nothi

Re: [yocto] [PATCH][meta-selinux] net-tools: Rename net-tools bbappend with wildcard for minor version.

2015-09-11 Thread Philip Tricca
Woops, duplicate. Please disregard. On 09/10/2015 09:36 PM, Philip Tricca wrote: > Signed-off-by: Philip Tricca > --- > recipes-extended/net-tools/net-tools_1.%.bbappend | 11 +++ > recipes-extended/net-tools/net-tools_1.60-25.bbappend | 11 --- > 2 files changed, 11 insertio

[yocto] [PATCH][meta-selinux 0/8] Update toolstack to 2.4 release dated 2015-02-02.

2015-09-11 Thread Philip Tricca
Update toolstack to 2.4 release dated 2015-02-02. Backport patches to setools for compatibility with new toolstack. Update refpolicy recipe to cope with new policy CIL. Philip Tricca (8): Add common files for 20150202 SELinux userspace release. libsepol: Bump version to 2.4. libselinux: Bump

[yocto] [PATCH][meta-selinux 1/8] Add common files for 20150202 SELinux userspace release.

2015-09-11 Thread Philip Tricca
Note the change in the URL from the last release. We were pulling source tarballs generated by GitHub as part of its reponse to the addition of tags. The SELinux project maintains their own releases on the wiki at: https://github.com/SELinuxProject/selinux/wiki/Releases Signed-off-by: Philip Tricc

[yocto] [PATCH][meta-selinux 2/8] libsepol: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- recipes-security/selinux/libsepol_2.3.bb | 7 --- recipes-security/selinux/libsepol_2.4.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/libsepol_2.3.bb create mode 100644 recipes-security/selinux/l

[yocto] [PATCH][meta-selinux 3/8] libselinux: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- recipes-security/selinux/libselinux_2.3.bb | 15 --- recipes-security/selinux/libselinux_2.4.bb | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 recipes-security/selinux/libselinux_2.3.bb create mode 100644

[yocto] [PATCH][meta-selinux 4/8] checkpolicy: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- recipes-security/selinux/checkpolicy_2.3.bb | 7 --- recipes-security/selinux/checkpolicy_2.4.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_2.3.bb create mode 100644 recipes-security/

[yocto] [PATCH][meta-selinux 5/8] libsemanage: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- ...emanage-disable-expand-check-on-policy-load.patch | 20 +--- recipes-security/selinux/libsemanage_2.3.bb | 17 - recipes-security/selinux/libsemanage_2.4.bb | 18 ++ 3 files changed, 27 insertion

[yocto] [PATCH][meta-selinux 6/8] policycoreutuils: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
This integrates the new hll tool for compiling pp files into cil. The hack to stage pp into the sysroot is a bit weird but the libexec dir seems to be something bitbake doesn't account for. Had to pull one patch from upstream to build the MLS policy. This fixes an error where the auditadm_r and sec

[yocto] [PATCH][meta-selinux 7/8] setools: Add patch to support 2.4 toolstack.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- ...s-Update-for-2015-02-02-Userspace-release.patch | 114 + ...rect-invalid-prototype-for-lsetfilecon_ra.patch | 34 -- recipes-security/setools/setools_3.3.8.bb | 2 +- 3 files changed, 115 insertions(+), 35 deletions(-) creat

[yocto] [PATCH][meta-selinux 8/8] refpolicy: Update policy install and bootstrap process for CIL.

2015-09-11 Thread Philip Tricca
The policy modules are now installed into /var/lib/selinux instead of /etc/selinux. Policies now have priorities. This is represented as part of the path under /var/lib/selinux. The new intermediate policy representation requires that we install the policy package as 3 files (hll, cil & lang_ext) i

Re: [yocto] [prelink-cross] LD_PRELOAD Implementation in Prelink

2015-09-11 Thread Maninder Singh
Hi Mark, Thanks for checking, There is one bug in this patch , we will share the fix after testing probably on monday. Thanks Maninder Singh >>Merged to the staging branch. >On 5/18/15 12:17 AM, Maninder Singh wrote: >> EP-F6AA0618C49C4AEDA73BFF1B39950BAB >> Hi, >> >> Subject: [PATCH 1/1] L

[yocto] Error in openssl during first stage do_rootfs

2015-09-11 Thread Paul D. DeRocco
After two years away from Yocto-land, I've decided to go back into an old project and upgrade it. I installed Fido (I formerly used Danny), made a few changes to my old metadata (bumped up some package version numbers), and created a new stripped down Atom-tuned i386 BSP using yocto-kernel-rt_3.14.