[yocto] do_compile failed

2014-06-06 Thread Kashyap Gada
Hello While bitbake was running my pc froze. I did a restart and then started bitbake command again. After that getting following error ERROR: Function failed: do_compile (log file is located at /home/kashyap/kashyap/yocto/poky/minimal/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_compil

Re: [yocto] List of Binary Files from a recipe

2014-06-06 Thread Gary Thomas
On 2014-06-06 15:25, Bharath Chandra wrote: Hi Ross, Using rpm, I was able to trace back recipe files for all the files except for files in a folder called as media. When I try to trace for any file inside media, it does not show me any package name. Could anyone please tell me what is this me

Re: [yocto] List of Binary Files from a recipe

2014-06-06 Thread Bharath Chandra
Hi Ross, Using rpm, I was able to trace back recipe files for all the files except for files in a folder called as media. When I try to trace for any file inside media, it does not show me any package name. Could anyone please tell me what is this media folder?? Thanks & Regards, Bharath Chandra

Re: [yocto] Procedure to build Initramfs Image

2014-06-06 Thread Andrea Adami
On Thu, Jun 5, 2014 at 1:37 AM, Sasikanth babu wrote: > Hi all, > > How to build initramfs image (rootfs embedded in kernel - uimage)?. I > know it has been asked several time on this mailing list but could find a > solution?. > > > I tried steps mentioned in the below link > > http://kexecbo

Re: [yocto] [PATCH 3/3] PublishArtifacts: add md5sums artifact

2014-06-06 Thread Jate S
I just grabbed the current master. I changed my local conf definition so it would do the MakeImageMD5s. It creates them inside of the build directory by default. After doing this, the PublishArtifacts was still failing because the cp command could not find the md5sum files. It looks in the tmp/de

Re: [yocto] Hmm, possible bug in poky?

2014-06-06 Thread Bruce Ashfield
On 14-06-06 11:36 AM, Neuer User wrote: Hi Gary, Hi Bruce This is the directory layout: Both recipes are extremely similar, only differ by a different git repo and SRCREV. I might need to later have different patches for both recipes, but currently everthing is identical. That's why I made an i

Re: [yocto] Newbee - patching kernel

2014-06-06 Thread Bruce Ashfield
On 14-06-06 04:00 PM, Kai Ulrich wrote: Hi Bruce, Thanx for your answer. So can I write a recipe which just contains the patches an extends an kernel-recipe? Correct. You add them to the SRC_URI, just like you'd patch any package. Bruce k. / Hi, />/ />/ Is there a way to create a s

[yocto] Newbee - patching kernel

2014-06-06 Thread Kai Ulrich
Hi Bruce, Thanx for your answer. So can I write a recipe which just contains the patches an extends an kernel-recipe? k. >* Hi, *>>* Is there a way to create a separate layer that adds kernel patches to an *>* existing machine? *>* Is there a example to learn from? * Patching the kernel works

Re: [yocto] yocto-bsp treats beaglebone as omap3 device

2014-06-06 Thread Tom Zanussi
Hi, On Fri, 2014-06-06 at 14:28 -0400, Matthew Keeter wrote: > I’ve got a quick question about using the yocto-bsp tool (release 1.6): > > Using it to create an ARM BSP from the beaglebone machine branch results in a > BSP > that targets the OMAP3 processor (which is on the beagleboard, not the

[yocto] yocto-bsp treats beaglebone as omap3 device

2014-06-06 Thread Matthew Keeter
I’ve got a quick question about using the yocto-bsp tool (release 1.6): Using it to create an ARM BSP from the beaglebone machine branch results in a BSP that targets the OMAP3 processor (which is on the beagleboard, not the beaglebone). I say this because the default value for UBOOT_MACHINE is

[yocto] Procedure to build Initramfs Image

2014-06-06 Thread Sasikanth babu
Hi all, How to build initramfs image (rootfs embedded in kernel - uimage)?. I know it has been asked several time on this mailing list but could find a solution?. I tried steps mentioned in the below link http://kexecboot.org/documentation/crosscompiling/oe-yocto but I got rootfs.cpio.gz

[yocto] Procedure to build Initramfs Image

2014-06-06 Thread Sasikanth babu
Hi all, How to build initramfs image (rootfs embedded in kernel - uimage)?. I know it has been asked several time on this mailing list but could find a solution?. I tried steps mentioned in the below link http://kexecboot.org/documentation/crosscompiling/oe-yocto but I got rootfs.cpio.gz

Re: [yocto] [x264-devel] [Repo Issue] x264: Unable to find revision

2014-06-06 Thread Janne Grunau
On 2014-05-30 09:39:46 +, Chong, Hui Qing wrote: > Hi, I am working on Yocto Project 1.6, Daisy branch. Previously I am able to > build the image successfully, but now I have errors as follow: > > ERROR: Fetcher failure: Unable to find revision > 585324fee380109acd9986388f857f413a60b896 in b

[yocto] beaglebone black usb device problem (daisy)

2014-06-06 Thread Daniel Groß
Hello there, I have successfully build several beaglebone (qt4embedded demo and sato+mono hard float) images using yocto 1.6 (daisy) for the beagle bone black. However USB devices (mouse, keyboard, anything) are only found during the first boot. I narrowed the problem down to the file "/etc/udev/

Re: [yocto] [OE-core] [Repo Issue] x264: Unable to find revision

2014-06-06 Thread Kweh, Hock Leong
Hi, understand the patch below is to fix the x264 yocto build issue but it is for "Daisy" branch. How about the "Dylan" branch? Can we use the same commit id on the SRCREV? -Original Message- From: Ong, Boon Leong Sent: Tuesday, June 03, 2014 9:25 AM To: Tan, Raymond; Chew, Kean Ho; Kw

Re: [yocto] Live images?

2014-06-06 Thread Gary Thomas
On 2014-06-05 16:08, Gary Thomas wrote: On 2014-06-05 13:10, Gary Thomas wrote: On 2014-06-05 11:24, Paul Eggleton wrote: On Thursday 05 June 2014 11:16:55 Gary Thomas wrote: On 2014-06-05 09:07, Paul Eggleton wrote: On Thursday 05 June 2014 08:41:57 Gary Thomas wrote: On 2014-06-05 08:32, P

Re: [yocto] Hmm, possible bug in poky?

2014-06-06 Thread Neuer User
Hi Gary, Hi Bruce This is the directory layout: Both recipes are extremely similar, only differ by a different git repo and SRCREV. I might need to later have different patches for both recipes, but currently everthing is identical. That's why I made an include file. . ├── linux-cubox-i-3.10.30

Re: [yocto] Hmm, possible bug in poky?

2014-06-06 Thread Bruce Ashfield
On 14-06-06 10:56 AM, Neuer User wrote: Hi Bruce Thanks for the hint. I changed it, but the result is the same. Strange is really that it shows the directory as being searched through but does not find the file that's contained?! Also, there are two "main" recipes, which both include the inc f

Re: [yocto] Hmm, possible bug in poky?

2014-06-06 Thread Gary Thomas
On 2014-06-06 08:56, Neuer User wrote: Hi Bruce Thanks for the hint. I changed it, but the result is the same. Strange is really that it shows the directory as being searched through but does not find the file that's contained?! Also, there are two "main" recipes, which both include the inc fi

Re: [yocto] Hmm, possible bug in poky?

2014-06-06 Thread Neuer User
Hi Bruce Thanks for the hint. I changed it, but the result is the same. Strange is really that it shows the directory as being searched through but does not find the file that's contained?! Also, there are two "main" recipes, which both include the inc file. This one throws warnings, but works:

Re: [yocto] Hmm, possible bug in poky?

2014-06-06 Thread Bruce Ashfield
On 14-06-06 07:16 AM, Neuer User wrote: I get the following error: WARNING: Failed to fetch URL file://defconfig, attempting MIRRORS if available ERROR: Fetcher failure: Unable to find file file://defconfig anywhere. The paths that were searched were: /home/ubuntu/yocto/sources/meta-omnisonix/r

Re: [yocto] Newbee - patching kernel

2014-06-06 Thread Bruce Ashfield
On 14-06-06 09:39 AM, Kai Ulrich wrote: Hi, Is there a way to create a separate layer that adds kernel patches to an existing machine? Is there a example to learn from? Patching the kernel works just like patching any package, but there is a specific section in the manual (which perhaps you've

Re: [yocto] Query in yocto

2014-06-06 Thread Barros Pena, Belen
On 03/06/2014 00:51, "Bharath Chandra" wrote: >Hi, > > >I am new to yocto and have been working on customizing a recipe and >building a new image. I have a small query. By looking at a binary file >on the target machine, I want to know from which recipe it has been >generated??. Hi Bharath, T

[yocto] Newbee - patching kernel

2014-06-06 Thread Kai Ulrich
Hi, Is there a way to create a separate layer that adds kernel patches to an existing machine? Is there a example to learn from? friendly regards Kai Ulrich -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Problems with postinstall

2014-06-06 Thread Neuer User
Am 06.06.2014 14:31, schrieb Burton, Ross: > On 6 June 2014 12:08, Neuer User wrote: >>> The postinst is executed by the package manager when the package is >>> installed. If that installation takes place during do_rootfs, ${D} >>> will refer to the rootfs directory for the image being built and $

Re: [yocto] Problems with postinstall

2014-06-06 Thread Burton, Ross
On 6 June 2014 12:08, Neuer User wrote: >> The postinst is executed by the package manager when the package is >> installed. If that installation takes place during do_rootfs, ${D} >> will refer to the rootfs directory for the image being built and ${S} >> will probably refer to something else to

Re: [yocto] Problems with postinstall

2014-06-06 Thread Neuer User
Am 06.06.2014 13:19, schrieb Jacob Kroon: > I'm not sure if this helps, but you can specify rootfs-post-process > commands in your image recipe: > > setup_my_image() { > # do stuff > } > > ROOTFS_POSTPROCESS_COMMAND += 'setup_my_image ;' > > This will run after the rootfs is created from the

Re: [yocto] Problems with postinstall

2014-06-06 Thread Jacob Kroon
On Fri, Jun 6, 2014 at 1:08 PM, Neuer User wrote: > Am 06.06.2014 12:54, schrieb Paul Barker: > > I usually leave things more than a day before sending a ping email, > > people can be busy but usually you'll get replies within a couple of > > days on this list. > > > > Sorry, I guess these 18h we

[yocto] Hmm, possible bug in poky?

2014-06-06 Thread Neuer User
I get the following error: WARNING: Failed to fetch URL file://defconfig, attempting MIRRORS if available ERROR: Fetcher failure: Unable to find file file://defconfig anywhere. The paths that were searched were: /home/ubuntu/yocto/sources/meta-omnisonix/recipes-kernel/linux/linux-cubox-i-3.10.30/

Re: [yocto] Problems with postinstall

2014-06-06 Thread Neuer User
Am 06.06.2014 12:54, schrieb Paul Barker: > I usually leave things more than a day before sending a ping email, > people can be busy but usually you'll get replies within a couple of > days on this list. > Sorry, I guess these 18h were driving me crazy as I don't understand why it is not working.

Re: [yocto] Problems with postinstall

2014-06-06 Thread Paul Barker
On 6 June 2014 07:16, Neuer User wrote: > Nobody using any postinstalls? > > I am still wondering why the postinstall does not work. I don't get any > error messages. The files are just not installed. > I usually leave things more than a day before sending a ping email, people can be busy but usu

[yocto] [meta-selinux][PATCH 1/2] dhcp: make a copy of init-server

2014-06-06 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-connectivity/dhcp/dhcp_4.2.5-P1.bbappend |3 ++ recipes-connectivity/dhcp/files/init-server | 44 ++ 2 files changed, 47 insertions(+) create mode 100644 recipes-connectivity/dhcp/dhcp_4.2.5-P1.bbappend cr

[yocto] [meta-selinux][PATCH 0/2] dhcp: restorecon for dhcpd*.leases from initscript

2014-06-06 Thread wenzong.fan
From: Wenzong Fan dhcp-server fails to start since /var/lib/dhcpd.leases has incorrect contexts: dhcp_state_t, it should be: dhcpd_state_t. * make a local copy of init-server * update init-server to restorecon for dhcpd*.lesses before starting dhcp server. The following changes since commit 79

[yocto] [meta-selinux][PATCH 2/2] dhcp/init-server: restorecon for dhcpd*.leases

2014-06-06 Thread wenzong.fan
From: Wenzong Fan dhcp-server fails to start with avc denied error: avc: denied { read } for pid=571 comm="dhcpd" \ name="dhcpd.leases" dev="hda" ino=63911 \ scontext=system_u:system_r:dhcpd_t:s0-s15:c0.c1023 \ tcontext=system_u:object_r:dhcp_state_t:s0 tclass=file The type for dhcpd.le