Explorar o código

Multi-profile support

bryan %!s(int64=2) %!d(string=hai) anos
pai
achega
ac878b82ee
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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