summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorjianfei wang - Sun Microsystems - Beijing China <Jianfei.Wang@Sun.COM>2009-06-21 10:17:20 +0800
committerjianfei wang - Sun Microsystems - Beijing China <Jianfei.Wang@Sun.COM>2009-06-21 10:17:20 +0800
commite6f838bcee42a5cd2bc0ce524ead11b0ac9a464a (patch)
tree9cd8d96402e846b32610083524cdc25da5606cba /usr/src
parentc85864d8472aaccb47ceb468ebd9b3a85b66d161 (diff)
downloadillumos-joyent-e6f838bcee42a5cd2bc0ce524ead11b0ac9a464a.tar.gz
6848782 stmsboot -e on t2000 with SVM mirrored root creates boot archive inconsistency in svc mpxio-update
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/stmsboot/mpxio-upgrade7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/cmd/stmsboot/mpxio-upgrade b/usr/src/cmd/stmsboot/mpxio-upgrade
index 0a0e9f457d..8a14d526ff 100644
--- a/usr/src/cmd/stmsboot/mpxio-upgrade
+++ b/usr/src/cmd/stmsboot/mpxio-upgrade
@@ -20,7 +20,7 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -284,8 +284,7 @@ update_bootpath()
# now strip off leading and trailing space chars
new_bootpath=`echo $NEWBOOTPATH`
$EEPROM bootpath="$new_bootpath"
- cecho "stmsboot: bootpath has been updated, now regenerating boot archive"
- $BOOTADM update-archive
+ cecho "stmsboot: bootpath has been updated"
cecho ""
}
@@ -350,6 +349,8 @@ mpxio_main()
# only update bootpath here for x86
update_bootpath
fi
+ cecho "stmsboot: now regenerating boot archive"
+ $BOOTADM update-archive
else
mpxio_error "failed to update /etc/vfstab."
fi