make_release_packages
changeset 29 449a687b3d6f
parent 0 b949c5054bc4
child 38 7af6d375c370
--- a/make_release_packages	Wed Jun 07 11:41:14 2006 -0700
+++ b/make_release_packages	Thu Jun 08 14:50:14 2006 -0700
@@ -27,7 +27,7 @@
 # or other dealings in this Software without prior written authorization
 # of the copyright holder.
 # 
-# @(#)make_release_packages	1.41 03/07/06 06/03/07
+# @(#)make_release_packages	1.43 06/05/06 06/06/05
 #
 #	Create and fill a package staging area for X
 #
@@ -54,8 +54,9 @@
 XW_PACKAGE_LIST="SUNWxwcft SUNWxwdem SUNWxwdim SUNWxwfs SUNWxwinc \
 	SUNWxwice SUNWxwopt SUNWxwpmn SUNWxwsrc SUNWxwacx SUNWxwdxm \
 	SUNWxwhl SUNWi1of SUNWxwfa SUNWxwpft SUNWxwsrv SUNWxwoft \
-	SUNWfontconfig SUNWfontconfig-root SUNWfontconfig-docs SUNWxwsvr
-	SUNWxscreensaver-hacks SUNWstsfr SUNWfreetype2 SUNWxwxft SUNWxwfsw"
+	SUNWfontconfig SUNWfontconfig-root SUNWfontconfig-docs SUNWxwsvr \
+	SUNWxscreensaver-hacks SUNWstsfr SUNWfreetype2 SUNWxwxft SUNWxwfsw \
+	SUNWxprint-server"
 
 # L10N packages are normally only built on sparc since they only have text
 # files that are the same for both platforms
@@ -89,7 +90,8 @@
 # Packages with platform-specific prototype files, including those with
 # 64-bit libraries
 XW_PLT_PACKAGE="SUNWxwplt SUNWxwplr SUNWxwfnt SUNWxwrtl SUNWxwslb \
-    SUNWxwmod SUNWstsf SUNWxwxst SUNWxscreensaver-hacks-gl SUNWxwman $TSOL_PACKAGE"
+    SUNWxwmod SUNWstsf SUNWxwxst SUNWxscreensaver-hacks-gl SUNWxwman \
+    SUNWxsun-server SUNWxsun-keytables $TSOL_PACKAGE"
 
 # Some packages are only built for sparc currently
 if [ "$MACH" = "sparc" ]; then
@@ -238,12 +240,19 @@
 
 echo result log is in $PACKAGE_DIR/$LOGfile
 
+printf "Packages built:  "
+grep -c "Packaging complete" $PACKAGE_DIR/$LOGfile
+printf "Packages failed: "
+grep -c "Packaging was not successful" $PACKAGE_DIR/$LOGfile
+
 # Create an installdir with symlinks to SUNW* pkgs
 cd $PACKAGE_DIR
 mkdir installdir
 cd installdir
 ln -s ../SUNW*/SUNW* .
-cp -p $SOURCEDIR/packages/upgrade-X .
-chmod a+x upgrade-X
+if [ -f $SOURCEDIR/packages/upgrade-X ] ; then
+    cp -p $SOURCEDIR/packages/upgrade-X .
+    chmod a+x upgrade-X
+fi
 
 exit