From 9eae8ea7945a0e0540805e8533ae1a29c13c30dc Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 29 Oct 2007 19:36:20 +0000 Subject: [PATCH] Add a mkrpm for the metapackage, fix default postscripts.rules to do something sensible with updateflag.awk for alpha git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/etc/xcat/postscripts.rules | 2 +- xCAT/mkrpm | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 xCAT/mkrpm diff --git a/xCAT-server-2.0/etc/xcat/postscripts.rules b/xCAT-server-2.0/etc/xcat/postscripts.rules index e3b37b281..b3fe76244 100644 --- a/xCAT-server-2.0/etc/xcat/postscripts.rules +++ b/xCAT-server-2.0/etc/xcat/postscripts.rules @@ -186,7 +186,7 @@ ALL { #2nd arg can be Master IP for multiple master IP support. # ALL { - updateflag.awk $MASTER + updateflag.awk $MASTER 3002 } # hardcode networking diff --git a/xCAT/mkrpm b/xCAT/mkrpm new file mode 100755 index 000000000..0d331d4e4 --- /dev/null +++ b/xCAT/mkrpm @@ -0,0 +1,7 @@ +cd `dirname $0` +tar --exclude .svn -czvf postscripts.tar.gz postscripts LICENSE.html +tar --exclude .svn -czvf templates.tar.gz templates +mv -f *.gz /usr/src/redhat/SOURCES +rpmbuild -ba xCAT.spec +cd - +