Re: [yocto] SRC_URI issue in recipe writing

2014-06-24 Thread Anders Darander
* Pourya Shirazian [140624 00:58]: > Hi, > When writing a recipe the SRC_URI is supposed to accept git repository > addresses but the following fails to build for me: > 1. With http URL: It also does not allow my credentials to be embedded in the > URI > SRC_URI = "http://mygitserver.net/mypro

[yocto] Compiling openvswitch module in yocto

2014-06-24 Thread Pradeep kumar
*on x-86 openvswitch compiling steps are as follows:* ->./boot.sh ->./configure --with-linux=/lib/modules/`uname -r`/build ->make ->make install by following these steps an openvswitch kernel module get built in *openvswitch-1.10.0/datapath/linux/openvswitch.ko* *i Am using following steps to cr

[yocto] Error in Yocto do_package (cachedpath.py)

2014-06-24 Thread Dr. Markus Eich
Dear all, I am setting up Yocto to compile my kernel for odroid xu. During the package phase of building the kernel, I get an error in cachedpath.py DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing pytho

Re: [yocto] Compiling openvswitch module in yocto

2014-06-24 Thread Gaurang Shastri
Hi, In your recipe, you just need to enable, EXTRA_OECONF = "--with-linux=${STAGING_KERNEL_DIR} KARCH=${TARGET_ARCH}" This will build openvswitch module against your kernel source. I did this and I did not find any issues and it built module against my kernel. Can you paste more logs here ?? /

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Gaurang Shastri
Do you want something like ROOTFS_POSTPROCESS_COMMAND ?? //Gaurang Shastri On Mon, Jun 23, 2014 at 9:26 PM, Patrick Doyle wrote: > Should I create a core-image-minimal.bbappend file with a SRC_URI > pointing to my script and a do_install rule to install it? > > Is there a better way? > > --wpd

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Burton, Ross
On 23 June 2014 16:56, Patrick Doyle wrote: > Should I create a core-image-minimal.bbappend file with a SRC_URI > pointing to my script and a do_install rule to install it? Create a new recipe for the script and then add it to the image. The documentation is useful: http://www.yoctoproject.org/d

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Nicolas Dechesne
On Tue, Jun 24, 2014 at 11:50 AM, Burton, Ross wrote: > On 23 June 2014 16:56, Patrick Doyle wrote: >> Should I create a core-image-minimal.bbappend file with a SRC_URI >> pointing to my script and a do_install rule to install it? > > Create a new recipe for the script and then add it to the imag

Re: [yocto] the apparent need for docbook tag in manual examples

2014-06-24 Thread Robert P. J. Day
On Mon, 23 Jun 2014, Christopher Larson wrote: > > On Sun, Jun 22, 2014 at 6:20 AM, Robert P. J. Day > wrote: >   as i said, it took me a few minutes to figure out what the > conditional metadata example above was trying to demonstrate, but as > soon as i saw a real example in

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Patrick Doyle
Hello Gaurang, Ross, and Nicolas, Thank you for your suggestions. I ended up implementing Ross's suggestion (before I got even got his suggestion) because it was the only answer I could come with on my own where all the pieces made sense. I originally asked the question out of a (most likely misg

[yocto] Compiling Pseudo on Scientific Linux 6.4

2014-06-24 Thread Jack Lovell
Hi I'm having issues running bitbake on SL 6.4. I'm trying to build U-boot, but before I even get to that stage, Pseudo fails on do_install for quilt-native. I keep getting the error message: | The current directory must be set to the ITT directory. | Change the default to the ITT dire

[yocto] Minutes: Yocto Project Technical Team Meeting - Tuesday, June 24, 2014 8:00 AM US Pacific Time

2014-06-24 Thread Jolley, Stephen K
Attendees: Armin, Stephen, Melissa, Tom, Jefro, Herb, Saul, Michael, Richard, Mark, Bruce, Mathew, Nitin, Christian, * Opens collection - 5 min (Stephen) * Yocto 1.7 status - 5 min (Stephen/team) https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.7_Status https://wiki.yoctoproject.org/wiki/

Re: [yocto] File system for alternate partition

2014-06-24 Thread Bollinger, Seth
>I guess I didn¹t think about using a full image as I would need to remove >a bunch of stuff, but maybe that is the best way. That way I can keep the >flexibility of defining recipes that would be installed to my data >partition image. I will give it a try. So I created an empty image without a

Re: [yocto] Adding files to the hddimg

2014-06-24 Thread Francois P. Gallichand
Hello Anders, I don't want to copy files into the rootfs, I know how to do that. It's really in the hddimg that I need to copy files, at the same level as the rootfs. To make a short story, here's what I want to do. I want to use a usb drive to install a system so I "dd" the hddimg to this usb

Re: [yocto] how to set LICENSE for llvm in .bb file

2014-06-24 Thread Randy MacLeod
On 14-04-03 04:54 AM, Guo, Yejun wrote: Thank you Ross, what I actually need is llvm+clang, it is a very good reference for me to resolve the license issue, and the SYSROOT_PREPROCESS_FUNCS knowledge to resolve llvm-config issue. Thanks Yejun Yejun, Did you ever produce a recipe to build c

Re: [yocto] SRC_URI issue in recipe writing

2014-06-24 Thread Pourya Shirazian
Thanks alot Anders, Finally I made it work with ssh: The colon after the domain name should be changed to a / : Wrong) SRC_URI = "g...@mygitserver.net:me/myproject.git;protocol=ssh; branch=master" Correct) SRC_URI = "g...@mygitserver.net/me/myproject.git;protocol=ssh; branch=master" Cheers, On

Re: [yocto] how to set LICENSE for llvm in .bb file

2014-06-24 Thread Guo, Yejun
Hi Randy, See below for the .bb file that Juan and I created to build llvm+clang 3.3, one thing need to mention is that we do not put llvm-config under crossscripts (the .bb file in oe-core does so) since we want the same behavior between yocto build on host and direct build on target. LICENSE