ref-manual: Added bootimg class description.

(From yocto-docs rev: 01e51a69b3102e2a52826383762e8148d37933bf)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-11-26 08:55:01 -08:00 committed by Richard Purdie
parent 688211b181
commit 78961c0190
1 changed files with 39 additions and 0 deletions

View File

@ -256,6 +256,45 @@
</para>
</section>
<section id='ref-classes-bootimg.bbclass'>
<title><filename>bootimg.bbclass</filename></title>
<para>
The boot image (<filename>bootimg</filename> class creates a bootable
image using SYSLINUX, your kernel and an optional initial ram disk
(<filename>initrd</filename>).
</para>
<para>
When you use this class, two things happen:
<itemizedlist>
<listitem><para>
A <filename>.hddimg</filename> file is created.
This file which is an MSDOS filesystem that contains SYSLINUX,
a kernel, an <filename>initrd</filename>, and a root filesystem
image.
All three of these can be written to hard drives directly and
also booted on a USB flash disks using <filename>dd</filename>.
</para></listitem>
<listitem><para>
A CD <filename>.iso</filename> image is created.
When this file is booted, the <filename>initrd</filename>
boots and processes the label selected in SYSLINUX.
Actions based on the label are then performed (e.g. installing
to a hard drive).</para></listitem>
</itemizedlist>
</para>
<para>
The <filename>bootimg</filename> class supports the
<link linkend='var-INITRD'><filename>INITRD</filename></link>,
<link linkend='var-NOISO'><filename>NOISO</filename></link>,
<link linkend='var-NOHDD'><filename>NOHDD</filename></link>, and
<link linkend='var-ROOTFS'><filename>ROOTFS</filename></link>
variables.
</para>
</section>
<section id='ref-classes-debian'>
<title>Debian Renaming - <filename>debian.bbclass</filename></title>