summaryrefslogtreecommitdiff
path: root/tcwg-generate-source-cache.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-03-03 13:17:52 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-03-03 13:17:52 +0000
commit97ed07c503095e4ee24d6319ba7bfb35a54c65ad (patch)
treed22f3984da9ab0d70909a4d084c585d5080fae98 /tcwg-generate-source-cache.sh
parent1b837bd8aa41b753471fe7d575850c668803427f (diff)
tcwg-generate-source-cache.sh: Remember to untar foundation model
Change-Id: Id05ddfe89f111f30952d4444a66a9dff77cf706c
Diffstat (limited to 'tcwg-generate-source-cache.sh')
-rwxr-xr-xtcwg-generate-source-cache.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-generate-source-cache.sh b/tcwg-generate-source-cache.sh
index 1f6e811f..d321724b 100755
--- a/tcwg-generate-source-cache.sh
+++ b/tcwg-generate-source-cache.sh
@@ -126,7 +126,9 @@ generate_misc_files ()
# Distribute Foundation Model to the builders so that containers
# running there can access Foundation Model via a bind-mount for
# bare-metal testing.
- curl -o $snapshots_dir/FM000-KT-00035-r9p5-41rel0.tgz http://localhost/~tcwg-buildslave/infrastructure/FM000-KT-00035-r9p5-41rel0.tgz
+ fm_tgz=FM000-KT-00035-r9p5-41rel0.tgz
+ curl -o $snapshots_dir/$fm_tgz http://localhost/~tcwg-buildslave/infrastructure/$fm_tgz
+ tar xf $snapshots_dir/$fm_tgz -C $snapshots_dir
chmod -R ugo+rx $snapshots_dir/Foundation_Platformpkg
# Clone the Linux kernel and LLVM monorepo.