testing: Remove old SWID tags when building from repository

This fixes the TNC-PDP scenarios.
This commit is contained in:
Tobias Brunner
2015-11-09 15:18:36 +01:00
parent e22a663129
commit f7234e5e9f
+3
View File
@@ -49,6 +49,9 @@ log_action "Mounting $SWANDIR as /root/strongswan"
execute "bindfs -u $SRCUID -g $SRCGID $SWANDIR $LOOPDIR/root/strongswan"
do_on_exit umount $LOOPDIR/root/strongswan
log_action "Remove SWID tags of previous versions"
execute_chroot 'find /usr/local/share/regid.2004-03.org.strongswan -name *.swidtag -delete'
echo "Building and installing strongSwan"
log_action "Preparing source tree"
execute_chroot 'autoreconf -i /root/strongswan'