From 1b3e5c80175037e69ddce7c8a58341db84c10e91 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 12 Dec 2008 17:24:16 +0100 Subject: fix for set BOOT_PART --- src/core/libs/lib-blockdevices-filesystems.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index bfeebc8..19c9fea 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -547,6 +547,10 @@ process_filesystem () debug "mounting $part on $dst" mkdir -p $dst &>/dev/null # directories may or may not already exist mount -t $fs_type $part $dst >$LOG 2>&1 || ( show_warning 'Mount' "Error mounting $part on $dst" ; return 1 ) + if [ "$fs_mount" = target -a $fs_mountpoint = '/' ] + then + PART_ROOT=$part + fi fi fi -- cgit v1.2.3-54-g00ecf