diff --git a/elements/bootloader/README.rst b/elements/bootloader/README.rst new file mode 100644 index 000000000..ecfefc428 --- /dev/null +++ b/elements/bootloader/README.rst @@ -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. diff --git a/elements/vm/cleanup.d/51-bootloader b/elements/bootloader/cleanup.d/51-bootloader similarity index 100% rename from elements/vm/cleanup.d/51-bootloader rename to elements/bootloader/cleanup.d/51-bootloader diff --git a/elements/vm/finalise.d/51-bootloader b/elements/bootloader/finalise.d/50-bootloader similarity index 100% rename from elements/vm/finalise.d/51-bootloader rename to elements/bootloader/finalise.d/50-bootloader diff --git a/elements/vm/README.rst b/elements/vm/README.rst index 678982e43..4dbf6e365 100644 --- a/elements/vm/README.rst +++ b/elements/vm/README.rst @@ -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. diff --git a/elements/vm/element-deps b/elements/vm/element-deps new file mode 100644 index 000000000..54960172d --- /dev/null +++ b/elements/vm/element-deps @@ -0,0 +1 @@ +bootloader