do not preserve ownership of copied files

This commit is contained in:
Andreas Steffen 2008-05-12 20:06:58 +00:00
parent 0fc1fc0ec8
commit 231be8df87
3 changed files with 4 additions and 4 deletions

View File

@ -65,11 +65,11 @@ do
cecho-n "$host.."
cp gentoo-fs gentoo-fs-$host
mount -o loop gentoo-fs-$host $LOOPDIR
cp -rfp $BUILDDIR/hosts/${host}/etc $LOOPDIR
cp -rf $BUILDDIR/hosts/${host}/etc $LOOPDIR
if [ "$host" = "winnetou" ]
then
mkdir $LOOPDIR/var/log/apache2/ocsp
cp -rfp $UMLTESTDIR/testing/images $LOOPDIR/var/www/localhost/htdocs
cp -rf $UMLTESTDIR/testing/images $LOOPDIR/var/www/localhost/htdocs
chroot $LOOPDIR ln -s /etc/openssl/certs /var/www/localhost/htdocs/certs
chroot $LOOPDIR /etc/openssl/generate-crl >> $LOGFILE 2>&1
fi

View File

@ -47,7 +47,7 @@ then
for host in `ls $TESTSDIR/$testname/hosts`
do
eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
scp -rp $TESTSDIR/$testname/hosts/$host/etc $HOSTLOGIN:/ > /dev/null 2>&1
scp -r $TESTSDIR/$testname/hosts/$host/etc $HOSTLOGIN:/ > /dev/null 2>&1
done
fi

View File

@ -48,6 +48,6 @@ then
for host in `ls $TESTSDIR/${testname}/hosts`
do
eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
scp -rp $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1
scp -r $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1
done
fi