[yocto] Install files in sysroot but not rootfs (ala -dev)

2018-02-06 Thread Koehler, Yannick
I have some file to install in the sysroot/${MACHINE}/usr/share/cmake/Modules, but when I do so, those files also end up on the target. Is moving those files from FILES_${PN} to FILES_${PN}-dev the proper way to fix that and what is the logic that make it so that -dev packages are installed in

Re: [yocto] externalsrc + sstate why is not compatible?

2017-12-06 Thread Koehler, Yannick
, which we also uses. -- Yannick Koehler -Message d'origine- De : Magallon, Marcelo Envoyé : 6 décembre 2017 13:46 À : Koehler, Yannick <yannick.koeh...@hpe.com> Cc : Alexander Kanavin <alexander.kana...@linux.intel.com>; yocto@yoctoproject.org Objet : Re: [yocto] externalsrc

Re: [yocto] externalsrc + sstate why is not compatible?

2017-12-06 Thread Koehler, Yannick
? -- Yannick Koehler -Message d'origine- De : Magallon, Marcelo Envoyé : 6 décembre 2017 09:47 À : Koehler, Yannick <yannick.koeh...@hpe.com> Cc : Alexander Kanavin <alexander.kana...@linux.intel.com>; yocto@yoctoproject.org Objet : Re: [yocto] externalsrc + sstate why is no

Re: [yocto] externalsrc + sstate why is not compatible?

2017-12-06 Thread Koehler, Yannick
with yocto SRC_URI? In regards to file fetcher, I will go check the code, I thought the unpack would only occurs for tarball, not subdir. -- Yannick Koehler -Message d'origine- De : Alexander Kanavin [mailto:alexander.kana...@linux.intel.com] Envoyé : 6 décembre 2017 03:47 À : Koehle

[yocto] externalsrc + sstate why is not compatible?

2017-12-05 Thread Koehler, Yannick
In our situation, we have many packages that are in-house, as such we use a local folder for the several in-house modules. To do so, we need to use externalsrc to point to the local code so that the git repo contains both the code + recipe, instead of 20 repos (1 per packages) and 1 more for

[yocto] Removing /usr/src/debug from image

2017-12-05 Thread Koehler, Yannick
Hi, I have edited my local.conf to remove the debug related EXTRA_IMAGE_FEATURES. My rootfs still contains a /usr/src/debug folder, which I would like to get rid of. This likely come from -dbg package inclusion, which I would like to understand how to control/remove. We are using Yocto

Re: [yocto] Executing ptest using image test ?

2017-11-24 Thread Koehler, Yannick
 : Koehler, Yannick <yannick.koeh...@hpe.com>; yocto@yoctoproject.org Objet : Re: [yocto] Executing ptest using image test ? On 11/24/2017 03:59 PM, Koehler, Yannick wrote: > I had pretty much done all that is documented under 4.21 of this > documentation. I can execute my test with

Re: [yocto] Executing ptest using image test ?

2017-11-24 Thread Koehler, Yannick
or connect the dot between ptest and image test by reading and re-reading section 4.21. -- Yannick Koehler -Message d'origine- De : Alexander Kanavin [mailto:alexander.kana...@linux.intel.com] Envoyé : 24 novembre 2017 07:48 À : Koehler, Yannick <yannick.koeh...@hpe.com>; yocto@yoctop

[yocto] Executing ptest using image test ?

2017-11-23 Thread Koehler, Yannick
I have some ptest which I would like to run quickly inside qemux86. I see that the TEST_SUITES would allow me to do that, and that there is a _ptest.py script which seems to interface with ptest-runner. Yet, I am unclear how it connects together if it does. If anyone know how this can be

Re: [yocto] Generating Package/Image Developer Documentation

2017-11-22 Thread Koehler, Yannick
 : Alexander Kanavin [mailto:alexander.kana...@linux.intel.com] Envoyé : 21 novembre 2017 04:56 À : Koehler, Yannick <yannick.koeh...@hpe.com>; yocto@yoctoproject.org Objet : Re: [yocto] Generating Package/Image Developer Documentation On 11/20/2017 09:53 PM, Koehler, Yannick wrote: >The i

[yocto] Generating Package/Image Developer Documentation

2017-11-20 Thread Koehler, Yannick
Hi, I would like to know if there exists a way to build a set of package Developer documentation. For example, many of our package are written in C/C++ and use Doxygen to generate API reference. I understand that yocto/bitbake has some support for user documentation such as info and man

Re: [yocto] bbappend - FILESEXTRAPATHS

2017-10-20 Thread Koehler, Yannick
: Leonardo Sandoval [mailto:leonardo.sandoval.gonza...@linux.intel.com] Sent: Friday, October 20, 2017 10:39 AM To: Koehler, Yannick <yannick.koeh...@hpe.com> Cc: yocto@yoctoproject.org Subject: Re: [yocto] bbappend - FILESEXTRAPATHS On Fri, 20 Oct 2017 13:30:06 + "Koehler, Y

[yocto] bbappend - FILESEXTRAPATHS

2017-10-20 Thread Koehler, Yannick
Hi, I have been using Yocto for over 2 years now, and whenever I create a new bbappend file, I always have to remember that FILESEXTRAPATHS variable, often typing it wrong, EXTRAFILESPATHS or FILEEXTRAPATHS or FILESEXTRAPATH, etc. I did a quick check on my setup and on 102 bbappend recipe

[yocto] How to configure multi-lines under kernel_module_ variables?

2017-08-11 Thread Koehler, Yannick
I would like to have the following content under my modname.conf. It appears that the module_conf_ is a single-line variable, and I am trying using \n to add a newline character but that doesn't appear to be working. module_conf_modname := "options modname op1=0\n"

[yocto] Upgrading to Yocto 1.8 : Kernel module issue due to missing work-shared//kernel-source

2017-07-18 Thread Koehler, Yannick
Hi guys, Question for you, we were using Yocto 1.6, and I am proceeding to upgrade to 2.2, going one release at a time. Upgrade to 1.7 was with no problem, but 1.8 seems to have an issue due to missing work-shared//kernel-source folder (aka STAGING_KERNEL_DIR or KERNEL_SRC). The folder

[yocto] question regarding share state cache and task dependencies.

2017-06-26 Thread Koehler, Yannick
I was wondering, reading about the shared state cache system, why are the task / recipe dependencies being honored when executing a setscene task? Since there is a "sanity" check that no two package write to the same output files, then could we just run the setscene task without honoring the

[yocto] Shared State Cache and STAGING_KERNEL_DIR

2017-06-26 Thread Koehler, Yannick
Hi, I am in need of assistance. I have a package that install headers required for a kernel modules build out-of-tree. To enable the kernel module to build, I install the required header files under STAGING_KERNEL_DIR, and it works for the first build, subsequent builds failed due to the

Re: [yocto] Can Yocto treat layers like an external package?

2017-05-25 Thread Koehler, Yannick (HPN Aruba)
---Original Message- From: Magallon, Marcelo Sent: Thursday, May 25, 2017 10:40 AM To: Koehler, Yannick (HPN Aruba) <yannick.koeh...@hpe.com> Cc: Andrea Galbusera <giz...@gmail.com>; Trevor Woerner <twoer...@gmail.com>; yocto@yoctoproject.org Subject: Re: [yocto] Can Yocto

Re: [yocto] Can Yocto treat layers like an external package?

2017-05-25 Thread Koehler, Yannick (HPN Aruba)
So far all reply seems to indicate that the fetching and retrieval of additional layers is not a bitbake problem and should be handled with external tools. In my view, I fail to see how fetching a layer is different than fetching sources from a particular package. There is in my opinion two

[yocto] Can Yocto treat layers like an external package?

2017-05-24 Thread Koehler, Yannick (HPN Aruba)
In our development with Yocto, we use vendor provided layers. At this time we have to pull those manually (using git or submodule or other technics) to get the vendor layer on disk before bitbake can start. Does Yocto allow to automatically pull a yocto layer given a uri, branch and other

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Koehler, Yannick (HPN Aruba)
vate layer or not. In any case, the idea of this system is to be flexible and sharing it with you should enable other to gain development speed from that. From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf of Koehler, Yannick (HPN

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Koehler, Yannick (HPN Aruba)
_ From: Joshua Watt <jpewhac...@gmail.com> Sent: Thursday, May 18, 2017 5:37:29 PM To: Koehler, Yannick (HPN Aruba) Cc: yocto@yoctoproject.org Subject: Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass On Thu, May 18, 2017 at 1:11 PM, Koehler, Yannick (HPN Aruba) <yannick.koeh...

[yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Koehler, Yannick (HPN Aruba)
In our environment, we have package that are store inside git in their own repo. Using SRC_URI we fetch the code and build it from the git repo itself and all is fine. When developer wants to change the content of the package, they had to clone, change, commit, push and only then they were

Re: [yocto] running task only for native but not target?

2015-03-13 Thread Koehler, Yannick (HP Networking)
...@linux.intel.com] Envoyé : March-13-15 5:02 AM À : Koehler, Yannick (HP Networking) Cc : yocto@yoctoproject.org Objet : Re: [yocto] running task only for native but not target? Hi Yannick, On Thursday 12 March 2015 19:05:13 Koehler, Yannick wrote: I have a package that produce a binary that I need

[yocto] running task only for native but not target?

2015-03-12 Thread Koehler, Yannick (HP Networking)
I have a package that produce a binary that I need for native, and an C header file that I need for target. I put the following do_install function to install appropriately the bin or header according to the class: do_install_append_class-target () { install -d

[yocto] Building local sources

2015-03-09 Thread Koehler, Yannick (HP Networking)
Hi, I need some help regarding this since I cannot find out how to achieve this. I have a git repo with a lot of code splitted in module, such as: /.git /module_a /module_b Etc... I want to compile those modules using a bitbake recipe within yocto so I created

[yocto] squashfs-tools-native 4.2-r2 fails, missing lzma.h

2015-02-24 Thread Koehler, Yannick (HP Networking)
I recently set my rootfs image fstype to squashfs-xz, and then got this error: NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_compile (log file is located at

Re: [yocto] squashfs-tools-native 4.2-r2 fails, missing lzma.h

2015-02-24 Thread Koehler, Yannick (HP Networking)
to already be in the system meta/classes/sstate.bbclass:ASSUME_PROVIDED += ${SSTATE_PKG_TARZIPPROG}-native Very clever, I will fix that, sorry about this message. Yannick Koehler -Message d'origine- De : Koehler, Yannick (HP Networking) Envoyé : February-24-15 11:21 AM À : 'yocto

Re: [yocto] The kernel *.cfg system

2015-02-24 Thread Koehler, Yannick (HP Networking)
-14.04 TARGET_SYS= arm-poky-linux-gnueabi MACHINE = wandboard-quad DISTRO= poky DISTRO_VERSION= 1.7.1 Which version of yocto are you using by curiosity? thx, -KA On Thu, Feb 19, 2015 at 2:17 PM, Koehler, Yannick (HP Networking) yannick.koeh...@hp.com wrote: Hi

[yocto] The kernel *.cfg system

2015-02-19 Thread Koehler, Yannick (HP Networking)
Hi, I recently was playing with the FreeScale community layer meta-fsl-ppc. They are using their own kernel package linux-qoriq-sdk. I attempted to alter the configuration file using a systemd.cfg for the pleasure, to my surprise, the .cfg didn't change anything at all. Is FreeScale

Re: [yocto] do_rootfs missing package (ipk) or not found in base feeds (rpm)

2015-01-07 Thread Koehler, Yannick (HP Networking)
 : Koehler, Yannick (HP Networking) Envoyé : January-07-15 1:13 PM À : 'Paul Eggleton' Cc : yocto@yoctoproject.org Objet : RE: [yocto] do_rootfs missing package (ipk) or not found in base feeds (rpm) Thanks for the fast reply, yes, the packages-split/libutil is empty. As stated, I produce a .so

Re: [yocto] do_rootfs missing package (ipk) or not found in base feeds (rpm)

2015-01-07 Thread Koehler, Yannick (HP Networking)
! -- Yannick Koehler -Message d'origine- De : Paul Eggleton [mailto:paul.eggle...@linux.intel.com] Envoyé : January-07-15 12:59 PM À : Koehler, Yannick (HP Networking) Cc : yocto@yoctoproject.org Objet : Re: [yocto] do_rootfs missing package (ipk) or not found in base feeds (rpm) Hi

[yocto] do_rootfs missing package (ipk) or not found in base feeds (rpm)

2015-01-07 Thread Koehler, Yannick (HP Networking)
Hi, I created my second recipe in Yocto, it is a shared library. -- SUMMARY = libutil LICENSE = LGPLv2.1+ LIC_FILES_CHKSUM = file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 SRC_URI = file://libutil-${PV}-Source.tar.bz2 SRC_URI[md5sum] = ??? SRC_URI[sha256sum] = ??? S =

Re: [yocto] Package Feature compile/runtime dependency

2014-12-17 Thread Koehler, Yannick (HP Networking)
. At least in my opinion, building with poky-tiny gives me currently around 1500 build tasks, where poky pulls over 2500, this shows how much more stuff Poky pulls in, no? -- Yannick Koehler De : Burton, Ross [mailto:ross.bur...@intel.com] Envoyé : December-16-14 3:42 PM À : Koehler, Yannick

[yocto] Package Feature compile/runtime dependency

2014-12-12 Thread Koehler, Yannick (HP Networking)
I played with the system yesterday and find Yocto to be great. Being a Gentoo user, I love the approach taken and see lots of enhancements made. The biggest one is that fact that some packages, like the kernel and glibc got break down in a set of feature that can be better controlled than

Re: [yocto] Package Feature compile/runtime dependency

2014-12-12 Thread Koehler, Yannick (HP Networking)
Koehler HP Networking Mobility De : Burton, Ross [mailto:ross.bur...@intel.com] Envoyé : December-12-14 9:56 AM À : Koehler, Yannick (HP Networking) Cc : yocto@yoctoproject.org Objet : Re: [yocto] Package Feature compile/runtime dependency On 12 December 2014 at 14:13, Koehler, Yannick (HP Networking

Re: [yocto] Package Feature compile/runtime dependency

2014-12-12 Thread Koehler, Yannick (HP Networking)
the packages I need, but also add feature to some package like the kernel/libc that are required by such addition. Yannick Koehler HP Networking Mobility -Message d'origine- De : Anders Darander [mailto:and...@chargestorm.se] Envoyé : December-12-14 10:19 AM À : Koehler, Yannick (HP

[yocto] Poky-tiny core-image-minimal issue

2014-12-10 Thread Koehler, Yannick (HP Networking)
Hi, I am new to Yocto, poky and anything in here. I am having difficulty just running example I see in the documentation and would like to get pass that. My goal, run poky-tiny/core-image-mimimal image inside qemux86 (should be basic from what I understand). I changed my local.conf to

Re: [yocto] Poky-tiny core-image-minimal issue

2014-12-10 Thread Koehler, Yannick (HP Networking)
Did a little more digging and found that adding ext2 to poky-tiny.cfg and it worked, maybe this should be push to repository: # Functionality flags KERNEL_FEATURES = ext2 -- Yannick Koehler -Message d'origine- De : Koehler, Yannick (HP Networking) Envoyé : December-10-14 9:53 AM À

[yocto] parallel build of multiple machine/os?

2014-12-10 Thread Koehler, Yannick (HP Networking)
Can Yocto build for example in a single bitbake call an image for x86, ppc, arm, others? Or is the call to bitbake limited to a single architecture? And if so, how? I see that lots of *-native package are built, and I guess is that for each machine/os those would be reused, as such, it