Allow breaking overlong lines in kickstart files.

This allows a backslash (\) at the end of a line in order to merge the next line
into the current one.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Mount filesystems after successful partitioning.

We cannot use blivet.turnOnFilesystems() here, because for the NixOS installer,
we don't need cruft such as bindmounts and/or /dev, /proc, /sys and the like.
Thus, we traverse the device list by ourselves and mount only the "real"
filesystems that are actually tied to a mountpoint and not a special device.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Add option to skip partitioning and to mount only.

This sounds easier than it was, because blivet _usually_ has more information
about the state of the device tree. On NixOS, we don't want to keep any
additional state around and work exclusively on the information we got from the
kickstart file.

As you might have guessed, this requires guerrilla patching again:

One is for the blivet.devicelibs.mdraid.mdactivate() function, which seems to be
somewhat half-implemented in blivet. The original function has a keyword
argument called super_minor, which isn't implemented yet, but required if no
UUID is passed. We just silently skip the super_minor check, as mdadm is able to
bring up the device anyway.

Another one is not exactly monkey patching. Before calling setup() on the device
format, we need to traverse the device tree and force the "exists" attribute and
the device path to be enabled/set. If we don't do this, blivet will bail out
because the device paths/exists flags are set by the partitioning methods.
Unfortunately, and for obvious reasons, we can't run these in mount_only mode.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Bump version to 0.2.0.

Note the last digit, because we're using semantic versioning now.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>