From d054647345bb2a3b460456e5a7821d4b9f89a5e7 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 12 Nov 2008 13:58:17 +0100 Subject: probably fix for bogus grub entries + more clarity for get_grub_map --- TODO | 1 + src/core/libs/lib-blockdevices-filesystems.sh | 2 +- src/core/libs/lib-ui-interactive.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 7d18d3f..3717801 100644 --- a/TODO +++ b/TODO @@ -3,6 +3,7 @@ See also the FIXME's and TODO's in the code. PRE-ALPHA PHASE: get the framework reasonably working + interactive procedure ftp/cdrom working. * core/interactive bug: grub menu.lst bad entries not cleaned ( after '#-*' tag). check if get_grub_map is the key.. +-> fixed i think ALPHA PHASE: get some people to test and suggest ideas, while fixing bugs and refactoring diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 24bef6a..d17a769 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -155,7 +155,7 @@ findpartitions() { # taken from setup get_grub_map() { rm $TMP_DEV_MAP #TODO: this doesn't exist? is this a problem? ASKDEV - #TODO: what's the use of this? does it generate the menu.lst? man grub says it will put it in /boot/grub/menu.lst, I think our 'boot' is mounted on /mnt/boot ? check that out. is it grub who sets up the marker? + infofy "Generating GRUB device map...\nThis could take a while.\n\n Please be patient." $var_TARGET_DIR/sbin/grub --no-floppy --device-map $TMP_DEV_MAP >/tmp/grub.log 2>&1 <>$grubmenu <