summaryrefslogtreecommitdiff
path: root/src/core/procedures/automatic
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/procedures/automatic')
-rw-r--r--src/core/procedures/automatic5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic
index 80aecfc..1fae06d 100644
--- a/src/core/procedures/automatic
+++ b/src/core/procedures/automatic
@@ -132,6 +132,11 @@ worker_configure_system () {
worker_install_bootloader ()
{
+ get_grub_map
grub-install $var_GRUB_DEVICE --root-directory=/mnt
+ # check if we have a seperate bootdev (/boot)
+ # ToDo: This is double-work, find a better place!
+ # See comment in generate_grub_menulst and interactive_grub
+ bootdev=$(mount | grep $var_TARGET_DIR/boot | cut -d' ' -f 1)
generate_grub_menulst
}