- run createrepo with correct -g option
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 26 May 2006 15:27:44 +0000 (15:27 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 26 May 2006 15:27:44 +0000 (15:27 +0000)
build.sh

index 4bd4dd2..a153c53 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -8,7 +8,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2004-2005 The Trustees of Princeton University
 #
-# $Id: build.sh,v 1.3 2006/03/10 18:20:28 mlhuang Exp $
+# $Id: build.sh,v 1.4 2006/03/21 14:57:29 mlhuang Exp $
 #
 
 # Get the production /etc/yum.conf file. XXX When MAs begin deploying
@@ -34,7 +34,7 @@ EOF
 
     # And replace them with a section for the RPMS that were just built
     yum-arch $(dirname $RPM_BUILD_DIR)/RPMS
-    createrepo $(dirname $RPM_BUILD_DIR)/RPMS || :
+    createrepo -g yumgroups.xml $(dirname $RPM_BUILD_DIR)/RPMS || :
     # If run under sudo, allow user to delete the headers/ and
     # repodata/ directories.
     if [ -n "$SUDO_USER" ] ; then