X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=blobdiff_plain;f=testing%2Fscripts%2Fbuild-umlhostfs;h=75feaa4edcd871ad739b23112210214e69e661a5;hp=e77bfc02536427f5754ac3d295860039977deabe;hb=4ccc4fd97c01eca5ec0bbe7281a51aa5c363f5e7;hpb=564c7a684b0ca2a50df91c6771d84527e19f6602 diff --git a/testing/scripts/build-umlhostfs b/testing/scripts/build-umlhostfs index e77bfc0..75feaa4 100755 --- a/testing/scripts/build-umlhostfs +++ b/testing/scripts/build-umlhostfs @@ -13,8 +13,6 @@ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. -# -# RCSID $Id: build-umlhostfs,v 1.3 2006/03/30 21:20:27 as Exp $ DIR=`dirname $0` @@ -32,7 +30,7 @@ if [ ! -d $BUILDDIR ] then cecho-n " * Directory '$BUILDDIR' does not exist..creating.." mkdir $BUILDDIR - cecho "done" + cgecho "done" fi LOGFILE=${BUILDDIR}/testing.log @@ -41,7 +39,7 @@ if [ ! -f $LOGFILE ] then cecho-n " * Logfile '$LOGFILE' does not exist..creating.." touch $LOGFILE - cecho "done" + cgecho "done" fi LOOPDIR=loop @@ -65,14 +63,16 @@ 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 - cp -rfp $UMLTESTDIR/testing/images $LOOPDIR/var/www/localhost/htdocs + mkdir $LOOPDIR/var/log/apache2/ocsp + 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 chroot $LOOPDIR /etc/init.d/depscan.sh --update >> $LOGFILE 2>&1 umount $LOOPDIR done -cecho "done" +cgecho "done"