All of lore.kernel.org
 help / color / mirror / Atom feed
* do QEMU images really come with dropbear and an nfs server?
@ 2012-07-27 14:18 Robert P. J. Day
  2012-07-27 17:38 ` Scott Garman
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2012-07-27 14:18 UTC (permalink / raw)
  To: Yocto discussion list


  the yocto dev manual currently suggests that QEMU images come with
both dropbear and an nfs server:

http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#using-pre-built-binaries-and-qemu

i don't have a QEMU image in front of me to test, but the definition
of the basic QEMU images doesn't seem to suggest that that's true.

  i can see it's easy to add them, but the manual suggests they're
there by default.  or am i misreading something?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

* Re: do QEMU images really come with dropbear and an nfs server?
  2012-07-27 14:18 do QEMU images really come with dropbear and an nfs server? Robert P. J. Day
@ 2012-07-27 17:38 ` Scott Garman
  2012-07-27 18:04   ` Robert P. J. Day
  0 siblings, 1 reply; 4+ messages in thread
From: Scott Garman @ 2012-07-27 17:38 UTC (permalink / raw)
  To: yocto

On 07/27/2012 07:18 AM, Robert P. J. Day wrote:
>
>    the yocto dev manual currently suggests that QEMU images come with
> both dropbear and an nfs server:
>
> http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#using-pre-built-binaries-and-qemu
>
> i don't have a QEMU image in front of me to test, but the definition
> of the basic QEMU images doesn't seem to suggest that that's true.
>
>    i can see it's easy to add them, but the manual suggests they're
> there by default.  or am i misreading something?

It looks like we may need a manual tweak here.

core-image-minimal does not come with any ssh server. core-image-lsb 
should have openssh instead of dropbear. So unless something changed 
very recently, core-image-sato is the only one that has dropbear in it 
by default.

Also, the manual states "The QEMU images also contain an embedded 
Network File System (NFS) server that exports the image's root 
filesystem." This isn't strictly true - instead we offer a native tool 
which runs a userspace NFS server and if some prep work is done by the 
user (extracting a rootfs tarball with runqemu-extract-sdk), you can 
then point the runqemu script to that directory instead of a rootfs 
image file.

Someone please correct me if I'm wrong.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


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

* Re: do QEMU images really come with dropbear and an nfs server?
  2012-07-27 17:38 ` Scott Garman
@ 2012-07-27 18:04   ` Robert P. J. Day
  2012-07-27 18:41     ` Scott Garman
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2012-07-27 18:04 UTC (permalink / raw)
  To: Scott Garman; +Cc: yocto

On Fri, 27 Jul 2012, Scott Garman wrote:

> On 07/27/2012 07:18 AM, Robert P. J. Day wrote:
> >
> >    the yocto dev manual currently suggests that QEMU images come with
> > both dropbear and an nfs server:
> >
> > http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#using-pre-built-binaries-and-qemu
> >
> > i don't have a QEMU image in front of me to test, but the definition
> > of the basic QEMU images doesn't seem to suggest that that's true.
> >
> >    i can see it's easy to add them, but the manual suggests they're
> > there by default.  or am i misreading something?
>
> It looks like we may need a manual tweak here.
>
> core-image-minimal does not come with any ssh server. core-image-lsb
> should have openssh instead of dropbear. So unless something changed
> very recently, core-image-sato is the only one that has dropbear in
> it by default.
>
> Also, the manual states "The QEMU images also contain an embedded
> Network File System (NFS) server that exports the image's root
> filesystem." This isn't strictly true - instead we offer a native
> tool which runs a userspace NFS server and if some prep work is done
> by the user (extracting a rootfs tarball with runqemu-extract-sdk),
> you can then point the runqemu script to that directory instead of a
> rootfs image file.

  rather than a simple manual tweak, what about actually adding one or
both of those features to even the smaller core images, then updating
the docs accordingly?  just a thought.

rday


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

* Re: do QEMU images really come with dropbear and an nfs server?
  2012-07-27 18:04   ` Robert P. J. Day
@ 2012-07-27 18:41     ` Scott Garman
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Garman @ 2012-07-27 18:41 UTC (permalink / raw)
  To: yocto

On 07/27/2012 11:04 AM, Robert P. J. Day wrote:
> On Fri, 27 Jul 2012, Scott Garman wrote:
>
>> On 07/27/2012 07:18 AM, Robert P. J. Day wrote:
>>>
>>>     the yocto dev manual currently suggests that QEMU images come with
>>> both dropbear and an nfs server:
>>>
>>> http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#using-pre-built-binaries-and-qemu
>>>
>>> i don't have a QEMU image in front of me to test, but the definition
>>> of the basic QEMU images doesn't seem to suggest that that's true.
>>>
>>>     i can see it's easy to add them, but the manual suggests they're
>>> there by default.  or am i misreading something?
>>
>> It looks like we may need a manual tweak here.
>>
>> core-image-minimal does not come with any ssh server. core-image-lsb
>> should have openssh instead of dropbear. So unless something changed
>> very recently, core-image-sato is the only one that has dropbear in
>> it by default.
>>
>> Also, the manual states "The QEMU images also contain an embedded
>> Network File System (NFS) server that exports the image's root
>> filesystem." This isn't strictly true - instead we offer a native
>> tool which runs a userspace NFS server and if some prep work is done
>> by the user (extracting a rootfs tarball with runqemu-extract-sdk),
>> you can then point the runqemu script to that directory instead of a
>> rootfs image file.
>
>    rather than a simple manual tweak, what about actually adding one or
> both of those features to even the smaller core images, then updating
> the docs accordingly?  just a thought.

Well, in the case of core-image-minimal, I don't think we want to add 
additional bloat.

Also, when I teach classes on how to create custom image recipes, my 
exercise is typically to take core-image-minimal, and modify it to 
include an ssh server (dropbear or openssh) and psplash (which gives 
students a nice visual change to notice when booting the new image). As 
a fellow instructor, you may find that useful.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


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

end of thread, other threads:[~2012-07-27 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 14:18 do QEMU images really come with dropbear and an nfs server? Robert P. J. Day
2012-07-27 17:38 ` Scott Garman
2012-07-27 18:04   ` Robert P. J. Day
2012-07-27 18:41     ` Scott Garman

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.