Don't include biosboot in grub devices.

When using GPT this will cause the grub installation to fail.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Return exit code 100 if reboot is required.

The implementation is somewhat ugly because we're using _ped from
throughout the propagated dependencies of blivet (pyparted to be exact).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Properly detect GPT and add biosboot partition.

Some worka... err... magic is involved here, where we do the devicetree
detection and initialization, loop through all disklabels and add
biosboot partitions to the kickstart(!) file and re-run the whole
procedure.

Therefore until this is properly implemented we always use
NixKickstart.run() with init set to False so we don't accidentally init
twice (this will cause some obscure errors and duplicate entries in the
device tree).

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

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