src/brand/pkgcreatezone
changeset 2123 33e0355a44f1
parent 1879 7dc50f542f19
child 2148 5625d3707d5b
child 2189 dc8c8c2abf35
child 2520 a4b0fd5b0ba2
--- a/src/brand/pkgcreatezone	Tue Oct 26 18:41:52 2010 -0700
+++ b/src/brand/pkgcreatezone	Tue Nov 02 12:31:01 2010 -0600
@@ -489,15 +489,17 @@
 # it's present in the current image), to constrain everything.  Then,
 # SUNWcsd, to lay down device files which are subsequently needed by
 # driver actions.  Then SUNWcs to lay down /etc/passwd, /etc/group,
-# etc so that subsequent user and group actions # work.  This can all
+# etc so that subsequent user and group actions work.  This can all
 # hopefully go away once "primordial" actions arrive.
 #
 if [[ -n $entire_fmri ]]; then
-	LC_ALL=C $PKG install -q --no-refresh --no-index $entire_fmri || \
-	    pkg_err_check "$f_pkg"
+	LC_ALL=C $PKG install -q --accept --no-refresh --no-index \
+	    $entire_fmri || pkg_err_check "$f_pkg"
 fi
-LC_ALL=C $PKG install --no-refresh --no-index SUNWcsd || pkg_err_check "$f_pkg"
-LC_ALL=C $PKG install --no-refresh --no-index SUNWcs || pkg_err_check "$f_pkg"
+LC_ALL=C $PKG install --accept --no-refresh --no-index SUNWcsd || \
+    pkg_err_check "$f_pkg"
+LC_ALL=C $PKG install --accept --no-refresh --no-index SUNWcs || \
+    pkg_err_check "$f_pkg"
 
 printf "$m_more\n"
 pkglist=""
@@ -557,7 +559,8 @@
 # Do the install; we just refreshed on image-create, so skip that.  We
 # also skip indexing here, as that is also what the LiveCD does.
 #
-LC_ALL=C $PKG install --no-index --no-refresh $pkglist || pkg_err_check "$f_pkg"
+LC_ALL=C $PKG install --accept --no-index --no-refresh $pkglist || \
+    pkg_err_check "$f_pkg"
 
 printf "\n$m_mannote\n"