All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems building live image
@ 2016-03-14  5:16 Gary Thomas
  2016-03-14  6:09 ` Khem Raj
  2016-03-14 16:34 ` K Richard Pixley
  0 siblings, 2 replies; 13+ messages in thread
From: Gary Thomas @ 2016-03-14  5:16 UTC (permalink / raw)
  To: yocto

I'd like to to some testing that qemu just doesn't seem up to
so I attempted to build a live ISO per the documentation. I
added these lines to local.conf:
   IMAGE_FSTYPES_genericx86 += "live"
   NOISO_genericx86 = "0"

When I try to build core-image-base I get this error:
   ERROR: INITRD_IMAGE_LIVE core-image-minimal-initramfs cannot use image live, hddimg or iso.
   ERROR: Check IMAGE_FSTYPES and INITRAMFS_FSTYPES settings.
   ERROR: Failed to parse recipe: /local/poky-cutting-edge/meta/recipes-core/images/core-image-minimal-initramfs.bb

I'm using a recent Poky checkout (d53413d3a8444c38a83ea37867c8af7754d8e702)

Am I just doing something wrong here? I was following this section of the mega-manual:

   26.56. image-live.bbclass¶

   The image-live class supports building "live" images.

   Normally, you do not use this class directly. Instead, you add "live" to IMAGE_FSTYPES.
   For example, if you were building an ISO image, you would add "live" to IMAGE_FSTYPES,
   set the NOISO variable to "0" and the build system would use the image-live class to
   build the ISO image.

I don't have any available hardware for this testing, so I thought
I'd use VirtualBox.  Is this a reasonable approach?  I want to use
a live ISO so I get a writable file system.  I tried just using the
.hddimage but that doesn't boot with VirtualBox :-(

To be clear, along with the additions above in local.conf, I tried:
   $ MACHINE=genericx86 bitbake core-image-base

Thanks for any ideas

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Problems building live image
@ 2016-03-14 17:29 Radzykewycz, T (Radzy)
  0 siblings, 0 replies; 13+ messages in thread
From: Radzykewycz, T (Radzy) @ 2016-03-14 17:29 UTC (permalink / raw)
  To: yocto@yoctoproject.org


________________________________________
> While we're on it...
> 
> Can anyone explain what a "live" image is intended to be?
> 
> (I haven't gotten a live image to "work", but I'm not entirely
> sure I know what "work" means for a live image.)
> 
> Or how hdddirect is intended to be different from hddimg?
> 
> --rich

Can't say as how I'm anything close to an expert on it, but....

My impression was that a live image was one that

- Booted from removable media

- Did not mount a local hard disk as rootfs, but instead copied
  the rootfs from the boot media

- Optionally, might include an installer to install the image
  onto a local hard disk.

Enjoy!

				-- radzy


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

end of thread, other threads:[~2016-03-17 15:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14  5:16 Problems building live image Gary Thomas
2016-03-14  6:09 ` Khem Raj
2016-03-14 20:55   ` K Richard Pixley
2016-03-14 22:58     ` Rudolf Streif
2016-03-14 23:38       ` K Richard Pixley
2016-03-17 15:38         ` Rudolf J Streif
2016-03-14 16:34 ` K Richard Pixley
2016-03-14 17:01   ` Gary Thomas
2016-03-14 17:07     ` Khem Raj
2016-03-14 17:11       ` K Richard Pixley
2016-03-14 17:16         ` Khem Raj
2016-03-14 17:23           ` K Richard Pixley
  -- strict thread matches above, loose matches on Subject: below --
2016-03-14 17:29 Radzykewycz, T (Radzy)

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.