* Changing VIRTUAL-RUNTIME_init_manager for initramfs image
@ 2015-05-27 17:55 mar.krzeminski
2015-05-27 20:36 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: mar.krzeminski @ 2015-05-27 17:55 UTC (permalink / raw)
To: yocto
Hi,
I have machine and in this machine I have two images. One of this images
is image for kernel initramfs.
In this image I want to change init manager to busybox mdev, while ine
the other one I use udev.
I can do that by changing VIRTUAL-RUNTIME_init_manager variable.
And now is time for dummy qestion, but I am not sure, if I change this
variable
in particular image everything will be ok? Is this a proper way to do so?
Regards,
Marcin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing VIRTUAL-RUNTIME_init_manager for initramfs image
2015-05-27 17:55 Changing VIRTUAL-RUNTIME_init_manager for initramfs image mar.krzeminski
@ 2015-05-27 20:36 ` Burton, Ross
2015-05-28 7:57 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2015-05-27 20:36 UTC (permalink / raw)
To: mar.krzeminski; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
On 27 May 2015 at 18:55, mar.krzeminski <mar.krzeminski@gmail.com> wrote:
> I have machine and in this machine I have two images. One of this images
> is image for kernel initramfs.
> In this image I want to change init manager to busybox mdev, while ine the
> other one I use udev.
> I can do that by changing VIRTUAL-RUNTIME_init_manager variable.
> And now is time for dummy qestion, but I am not sure, if I change this
> variable
> in particular image everything will be ok? Is this a proper way to do so?
>
Yes, you can have a default assignment in your distro configuration, and
have another assignment in the image recipe that you want to have a
different init manager.
Also, don't you mean _dev_manager for the udev/mdev choice?
Ross
[-- Attachment #2: Type: text/html, Size: 1235 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing VIRTUAL-RUNTIME_init_manager for initramfs image
2015-05-27 20:36 ` Burton, Ross
@ 2015-05-28 7:57 ` Paul Eggleton
0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2015-05-28 7:57 UTC (permalink / raw)
To: Burton, Ross, mar.krzeminski; +Cc: yocto
On Wednesday 27 May 2015 21:36:41 Burton, Ross wrote:
> On 27 May 2015 at 18:55, mar.krzeminski <mar.krzeminski@gmail.com> wrote:
> > I have machine and in this machine I have two images. One of this images
> > is image for kernel initramfs.
> > In this image I want to change init manager to busybox mdev, while ine the
> > other one I use udev.
> > I can do that by changing VIRTUAL-RUNTIME_init_manager variable.
> > And now is time for dummy qestion, but I am not sure, if I change this
> > variable
> > in particular image everything will be ok? Is this a proper way to do so?
>
> Yes, you can have a default assignment in your distro configuration, and
> have another assignment in the image recipe that you want to have a
> different init manager.
No, I don't think you can, since these are controlled from packagegroups, not
the image recipe. It's certainly possible to create an initramfs image where
you don't actually use those packagegroups and therefore you can just select
the desired init system package directly.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-28 7:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27 17:55 Changing VIRTUAL-RUNTIME_init_manager for initramfs image mar.krzeminski
2015-05-27 20:36 ` Burton, Ross
2015-05-28 7:57 ` Paul Eggleton
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.