aboutsummaryrefslogtreecommitdiff
path: root/buildos
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-20 08:44:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-20 08:44:30 +0200
commitc5e5cc6d1b77dbfee3341b627979e864c2e9a514 (patch)
treee30c2a0b9c9d1bef5285f15ed44ceb2093d2af97 /buildos
parentfa910a11d351a496a7db8da65b33625cf790c928 (diff)
Various minor improvements/changes
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"