diskimage-builder/elements/partitioning-sfdisk
Ian Wienand f3121f0fb7 Fix up doc errors
It seems that pbr's "warnerrors" isn't actually doing anything at the
moment (I680b448471e687919d202e8f2abe57f8ba3b22ee) meaning we're able
to commit docs with RST parser errors.  Fix all these up in some
minimal way (I have not audited content, just made it pass build).

Link the specs in so they're referenced from the top level.

Change-Id: Id67b9ea7ba8f49b43969c58ca3fb7fa1243538a4
2017-02-08 16:07:01 +11:00
..
block-device.d Merge "Export die() function" 2016-06-07 01:00:50 +00:00
environment.d Create new partitioning-sfdisk element. 2016-03-07 19:50:55 +01:00
finalise.d Create new partitioning-sfdisk element. 2016-03-07 19:50:55 +01:00
README.rst Fix up doc errors 2017-02-08 16:07:01 +11:00

===================
partitioning-sfdisk
===================
Sets up a partitioned disk using sfdisk, according to user needs.

Environment Variables
---------------------

``DIB_PARTITIONING_SFDISK_SCHEMA``

:Required:
   Yes
:Default:
  ::

   2048,,L *
   0 0;
   0 0;
   0 0;
:Description:
   A multi-line string specifying a disk schema in sectors.
:Example:

   .. code-block:: bash

      DIB_PARTITIONING_SFDISK_SCHEMA="
      2048,10000,L *
      10248,,L
      0 0;"

   will create two partitions on disk, first one will be bootable.