Fixes to xcat-dep packaging script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
94d9b5bc90
commit
7400de24fd
12
builddep.sh
12
builddep.sh
@ -25,7 +25,7 @@ if [ "$1" == "NOUPLOAD" ]; then
|
||||
fi
|
||||
set -x
|
||||
|
||||
# Sign the rpms that are not already signed. The closed pipe warnings are normal.
|
||||
# Sign the rpms that are not already signed. The "standard input reopened" warnings are normal.
|
||||
$XCATCOREDIR/build-utils/rpmsign.exp `find . -type f -name '*.rpm'`
|
||||
|
||||
# Create the repodata dirs
|
||||
@ -38,8 +38,10 @@ chmod -R g+w *
|
||||
|
||||
# Build the tarball
|
||||
VER=`cat $XCATCOREDIR/Version`
|
||||
DFNAME=../xcat-dep-$VER-snap`date +%Y.%m.%d`.tar.bz2
|
||||
tar jcvf $DFNAME dep-snap
|
||||
DFNAME=xcat-dep-$VER-snap`date +%Y.%m.%d`.tar.bz2
|
||||
cd ..
|
||||
tar jcvf $DFNAME xcat-dep
|
||||
cd xcat-dep
|
||||
|
||||
if [ $UPLOAD == 0 ]; then
|
||||
exit 0;
|
||||
@ -51,5 +53,5 @@ rsync -rlv * $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/xcat-dep/
|
||||
#ssh jbjohnso@shell1.sf.net "cd /home/groups/x/xc/xcat/htdocs/yum/; rm -rf dep-snap; tar jxvf $DFNAME"
|
||||
|
||||
# Upload the tarball to the SF uploads dir for the FRS
|
||||
#scp $DFNAME $UPLOADUSER@web.sourceforge.net:uploads/
|
||||
#scp $DFNAME $UPLOADUSER@frs.sourceforge.net:uploads/
|
||||
scp ../$DFNAME $UPLOADUSER@web.sourceforge.net:uploads/
|
||||
#scp ../$DFNAME $UPLOADUSER@frs.sourceforge.net:uploads/
|
||||
|
Loading…
Reference in New Issue
Block a user