All of lore.kernel.org
 help / color / mirror / Atom feed
* How to recreate rootfs image
@ 2015-08-26 16:13 Lenivyy Viktor
  2015-08-26 16:17 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Lenivyy Viktor @ 2015-08-26 16:13 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

> 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 rebuild, but I guess it’s kernel-modules as modules folder have wrong version.
After
bitbake -c clean kernel-modules altera-image-minimal

there is an error:
…
ERROR: Nothing PROVIDES 'kernel-modules'
…





[-- Attachment #2: Type: text/html, Size: 5755 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to recreate rootfs image
  2015-08-26 16:13 How to recreate rootfs image Lenivyy Viktor
@ 2015-08-26 16:17 ` Khem Raj
  2015-08-26 17:12   ` FW: " Lenivyy Viktor
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2015-08-26 16:17 UTC (permalink / raw)
  To: Lenivyy Viktor; +Cc: yocto@yoctoproject.org

On Wed, Aug 26, 2015 at 9:13 AM, Lenivyy Viktor
<Viktor.Lenivyy@author.kiev.ua> 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.
>
>
>
>> Regards,
>
>> Nikolay
>
>
>
> I don’t know exactly which package I need to rebuild, but I guess it’s
> kernel-modules as modules folder have wrong version.
>
> After
>
> bitbake -c clean kernel-modules altera-image-minimal
>
>
>
> there is an error:
>
> …
>
> ERROR: Nothing PROVIDES 'kernel-modules'

kernel modules are part of virtual/kernel so you need to clean
virtual/kernel if thats what the issue is

>
> …
>
>
>
>
>
>
>
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* FW: How to recreate rootfs image
  2015-08-26 16:17 ` Khem Raj
@ 2015-08-26 17:12   ` Lenivyy Viktor
  2015-08-26 20:07     ` Nikolay Dimitrov
  0 siblings, 1 reply; 4+ messages in thread
From: Lenivyy Viktor @ 2015-08-26 17:12 UTC (permalink / raw)
  To: yocto@yoctoproject.org

> >> 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 rebuild, but I guess it’s
> > kernel-modules as modules folder have wrong version.
> >
> > After
> >
> > bitbake -c clean kernel-modules altera-image-minimal
> >
> >
> > there is an error:
> >
> > …
> >
> > ERROR: Nothing PROVIDES 'kernel-modules'
> 
> kernel modules are part of virtual/kernel so you need to clean virtual/kernel
> if thats what the issue is

This command did what I was trying to avoid: remove Yocto's copy of kernel sources. But starting questions still exist.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FW: How to recreate rootfs image
  2015-08-26 17:12   ` FW: " Lenivyy Viktor
@ 2015-08-26 20:07     ` Nikolay Dimitrov
  0 siblings, 0 replies; 4+ messages in thread
From: Nikolay Dimitrov @ 2015-08-26 20:07 UTC (permalink / raw)
  To: Lenivyy Viktor, yocto@yoctoproject.org

Hi Victor,

On 08/26/2015 08:12 PM, Lenivyy Viktor wrote:
> This command did what I was trying to avoid: remove Yocto's copy of kernel sources. But starting questions still exist.
>

In your kernel recipe are you using SRC_URI to fetch from a git
repository (e.g. git:// URI) or from a local directory?

I guess that if you're using a local path, there can be either some
uncommitted changes, or a stale git index.

You can try just for the experiment to add your current kernel sources
to a test git repo and point the SRC_URI to it, so bitbake can clone
the repo by git revision (SRCREV = "${AUTOREV}" will skip the need to
update the recipe revision constantly during development). This should
work fine, without the "-dirty" version suffix.

Regards,
Nikolay


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-26 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 16:13 How to recreate rootfs image Lenivyy Viktor
2015-08-26 16:17 ` Khem Raj
2015-08-26 17:12   ` FW: " Lenivyy Viktor
2015-08-26 20:07     ` Nikolay Dimitrov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.