Browse Source

Multi-profile support

bryan 2 năm trước cách đây
mục cha
commit
ac878b82ee
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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