Fixing image utils install
This commit is contained in:
parent
fbeb938fc8
commit
5e3a5215fa
|
@ -1160,7 +1160,7 @@ function image_setup_utils {
|
|||
git clone $TOMB_REPO $rootdir/root/build/tomb
|
||||
cd $rootdir/root/build/tomb
|
||||
git checkout $TOMB_COMMIT -b $TOMB_COMMIT
|
||||
chroot "$rootdir" make install
|
||||
chroot "$rootdir" cd /root/build/tomb && make install
|
||||
echo "tomb commit:$TOMB_COMMIT" >> $rootdir/root/freedombone-completed.txt
|
||||
|
||||
if ! grep '* hard maxsyslogins' $rootdir/etc/security/limits.conf; then
|
||||
|
@ -1193,7 +1193,7 @@ function image_setup_utils {
|
|||
git clone $GPGIT_REPO $rootdir/root/build/gpgit
|
||||
cd $rootdir/root/build/gpgit
|
||||
git checkout $GPGIT_COMMIT -b $GPGIT_COMMIT
|
||||
cp gpgit.pl $rootdir/usr/bin
|
||||
cp $rootdir/root/build/gpgit/gpgit.pl $rootdir/usr/bin
|
||||
echo "gpgit commit:$GPGIT_COMMIT" >> $rootdir/root/freedombone-completed.txt
|
||||
|
||||
# email client
|
||||
|
@ -1212,7 +1212,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
|
||||
chroot "$rootdir" nginx_dissite default
|
||||
if [ ! -f $rootdir/etc/pam.d/nginx ]; then
|
||||
echo '#%PAM-1.0' > $rootdir/etc/pam.d/nginx
|
||||
|
|
Loading…
Reference in New Issue