diskimage-builder/elements/partitioning-sfdisk
Ian Wienand 7550d25db0 Export die() function
I realised I'd been using die() in a few places assuming it was
available, but it wasn't exported.  I guess it didn't matter because
whatever was wrong, we were failing anyway :)

This exports the function to make it available to sub-processes, which
should remove the need to source it as done in several places.

Change-Id: I7b9a5a6db406e160099b6ed9fde80455ae227327
2016-05-27 09:25:22 +10:00
..
block-device.d Export die() function 2016-05-27 09:25:22 +10: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 Create new partitioning-sfdisk element. 2016-03-07 19:50:55 +01: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: ``DIB_PARTITIONING_SFDISK_SCHEMA="
    2048,10000,L *
    10248,,L
    0 0;
    " will create two partitions on disk, first one will be bootable.