From 089b366d756b87f5d0459a11f08e2b5f3c431a16 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 4 Nov 2008 10:15:51 +0100 Subject: tidy up tmp device map --- src/core/libs/lib-blockdevices-filesystems.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 8641dc4..161f118 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -1,5 +1,8 @@ #!/bin/sh +TMP_DEV_MAP=/home/arch/fifa/runtime/dev.map + + # procedural code from quickinst functionized and fixed. # there were functions like this in the setup script too, with some subtle differences. see below # NOTE: why were the functions in the setup called CHROOT_mount/umount? this is not chrooting ? @@ -152,8 +155,8 @@ findpartitions() { # taken from setup get_grub_map() { - rm /tmp/dev.map - $var_TARGET_DIR/sbin/grub --no-floppy --device-map /tmp/dev.map >/tmp/grub.log 2>&1 </tmp/grub.log 2>&1 <