diskimage-builder/elements/partitioning-sfdisk/README.rst
Yolanda Robla e083686e00 Create new partitioning-sfdisk element.
This element is similar to vm, but allows more flexibility
on disk partitioning. It receives a DIB_PARTITIONING_SFDISK_SCHEMA
setting, allowing to partition the disk according to project needs.

Change-Id: I01dca5d5fd670d317f7761911a1549507de6e97d
2016-03-07 19:50:55 +01:00

19 lines
530 B
ReStructuredText

===================
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.