Re: [yocto] How to recreate rootfs image

2015-08-28 Thread Lenivyy Viktor
> The assumption is that you wouldn't normally be fetching the source from a > local path as you are, you would fetch it from some repository (though that > repository may be internal to your organisation). At some point you run > "devtool modify" which is effectively a way of saying "I want to sta

Re: [yocto] How to recreate rootfs image

2015-08-28 Thread Paul Eggleton
On Friday 28 August 2015 13:32:23 Lenivyy Viktor wrote: > > On Thursday 27 August 2015 08:25:38 Lenivyy Viktor wrote: > > > > In your kernel recipe are you using SRC_URI to fetch from a git > > > > repository (e.g. git:// URI) or from a local directory? > > > > > > This kernel is fetched from local

[yocto] How to recreate rootfs image

2015-08-28 Thread Lenivyy Viktor
> Hi Viktor, > > On Thursday 27 August 2015 08:25:38 Lenivyy Viktor wrote: > > > In your kernel recipe are you using SRC_URI to fetch from a git > > > repository (e.g. git:// URI) or from a local directory? > > > > This kernel is fetched from local directory. > > > > > I guess that if you're usin

Re: [yocto] How to recreate rootfs image

2015-08-28 Thread Paul Eggleton
Hi Viktor, On Thursday 27 August 2015 08:25:38 Lenivyy Viktor wrote: > > In your kernel recipe are you using SRC_URI to fetch from a git > > repository (e.g. git:// URI) or from a local directory? > > This kernel is fetched from local directory. > > > I guess that if you're using a local path, t

[yocto] How to recreate rootfs image

2015-08-27 Thread Lenivyy Viktor
> In your kernel recipe are you using SRC_URI to fetch from a git > repository (e.g. git:// URI) or from a local directory? This kernel is fetched from local directory. > I guess that if you're using a local path, there can be either some > uncommitted changes, or a stale git index. No, because

Re: [yocto] How to recreate rootfs image

2015-08-26 Thread Khem Raj
On Wed, Aug 26, 2015 at 9:13 AM, Lenivyy Viktor wrote: >> dirtypackage is the one which you want to rebuild and redeploy in the > >> rootfs. If the package source is local, cleanall won't do big harm, but > >> otherwise you're correct, it will clean the sources. You can use > >> "clean" instead. >

[yocto] How to recreate rootfs image

2015-08-26 Thread Lenivyy Viktor
> dirtypackage is the one which you want to rebuild and redeploy in the > rootfs. If the package source is local, cleanall won't do big harm, but > otherwise you're correct, it will clean the sources. You can use > "clean" instead. > Regards, > Nikolay I don’t know exactly which package I need to

Re: [yocto] How to recreate rootfs image

2015-08-26 Thread Nikolay Dimitrov
Hi Lenivyy Viktor, On 08/26/2015 06:42 PM, Lenivyy Viktor wrote: Can you please try this and share if it works for you: bitbake -c cleanall dirtypackage myimage bitbake myimage Regards, Nikolay What is dirtypackage? Myimagewill be altera-image-minimal in my case, I gue

[yocto] How to recreate rootfs image

2015-08-26 Thread Lenivyy Viktor
> Can you please try this and share if it works for you: > > bitbake -c cleanall dirtypackage myimage > bitbake myimage > > Regards, > Nikolay What is dirtypackage? Myimage will be altera-image-minimal in my case, I guess. I’m wondering whether cleanall doesn’t remove Yocto’s copy of kernel source

Re: [yocto] How to recreate rootfs image

2015-08-26 Thread Nikolay Dimitrov
Hi Lenivyy Viktor, On 08/26/2015 05:37 PM, Lenivyy Viktor wrote: Hello. I have “altera-image-minimal” recipe which creates minimal rootfs based on Linux kernel provided by “linux-altera-local” recipe. This kernel is fetched from local directory. After first time building “altera-image-minimal”

[yocto] How to recreate rootfs image

2015-08-26 Thread Lenivyy Viktor
Hello. I have “altera-image-minimal” recipe which creates minimal rootfs based on Linux kernel provided by “linux-altera-local” recipe. This kernel is fetched from local directory. After first time building “altera-image-minimal”, it produced rootfs with modules version contained “-dirty” at the