mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-15 00:00:26 -05:00
do not preserve ownership of copied files
This commit is contained in:
parent
0fc1fc0ec8
commit
231be8df87
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user