Split vm and bootloader elements

In order to add more flexibility to the vm and bootloader
elements, split the functionality in two different ones, and
make vm depend on bootloader element.
This will allow to construct more elements that depend on
bootloader, and develop both elements independently.

Change-Id: Iad2503b7b8fe53b768a3bc79e4cb839700fbd747
This commit is contained in:
Yolanda Robla 2015-12-15 20:47:19 +01:00
parent be5b669af1
commit c54b335fcc
5 changed files with 8 additions and 5 deletions

View File

@ -0,0 +1,7 @@
==========
bootloader
==========
Installs grub[2] on boot partition on the system. In case GRUB2
is not available in the system, a fallback to Extlinux will happen. It's
also possible to enforce the use of Extlinux by exporting a DIB_EXTLINUX
variable to the environment.

View File

@ -3,8 +3,3 @@ vm
==
Sets up a partitioned disk (rather than building just one filesystem with no
partition table).
By default the disk will have grub[2]-install run on it. In case GRUB2
is not available in the system, a fallback to Extlinux will happen. It's
also possible to enforce the use of Extlinux by exporting a DIB_EXTLINUX
variable to the environment.

1
elements/vm/element-deps Normal file
View File

@ -0,0 +1 @@
bootloader