aboutsummaryrefslogtreecommitdiff
path: root/buildos
diff options
context:
space:
mode:
Diffstat (limited to 'buildos')
-rwxr-xr-xbuildos9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildos b/buildos
index c91c554..872a5a0 100755
--- a/buildos
+++ b/buildos
@@ -101,6 +101,15 @@ else
tc_root="/build/tftp"
tc_path="$tc_root/$tc_file"
tc_ver=
+
+ # If buildos.toolchain_trust was not specified, set it to "no" so that
+ # we don't prompt if the repository happens to be signed.
+ #
+ if [ -n "$toolchain_trust" ]; then
+ tc_trust="$toolchain_trust"
+ else
+ tc_trust="no"
+ fi
fi
# Calculate the file checksum using the shaNNNsum utility.