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
|
cd $rootdir/root/build/inadyn
|
||||||
git checkout $INADYN_COMMIT -b $INADYN_COMMIT
|
git checkout $INADYN_COMMIT -b $INADYN_COMMIT
|
||||||
|
|
||||||
chroot "$rootdir" cd /root/build/inadyn && ./configure
|
cd $rootdir/root/build/inadyn
|
||||||
chroot "$rootdir" cd /root/build/inadyn && USE_OPENSSL=1 make
|
echo '#!/bin/bash' > $rootdir/root/build/build_inadyn.sh
|
||||||
chroot "$rootdir" cd /root/build/inadyn && make install
|
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
|
if [ ! -f $rootdir/usr/local/sbin/inadyn ]; then
|
||||||
echo 'Failed to build inadyn'
|
echo 'Failed to build inadyn'
|
||||||
exit 6209356
|
exit 6209356
|
||||||
|
@ -1168,7 +1173,7 @@ function image_setup_utils {
|
||||||
cd $rootdir/root/build/nginx_ensite
|
cd $rootdir/root/build/nginx_ensite
|
||||||
git checkout $NGINX_ENSITE_COMMIT -b $NGINX_ENSITE_COMMIT
|
git checkout $NGINX_ENSITE_COMMIT -b $NGINX_ENSITE_COMMIT
|
||||||
echo "nginx-ensite commit:$NGINX_ENSITE_COMMIT" >> $rootdir/root/freedombone-completed.txt
|
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
|
if [ ! -f $rootdir/etc/pam.d/nginx ]; then
|
||||||
echo '#%PAM-1.0' > $rootdir/etc/pam.d/nginx
|
echo '#%PAM-1.0' > $rootdir/etc/pam.d/nginx
|
||||||
echo '@include common-auth' >> $rootdir/etc/pam.d/nginx
|
echo '@include common-auth' >> $rootdir/etc/pam.d/nginx
|
||||||
|
|
Loading…
Reference in New Issue