- run createrepo with appropriate -g option
authorMark Huang <mlhuang@cs.princeton.edu>
Mon, 8 May 2006 21:52:43 +0000 (21:52 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Mon, 8 May 2006 21:52:43 +0000 (21:52 +0000)
support-files/buildnode.sh

index 7fe18e3..a93cb27 100755 (executable)
@@ -9,7 +9,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id: buildnode.sh,v 1.4 2006/03/10 18:20:34 mlhuang Exp $
+# $Id: buildnode.sh,v 1.5 2006/03/21 14:57:29 mlhuang Exp $
 #
 
 # Get the production /etc/yum.conf file. XXX When MAs begin deploying
@@ -35,7 +35,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