瀏覽代碼

Web server in image

Bob Mottram 8 年之前
父節點
當前提交
077fa980f2
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      src/freedombone-image-customise

+ 1
- 2
src/freedombone-image-customise 查看文件

@@ -1168,8 +1168,7 @@ function image_setup_utils {
1168 1168
     cd $rootdir/root/build/nginx_ensite
1169 1169
     git checkout $NGINX_ENSITE_COMMIT -b $NGINX_ENSITE_COMMIT
1170 1170
     echo "nginx-ensite commit:$NGINX_ENSITE_COMMIT" >> $rootdir/root/freedombone-completed.txt
1171
-    chroot "$rootdir" cd /root/build/nginx_ensite && make install
1172
-    chroot "$rootdir" nginx_dissite default
1171
+    chroot "$rootdir" make install
1173 1172
     if [ ! -f $rootdir/etc/pam.d/nginx ]; then
1174 1173
         echo '#%PAM-1.0' > $rootdir/etc/pam.d/nginx
1175 1174
         echo '@include common-auth' >> $rootdir/etc/pam.d/nginx