diff options
Diffstat (limited to 'usr/src/tools/scripts/bfu.sh')
-rw-r--r-- | usr/src/tools/scripts/bfu.sh | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/usr/src/tools/scripts/bfu.sh b/usr/src/tools/scripts/bfu.sh index f68fa09651..c86cb80626 100644 --- a/usr/src/tools/scripts/bfu.sh +++ b/usr/src/tools/scripts/bfu.sh @@ -2149,14 +2149,20 @@ if [ $diskless = no ]; then chgrp sys $root/platform/sun4u-us3 fi - if [ $target_isa = i386 -a $archive_type = xpv ]; then - # - # On i386, we want to apply the archives for both platforms - # (i86pc and i86xpv) if they exist. We force the platform - # to i86xpv so that both will be applied. - # - karch=i86pc - plat=i86xpv + if [ $target_isa = i386 ]; then + if [ $archive_type = xpv ]; then + # + # On i386, we want to apply the archives for both + # platforms (i86pc and i86xpv) if they exist. We + # force the platform to i86xpv so that both will be + # applied. + # + karch=i86pc + plat=i86xpv + fi + if [ ! -d $root/platform/i86hvm ]; then + mkdir $root/platform/i86hvm + fi fi if [ $karch != $plat -a -f ${cpiodir}/${plat}.usr$ZFIX ]; then |