From 73dfb006998bfca6410411c698ac52595264bb9c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Mar 2017 15:06:55 +0200 Subject: Add buildos.toolchain_trust= parameter --- buildos | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'buildos') 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. -- cgit v1.1