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

2017-12-14 Thread Chris Simmonds
Hi Sherif, Maybe this is a little late, but as been said already, the best solution is to remove psplash from your image altogether. You can to this quite simply by adding to your conf/local.conf IMAGE_FEATURES_remove = "splash" Rationale: the dependency on the psplash program is (usually)

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

2017-12-14 Thread Sherif Omran
hi Andre thank you for your mail. I tried to remove this package but i don't know where it is installed from, i can not find it and got lost. On Thu, Dec 14, 2017 at 9:11 AM, Sherif Omran wrote: > hi Martin, > > thank you for help .. well done .. it should now work..

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

2017-12-14 Thread Sherif Omran
hi Martin, thank you for help .. well done .. it should now work.. On Thu, Dec 14, 2017 at 8:17 AM, Martin Hundebøll < martin.hundeb...@prevas.dk> wrote: > Hi Sherif, > > On 2017-12-14 08:06, Sherif Omran wrote: > >> Here is my recipe, it runs suceeds but does not delete the files >> >>

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* > } > >

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

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

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] 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

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

2017-12-12 Thread Mike Looijmans
Well, start by sharing yours first. Be careful when naming your shell routine, sometimes OE considers parts behind the underscore as overrides and then it cannot find it. On 13-12-17 07:14, Sherif Omran wrote: hi Mike, i could not get it to work, if you have a recipe that works, please

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

2017-12-12 Thread Sherif Omran
hi Mike, i could not get it to work, if you have a recipe that works, please share it. ROOTFS_POSTPROCESS_COMMAND seems to be buggy. thank you > > On Tue, Dec 12, 2017 at 1:58 PM, Mike Looijmans wrote: > On 11-12-17 15:18, Sherif Omran wrote: > >> i want to create a

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

2017-12-12 Thread Mike Looijmans
On 11-12-17 15:18, Sherif Omran wrote: i want to create a recipe to clean some files from the rootfile system, but i don't know how to let this recipe run the last one before building the rootfile system. You can use ROOTFS_POSTPROCESS_COMMAND in your image recipe to do some last-minute

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

2017-12-11 Thread Alexander Kanavin
On 12/11/2017 04:18 PM, Sherif Omran wrote: i want to create a recipe to clean some files from the rootfile system, but i don't know how to let this recipe run the last one before building the rootfile system. Have a look at ROOTFS_POSTPROCESS_COMMAND. Alex --

[yocto] recipe to clean up files from rootfs

2017-12-11 Thread Sherif Omran
i want to create a recipe to clean some files from the rootfile system, but i don't know how to let this recipe run the last one before building the rootfile system. any idea? -- ___ yocto mailing list yocto@yoctoproject.org