13493 Cannot install zone if newer version of entire is in repository in130
authorBart Smaalders <Bart.Smaalders@Sun.COM>
Fri, 18 Dec 2009 10:57:09 -0800
changeset 1615 f4ce7d1913be
parent 1614 4dc7080bddff
child 1616 79efbbbb809c
13493 Cannot install zone if newer version of entire is in repository
src/brand/pkgcreatezone
--- a/src/brand/pkgcreatezone	Fri Dec 18 10:55:36 2009 -0800
+++ b/src/brand/pkgcreatezone	Fri Dec 18 10:57:09 2009 -0800
@@ -449,7 +449,7 @@
 # the system, we can't do this test without first configuring the image.
 #
 printf "$m_incorp\n"
-$PKG list -a pkg://$publisher/$entire_fmri > /dev/null 2>&1
+$PKG list -af pkg://$publisher/$entire_fmri > /dev/null 2>&1
 if [[ $? -ne 0 ]]; then
 	fail_fatal "$f_no_entire_in_pref" $entire_fmri $publisher
 fi