[yocto] python 2to3 conflicts when populating sdk

2015-04-16 Thread Peter Bergin
Hi, I am building an image in daisy branch with both python and python3 included. It works to build the image itself but when trying to make an sdk with 'bitbake image -c populate_sdk' it fails with the following error when packages are installed: error: file /usr/bin/2to3 from install of

Re: [yocto] Move device tree generation from include file to bbclass

2015-04-16 Thread Bach, Pascal
Hi Bruce, Hi Nikolay Adding oe-core, since that's the right place to have a discussion like this. Thanks I'm never sure where to ask what :) As ARM now also moved to device tree it look like in future we will have more kernels that are using device tree then ones that are not.

Re: [yocto] Force to install package last

2015-04-16 Thread Paul Eggleton
Hi David, On Wednesday 15 April 2015 20:22:11 METHOT, DAVID wrote: I made a package recipe to merge files into my final rootfs (mostly init scripts under /etc). These files may be overriden by other packages so it is crucial that they remain intact. I am wondering if there is a way to

[yocto] Yocto Header files?

2015-04-16 Thread testlaster
Hi everyone. I would just like to know if it is possible to get the Yocto Kernel Header files? I need it to build a PCI driver but I cant seem to find a recipe or a download for it. Thanks and kind regards. Testo -- ___ yocto mailing list

[yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread John Ernberg
Hi I was writing a bitbake recipe for a project hosted on a git-server. I applied subpath in order to limit the checkout to a specific directory. When I ran the recipe it failed in do_fetch (or do_unpack) complaining about missing files. It had deleted the entire Yocto directory and selected

[yocto] [poky] Initramfs not appended to kernel image

2015-04-16 Thread Wouter van Rooy
Hello, For the last week or so I have been struggling to build a kernel image with an embedded initramfs using the mechanisms provided by Poky Daisy. In local.conf I have set INITRAMFS_IMAGE_BUNDLE to 1 and INITRAMFS_IMAGE to the name of my image recipe. When I try to build virtual/kernel no

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Paul Eggleton
Hi John, On Thursday 16 April 2015 11:52:48 John Ernberg wrote: I was writing a bitbake recipe for a project hosted on a git-server. I applied subpath in order to limit the checkout to a specific directory. When I ran the recipe it failed in do_fetch (or do_unpack) complaining about missing

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Nicolas Dechesne
On Thu, Apr 16, 2015 at 3:11 PM, Anders Darander and...@chargestorm.se wrote: Running the recipe resulted in do_fetch (or do_unpack) failing again and complaining about missing files. This time the deletion was on a much greater scale, it had deleted so much of my home-dir that my user

Re: [yocto] A simpler way to apply custom config files to an image ?

2015-04-16 Thread Erik Bolton
Hey Laurent: Is your config recipe being built before all the recipes with the default config files and overriding your config files? In that case I would make anything with a config file that you want to override a dependency of your config recipe. What's the actual error? -Erik Sent from

Re: [yocto] A simpler way to apply custom config files to an image ?

2015-04-16 Thread Smith, Virgil
I want to customize various config file of an image I'm building (e.g. network interfaces, sshd banner, hostapd, etc..). Paul Eggleton just gave a response to a similar question Force install package last https://lists.yoctoproject.org/pipermail/yocto/2015-April/024548.html - If not possible

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Paul Eggleton
On Thursday 16 April 2015 15:11:44 Anders Darander wrote: * Paul Eggleton paul.eggle...@linux.intel.com [150416 14:57]: Hi John, On Thursday 16 April 2015 11:52:48 John Ernberg wrote: After restoring everything I re-created the recipe, this time I also saved a copy of the recipe at a

[yocto] How to enable Auto-login

2015-04-16 Thread Parthiban Kandasamy
i built a yocto image with beagleboard-10-dora based on qt-x11. when i boot board every time it asks root login. i checked image.bbclass file , it have set-enable-auto-login function but it is not work. how to disable this feature? -- thanks and regards, parthiban +919790329795 --

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Christopher Larson
On Thu, Apr 16, 2015 at 7:25 AM, Nicolas Dechesne nicolas.deche...@linaro.org wrote: On Thu, Apr 16, 2015 at 3:11 PM, Anders Darander and...@chargestorm.se wrote: Running the recipe resulted in do_fetch (or do_unpack) failing again and complaining about missing files. This time the

[yocto] A simpler way to apply custom config files to an image ?

2015-04-16 Thread Laurent Eschenauer
Hello, I'm stuck on something that I would have assumed trivial and can't managed to do and hope someone can point me to a best practice. I want to customize various config file of an image I'm building (e.g. network interfaces, sshd banner, hostapd, etc..). To make this simple, I wrote my own

[yocto] [RFC] Factory reset

2015-04-16 Thread Aníbal Limón
Hi, Factory reset is a mechanism that is target to do a restore of rootfs image, the target is to provide reference software that helps embedded system vendors to do it easily and to be file system independent. Here is a design proposal to implement Factory reset, next describe the

Re: [yocto] SRCREV Issue for custom linux kernel

2015-04-16 Thread Bruce Ashfield
On 2015-04-15 1:38 AM, Raghavendra Kakarla wrote: Hi Bruce, My recipe is like following: # oe-core kernel classes to apply a subset of yocto kernel # management to git managed kernel repositories. # # Warning: # # Building this kernel without providing a defconfig or BSP #

Re: [yocto] SRCREV Issue for custom linux kernel

2015-04-16 Thread Raghavendra Kakarla
Hi Bruce, Thank you for your reply. I modified the do_validate_sources function in kernel_yocto.bbclasses and now it is working. This issue is resolved now. I have another issue with the package building. While I am trying to build a package which is not present in open embedded git source i