diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 17:24:16 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-12 17:24:16 +0100 |
commit | 1b3e5c80175037e69ddce7c8a58341db84c10e91 (patch) | |
tree | 3418889e17d5b71d06d8b97535b0adcc99e033ae /src/core | |
parent | db678fca096ba0182dff36c11d94437721611a5e (diff) |
fix for set BOOT_PART
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |