************************
elbe-hdimg
************************

.. __name:

NAME
====

elbe-hdimg - Create hard disk and flash images from the given XML file.

.. __synopsis:

SYNOPSIS
========

   ::

      elbe hdimg --target <dir> --output <out> \
              [ --buildtype <type> ] \
              [ --skip-validation ] \
              [ --skip-grub ] \
              <xmlfile>

.. __description:

DESCRIPTION
===========

*elbe hdimg* creates hard disk and flash images from the *images*
section in the given XML file. The command has to be run as root
**inside the Elbe build VM**.

.. __options:

OPTIONS
=======

--target <dir>
   Operate on the given project directory.

--output <out>
   Name of the log file.

--buildtype <type>
   Override the build type specified in the XML file.

--skip-validation
   Do not validate the XML file against the Elbe XML schema (Not
   recommended).

--skip-grub
   Skip GRUB installation.

<xmlfile>
   The XML file to use.

.. __examples:

EXAMPLES
========

-  Build images for the project in */root/myproject*

   ::

      elbe hdimg --target /root/myproject --output /root/hdimg.log \
              /root/myproject/source.xml

.. __elbe:

ELBE
====

Part of the elbe1 suite