Re: [yocto] recipe to clean up files from rootfs

2017-12-13 Thread Andre McCurdy
On Wed, Dec 13, 2017 at 11:06 PM, Sherif Omran wrote: > Here is my recipe, it runs suceeds but does not delete the files > > mypostprocesfunction() { > rm -r ${IMAGE_ROOTFS}/etc/init.d/psplash.sh > rm -r ${IMAGE_ROOTFS}/usr/bin/psplash* > } > > ROOTFS_POSTPROCESS_COMMAND += "mypostprocessfunction;

Re: [yocto] recipe to clean up files from rootfs

2017-12-13 Thread Martin Hundebøll
Hi Sherif, On 2017-12-14 08:06, Sherif Omran wrote: Here is my recipe, it runs suceeds but does not delete the files mypostprocesfunction() { rm -r ${IMAGE_ROOTFS}/etc/init.d/psplash.sh rm -r ${IMAGE_ROOTFS}/usr/bin/psplash* } ROOTFS_POSTPROCESS_COMMAND += "mypostprocessfunction; " Unless yo

Re: [yocto] recipe to clean up files from rootfs

2017-12-13 Thread Sherif Omran
Here is my recipe, it runs suceeds but does not delete the files mypostprocesfunction() { rm -r ${IMAGE_ROOTFS}/etc/init.d/psplash.sh rm -r ${IMAGE_ROOTFS}/usr/bin/psplash* } ROOTFS_POSTPROCESS_COMMAND += "mypostprocessfunction; " On Wed, Dec 13, 2017 at 2:03 PM, Mike Looijmans wrote: > ${D} w

Re: [yocto] Permission denied while building rocko on Debian 8

2017-12-13 Thread Mircea Gliga
Hi list See below On 11/12/17 15:22, Mircea Gliga wrote: On 11/12/17 15:06, Paul Barker wrote: On Mon, Dec 11, 2017 at 12:43 PM, Mircea Gliga wrote: So I went further and I tested in a VM running Debian 9 - there it works: It looks like I get a Permission denied while building rocko only o

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Zoran Stojsavljevic
> I'm seeing the same build errors in linux-raspberrypi with various versions of Gentoo and > Ubuntu (mostly tested with 14.04 and 16.04), I doubt that this issue is specific for Fedora 27. Divide and Conquer. ;-) Good. New details emerged. So one problem off the potential problem list. Zoran O

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Martin Jansa
I'm seeing the same build errors in linux-raspberrypi with various versions of Gentoo and Ubuntu (mostly tested with 14.04 and 16.04), I doubt that this issue is specific for Fedora 27. On Thu, Dec 14, 2017 at 2:31 PM, Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > > Also is worth

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Zoran Stojsavljevic
> Also is worth noting that I'm running Fedora 27 which wasn't tested... You should start from here your investigation, since you are on not tested YOCTO host distribution. And Fedoras are different from release to release, certainly! So either you should downgrade your fedora 27 to 26 (which I d

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Daniel.
PS: I just notice now that I have meta-python duplicated at bblayers.conf, 2017-12-14 0:27 GMT-02:00 Daniel. : > Okay, sorry for the late reply! > > I could reproduce the same error again, I just cleanall and then build > linux-raspberrypi again. Let's go to the logs: > > The whole output: https:

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Daniel.
Okay, sorry for the late reply! I could reproduce the same error again, I just cleanall and then build linux-raspberrypi again. Let's go to the logs: The whole output: https://pastebin.com/zHLpPf5V My config: https://pastebin.com/mKJb2tyJ Configured layers: https://pastebin.com/7UakkhHJ https://p

Re: [yocto] [PATCH 08/12] upgradehelper.py: clean repo only once when recipes are specified

2017-12-13 Thread Robert Yang
On 12/13/2017 09:18 PM, Alexander Kanavin wrote: On 12/13/2017 03:16 AM, Robert Yang wrote: How about simply issuing 'git revert' after a build has failed? That's easier to implement than rearranging the order of commits, and the commit message can include a link to the build failure logs.

[yocto] [meta-raspberrypi] linux kernel rt

2017-12-13 Thread Sherif Omran
hey guys, any body tried the real time kernel? I get an error, it is snot in the compatibility list. can we skip it? thanks -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] CROPS status?

2017-12-13 Thread Martin Kelly
Hi, I recently discovered the CROPS project at https://github.com/crops/crops. It looks like a great idea, but I see it hasn't had a commit since June 23, 2016. Is the project still active? Thanks, Martin -- ___ yocto mailing list yocto@yoctoproject

Re: [yocto] recipe to clean up files from rootfs

2017-12-13 Thread Mike Looijmans
${D} won't work here, grep on ROOTFS_POSTPROCESS_COMMAND for recipes that get it right. And, much much much better would be to just not install psplash into your image! On 13-12-17 09:10, Sherif Omran wrote: here is my recipe, the aim was to remove some files from the init.d folder and tweek

Re: [yocto] [PATCH 08/12] upgradehelper.py: clean repo only once when recipes are specified

2017-12-13 Thread Alexander Kanavin
On 12/13/2017 03:16 AM, Robert Yang wrote: How about simply issuing 'git revert' after a build has failed? That's easier to implement than rearranging the order of commits, and the commit message can include a link to the build failure logs. Sounds reasonable to me, I will update the patch.

Re: [yocto] recipe to clean up files from rootfs

2017-12-13 Thread Sherif Omran
here is my recipe, the aim was to remove some files from the init.d folder and tweek before creating the image # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # SUMMARY = "This recipe removes any missing files from the filesystem before