Different inadyn build
This commit is contained in:
parent
077fa980f2
commit
44bacbf3a2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue