Mercurial > illumos > illumos-gate
changeset 3977:4d8c8b4553a3
6542677 bfu from old-zfs-boot to new-zfs-boot brickifies system
author | lalt |
---|---|
date | Thu, 05 Apr 2007 15:35:55 -0700 |
parents | f77f0b15fc3b |
children | 2dd668007b7a |
files | usr/src/tools/scripts/bfu.sh |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/tools/scripts/bfu.sh Thu Apr 05 13:36:07 2007 -0700 +++ b/usr/src/tools/scripts/bfu.sh Thu Apr 05 15:35:55 2007 -0700 @@ -2120,6 +2120,13 @@ done fi +if grep '^[ ]*zfsroot:' $root/etc/system >/dev/null ; then + echo "Cannot BFU a system with the mountroot version"\ + "of zfs boot support." + echo "See http://www.opensolaris.org/os/community/on/flag-days/pages/2007032801" + fail "" +fi + nss_lib="$usr/lib/mps/libnss3.so" nss_lib64="$usr/lib/mps/64/libnss3.so" valid_rpath="\$ORIGIN:/usr/lib/mps/secv1:/usr/lib/mps"