Fix problems with otherpkgs seen in IC test process with plain_pkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4d59e64a73
commit
13b96e9af6
@ -574,7 +574,7 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
|
||||
#Handle the rest with rpm
|
||||
if [ "$plain_pkgs" != "" ]; then
|
||||
if [ $mounted -eq 0 ]; then
|
||||
dir_no_ftproot=${OTHERPKGDIR#$INSTALLDIR/}
|
||||
dir_no_ftproot=${OTHERPKGDIR#*$INSTALLDIR/}
|
||||
mkdir -p /xcatpost/$dir_no_ftproot
|
||||
rm -f -R /xcatpost/$dir_no_ftproot/*
|
||||
mkdir -p /tmp/postage/
|
||||
@ -584,7 +584,7 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
|
||||
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 --reject "index.html*" --no-parent http://$OTHERPKGDIR/ 2> /tmp/wget.log
|
||||
|
||||
mv $dir_no_ftproot/* /xcatpost/$dir_no_ftproot;
|
||||
rm -rf $NFSSERVER
|
||||
rm -rf $dir_no_ftproot
|
||||
cd /xcatpost/$dir_no_ftproot
|
||||
else
|
||||
cd $OTHERPKGDIR
|
||||
|
Loading…
Reference in New Issue
Block a user