浏览代码

Multi-profile support

bryan 2 年之前
父节点
当前提交
ac878b82ee
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      openwrtbuilder

+ 3 - 0
openwrtbuilder

@@ -637,12 +637,15 @@ main() {
         : "${P_ARR[sysupgrade_bin_gz_fname]:=${P_ARR[sysupgrade_bin_gz]##*/}}"
 
         if (( DEBUG )) || (( PROFILE_INFO )); then
+            echo "Profile settings:"
             for x in "${!P_ARR[@]}"; do printf "[%s]=%s\n" "$x" "${P_ARR[$x]}"; done
         fi
 
         # Experimental
         (( FROM_SOURCE )) && fromSource
 
+        debug "${P_ARR[*]}"
+
         getImageBuilder
 
         addRepos