Different inadyn build

This commit is contained in:
Bob Mottram 2017-02-23 22:12:07 +00:00
parent 077fa980f2
commit 44bacbf3a2
1 changed files with 9 additions and 4 deletions

View File

@ -977,9 +977,14 @@ function image_install_inadyn {
cd $rootdir/root/build/inadyn
git checkout $INADYN_COMMIT -b $INADYN_COMMIT
chroot "$rootdir" cd /root/build/inadyn && ./configure
chroot "$rootdir" cd /root/build/inadyn && USE_OPENSSL=1 make
chroot "$rootdir" cd /root/build/inadyn && make install
cd $rootdir/root/build/inadyn
echo '#!/bin/bash' > $rootdir/root/build/build_inadyn.sh
echo 'cd ~/build/inadyn' >> $rootdir/root/build/build_inadyn.sh
echo './configure' >> $rootdir/root/build/build_inadyn.sh
echo 'USE_OPENSSL=1 make' >> $rootdir/root/build/build_inadyn.sh
echo 'make install' >> $rootdir/root/build/build_inadyn.sh
chmod +x $rootdir/root/build/build_inadyn.sh
chroot "$rootdir" /root/build/build_inadyn.sh
if [ ! -f $rootdir/usr/local/sbin/inadyn ]; then
echo 'Failed to build inadyn'
exit 6209356
@ -1168,7 +1173,7 @@ function image_setup_utils {
cd $rootdir/root/build/nginx_ensite
git checkout $NGINX_ENSITE_COMMIT -b $NGINX_ENSITE_COMMIT
echo "nginx-ensite commit:$NGINX_ENSITE_COMMIT" >> $rootdir/root/freedombone-completed.txt
chroot "$rootdir" make install
chroot "$rootdir" cd /root/build/nginx_ensite && make install
if [ ! -f $rootdir/etc/pam.d/nginx ]; then
echo '#%PAM-1.0' > $rootdir/etc/pam.d/nginx
echo '@include common-auth' >> $rootdir/etc/pam.d/nginx