Multi-profile support

This commit is contained in:
2023-01-11 14:36:41 -05:00
parent 242cdb02b8
commit ac878b82ee

View File

@@ -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