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