[yocto] [meta-selinux][PATCH] policycoreutils: fix usrmerge install path

2018-08-28 Thread mingli.yu
From: Mingli Yu Set SBINDIR to ${base_sbindir} to fix below issue when usrmerge enabled in DISTRO_FEATURES | ERROR: QA Issue: policycoreutils-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge] | WARNING: policycoreutils-2.7-r0 do_package: QA Issue

[yocto] [meta-cgl][PATCH] ocfs2-tools: fix usrmerge install path

2018-08-28 Thread mingli.yu
From: Mingli Yu Set prefix to fix below issue when usrmerge enabled in DISTRO_FEATURES | WARNING: ocfs2-tools-1.8.5-r0 do_package: QA Issue: ocfs2-tools: Files/directories were installed but not shipped in any package: /sbin/mount.ocfs2 /sbin/o2cb /sbin/o2cluster /sbin/mkfs.ocfs2 /sbi

Re: [yocto] Tracking changes in image

2018-08-28 Thread John, Maxin
Hi Bryan, In addition to what Jon mentioned, “os-release” package in oe-core could help in tracking the operating system identification data in deployed images. Since you are using u-boot, a customized logic involving environment variable in u-boot and accessing it from user-space with tools li

[yocto] Porting rtc-pcf85363.c file

2018-08-28 Thread rohitj.chd
Hi I need to port rtc-pcf85363 driver to older version of linux . Can anyone suggest the patch that can directly work or steps need to be followed. Sent from my Samsung Galaxy smartphone.-- ___ yocto mailing list yocto@yoctoproject.org https://lists.y

Re: [yocto] PyBuild based OpenEmbedded/BitBake recipe

2018-08-28 Thread Burton, Ross
On 20 August 2018 at 01:33, bernardo araujo rodrigues wrote: > Looking at PhantomJS' github repo (https://github.com/ariya/phantomjs), I > realized it's a PyBuild based project. However, I couldn't find any BitBake > class like the setuptools or pypi that would support the build.py script. That b

Re: [yocto] Porting rtc-pcf85363.c file

2018-08-28 Thread Kosta Zertsekel
>> I need to port rtc-pcf85363 driver to older version of linux. What version exactly? --- Kosta Z -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] gRPC: grpc_cpp_plugin is not included in host sysroot for standard sdk

2018-08-28 Thread Kosta Zertsekel
I think it is a very sensible approach to first check in the latest branch. If it is supported in the latest branch - then port it. So - is this thing supported in the latest poky branch? -- ___ yocto mailing list yocto@yoctoproject.org https://lists.y

[yocto] Does yocto support android build tools?

2018-08-28 Thread benxi
Hello Everyone, I'm trying to introduce an android package to my image. As I know, android uses its own build development kit, and uses Android.mk and Android.bp rather than traditional makefiles. I'm curious about if yocto supports such mechanism. Do I have to replace Android.mk and An

Re: [yocto] PyBuild based OpenEmbedded/BitBake recipe

2018-08-28 Thread Burton, Ross
Please remember to CC the list. On 28 August 2018 at 14:40, bernardo araujo rodrigues wrote: > Indeed I thought about calling "python3 build.py" inside the do_compile > task. > > However my doubt is whether this will actually cross compile and integrate > properly with the sysroot, or Python will

[yocto] do_rootfs fails at master with something about glibc-binary-localedata-...

2018-08-28 Thread jan vermaete
Hi, I need a bit of help on Yocto. I have a perfect working project at the latest state of Sumo. However, building the image when having all meta layers at the latest state at master fails. The step 'do_rootfs' gives: -- The following packages have unmet dependencies: locale-base-en-gb : Depend

Re: [yocto] do_rootfs fails at master with something about glibc-binary-localedata-...

2018-08-28 Thread Alexander Kanavin
2018-08-28 16:34 GMT+02:00 jan vermaete : > I have a perfect working project at the latest state of Sumo. > However, building the image when having all meta layers at the latest > state at master fails. > > The step 'do_rootfs' gives: > -- > The following packages have unmet dependencies: > locale

[yocto] Yocto Project Status WW35’18

2018-08-28 Thread Jolley, Stephen K
Current Dev Position: YP 2.6 M3. - This is feature freeze for YP 2.6! Next Deadline: YP 2.6 M3 Build Target is Aug. 27, 2018 SWAT Team Rotation: · SWAT lead is currently: Paul · SWAT team rotation: Paul -> Ross on Aug. 31, 2018 · SWAT team rotation: Ross -> Amanda on S

[yocto] net-snmp_5.8.bb failed to compile

2018-08-28 Thread Simon Chamlian
Hi, Just download net-snmp_5.8.bb but it failed to compile: $ bitbake net-snmp Loading cache: 100% || Time: 0:00:01 Loa

[yocto] Production vs Debug Images

2018-08-28 Thread Bryan Fishell
Hi, Given a target machine, is there a traditional way to produce either a debug image vs a production image? If so, can you give some advice on generally how to do this? I have read about conditionally including a package (or bitbake variable) based on another variable, but that seems error pron

Re: [yocto] net-snmp_5.8.bb failed to compile

2018-08-28 Thread Martin Jansa
Follow the READMEs and don't mix layers from different branches. You need to checkout all repositories with layers from the same branch to be compatible. Now you're mixing newer meta-oe branch with older oe-core branch which doesn't have bb.utils.filter function yet. On Tue, Aug 28, 2018 at 5:17

Re: [yocto] Production vs Debug Images

2018-08-28 Thread Alex Kiernan
On Tue, Aug 28, 2018 at 4:31 PM Bryan Fishell wrote: > > Hi, > > Given a target machine, is there a traditional way to produce either a debug > image vs a production image? If so, can you give some advice on generally how > to do this? > > I have read about conditionally including a package (or

[yocto] Sequential generation of eSDK from with the same workspace fails for similar machines

2018-08-28 Thread Martin Siegumfeldt
Hi, I am subsequently trying to render eSDKs for two different machines from within the same workspace. The first (succeeding) is built according to 'MACHINE="zcu102-zynqmp" bitbake core-image-minimal -c populate_sdk_ext' whereas the second (MACHINE="zcu104-zynqmp" bitbake core-image-minimal -

Re: [yocto] Does yocto support android build tools?

2018-08-28 Thread Khem Raj
On Tue, Aug 28, 2018 at 5:59 AM benxi wrote: > > Hello Everyone, > I'm trying to introduce an android package to my image. As I know, > android uses its own build development kit, and uses Android.mk and > Android.bp rather than traditional makefiles. > I'm curious about if yocto support

Re: [yocto] net-snmp_5.8.bb failed to compile

2018-08-28 Thread Simon Chamlian
How can I avoid mixing branches. I already have a meta-openembedded layer, which supports net-snmp_5.7.3 (which compiles but I want to update). Now I cloned a new meta-openembedded layer, which as net-snmp_5.8. How can I merge the layers (meta-openembedded that I have and the new cloned one)?

Re: [yocto] do_rootfs fails at master with something about glibc-binary-localedata-...

2018-08-28 Thread jan vermaete
It's working. Thanks! I hope deb package will be again fully supported in the next release. Op 28 aug. 2018 4:48 p.m. schreef "Alexander Kanavin" < alex.kana...@gmail.com>: 2018-08-28 16:34 GMT+02:00 jan vermaete : > I have a perfect working project at the latest state of Sumo. > However, buildi

Re: [yocto] do_rootfs fails at master with something about glibc-binary-localedata-...

2018-08-28 Thread Alexander Kanavin
2018-08-28 21:39 GMT+02:00 jan vermaete : > It's working. Thanks! > > I hope deb package will be again fully supported in the next release. Someone has to do the work though. If you truly want it fixed, you know what to do :) Alex -- ___ yocto mailing

Re: [yocto] net-snmp_5.8.bb failed to compile

2018-08-28 Thread Simon Chamlian
Will the following method work? yocto-layer create openembedded*2* and add the path in conf/bblayers.conf By doing this, I will have openembedded where net-snmp version 5.7.3 resides openembedded*2* where net-snmp version 5.8 resides Then issuing bitbake net-snmp it will take the 5.8?

[yocto] Disable cert validation

2018-08-28 Thread Srinivasan, Raja
All I have a situation where our device (yocto - Jethro) is failing to validate a certificate. 12520 EAP-TLS failed SSL/TLS handshake because the client rejected the ISE local-certificate. I would like to disable the cert validation. Is there an nmcli command (or some other way) that I could

[yocto] Morty (2.2.1) Build Verification

2018-08-28 Thread Bryan Fishell
Hi, I've read that some of the ongoing initiatives of the Yocto project is to strive towards binary reproducible builds. I am using a test project with Morty (2.2.1). My custom BSP layer are currently local files.Ultimately I would like to: 1. Know a method of how I can verify my build on two dif

Re: [yocto] Sequential generation of eSDK from with the same workspace fails for similar machines

2018-08-28 Thread ChenQi
The problem is about two machines having the same TUNE_PKGARCH, and could be solved by setting TOOLCHAIN_OUTPUTNAME in your distro conf file to include MACHINE information. But I'm not sure if this is a bug and should be fixed. Let's wait for more opinions. Best Regards, Chen Qi On 08/28/20

[yocto] [meta-selinux][PATCH] libselinux: fix usrmerge do_install

2018-08-28 Thread mingli.yu
From: Mingli Yu When usrmerge enabled in DISTRO_FEATURES, the binary actually installed under ${base_sbindir}, so cannot remove ${D}${base_sbindir} when usrmerge enabled. Signed-off-by: Mingli Yu --- recipes-security/selinux/libselinux.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(