diff options
author | Martin Willi <martin@strongswan.org> | 2006-05-17 14:24:18 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-05-17 14:24:18 +0000 |
commit | 1e93135408e9810cc10b2b10395b508d687bc819 (patch) | |
tree | 4223ab2cfa73b784fb51b15a1922c99cc2d4a17d /testing/scripts/build-umlrootfs | |
parent | db26d00e73c9571010e52c2cd2b936d597401173 (diff) | |
download | strongswan-1e93135408e9810cc10b2b10395b508d687bc819.tar.bz2 strongswan-1e93135408e9810cc10b2b10395b508d687bc819.tar.xz |
- updated testsuite to autotools
Diffstat (limited to 'testing/scripts/build-umlrootfs')
-rwxr-xr-x | testing/scripts/build-umlrootfs | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs index c2726cfc9..0dd41c04f 100755 --- a/testing/scripts/build-umlrootfs +++ b/testing/scripts/build-umlrootfs @@ -114,19 +114,20 @@ INSTALLSHELL=${LOOPDIR}/install.sh cecho " * Preparing strongSwan installation script" echo "ln -sf /usr/share/zoneinfo/${TZUML} /etc/localtime" >> $INSTALLSHELL +echo "cd /root/${STRONGSWANVERSION}" >> $INSTALLSHELL +echo -n "./configure --sysconfdir=/etc" >> $INSTALLSHELL +echo -n " --with-random-device=/dev/urandom" >> $INSTALLSHELL if [ "$USE_LIBCURL" = "yes" ] then - echo "export USE_LIBCURL=true" >> $INSTALLSHELL + echo -n " --enable-http" >> $INSTALLSHELL fi if [ "$USE_LDAP" = "yes" ] then - echo "export USE_LDAP=true" >> $INSTALLSHELL + echo -n " --enable-ldap=3" >> $INSTALLSHELL fi - -echo "export USERCOMPILE=\'-DRANDOM_DEVICE=\\\"/dev/urandom\\\"\'" >> $INSTALLSHELL -echo "cd /root/${STRONGSWANVERSION}" >> $INSTALLSHELL -echo "make programs" >> $INSTALLSHELL +echo "" >> $INSTALLSHELL +echo "make" >> $INSTALLSHELL echo "make install" >> $INSTALLSHELL echo "ldconfig" >> $INSTALLSHELL @@ -134,9 +135,6 @@ cecho-n " * Compiling $STRONGSWANVERSION within the root file system as chroot.. chroot $LOOPDIR /bin/bash /install.sh >> $LOGFILE 2>&1 cecho "done" -rm -f $INSTALLSHELL - - ###################################################### # copying the host's ssh public key # |