aboutsummaryrefslogtreecommitdiff
path: root/buildos
diff options
context:
space:
mode:
Diffstat (limited to 'buildos')
-rwxr-xr-xbuildos7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildos b/buildos
index bb7434e..2e484a2 100755
--- a/buildos
+++ b/buildos
@@ -531,6 +531,8 @@ function toolchain_fetch () # <toolchain-prefix> <line>
# Make the link.
#
+ # Note that the target must be just the file for TFTP chroot to work.
+ #
ln -s "$f" "$tr/$l"
}
@@ -559,6 +561,11 @@ function toolchain_bootstrap () # <toolchain-name>
local tv="$(toolchain_value "$tp" toolchain_ver)" # Should be set by fetch().
local tt="$(toolchain_value "$tp" toolchain_trust)"
+ # Save the repository certificate fingerprint into the trust file (used
+ # by machine bootstrap).
+ #
+ echo "$tt" >"$tr/trust"
+
# Bootstrap in /tmp/toolchain/$tn/, install to /build/toolchain/$tn/.
#
local wd="/tmp/toolchain/$tn"