From 0e1d008d71b52bf84c28fd7ece4adc06e6df9976 Mon Sep 17 00:00:00 2001 From: Reto Buerki Date: Tue, 22 Jan 2013 20:52:15 +0100 Subject: [PATCH] Add /usr/local/lib/ipsec to linker cache --- testing/hosts/default/etc/ld.so.conf.d/strongswan.conf | 1 + testing/scripts/build-guestimages | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 testing/hosts/default/etc/ld.so.conf.d/strongswan.conf diff --git a/testing/hosts/default/etc/ld.so.conf.d/strongswan.conf b/testing/hosts/default/etc/ld.so.conf.d/strongswan.conf new file mode 100644 index 000000000..8648d0185 --- /dev/null +++ b/testing/hosts/default/etc/ld.so.conf.d/strongswan.conf @@ -0,0 +1 @@ +/usr/local/lib/ipsec diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages index 3e0709db9..b93c868d2 100755 --- a/testing/scripts/build-guestimages +++ b/testing/scripts/build-guestimages @@ -46,6 +46,8 @@ do execute "mount $NBDPARTITION $LOOPDIR" 0 execute "cp -rf $HOSTSDIR/${host}/etc $LOOPDIR" 0 execute "cp -rf $HOSTSDIR/default/* $LOOPDIR" 0 + execute_chroot "ldconfig" 0 + if [ "$host" = "winnetou" ] then execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0