From 995a5b3effc82c39f929d0290e74b84ee25d773b Mon Sep 17 00:00:00 2001
From: Sam Thursfield <sam.thursfield@codethink.co.uk>
Date: Wed, 20 Sep 2017 10:54:31 +0100
Subject: gnu-toolchain: Use binaries from Baserock releases repo to bootstrap

This replaces the previous approach of using the Freedesktop SDK binaries.
We need to support more architectures than just x86_32 and x86_64, and in
general it's better to bootstrap from a minimal sysroot that we build and
control.

The binaries are hosted at https://ostree.baserock.org/releases and are
produced by a manual (but automatable) process that I will document in
subsequent commits from the `bootstrap/stage3-sysroot.bst` element.
---
 elements/gnu-toolchain/base.bst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 elements/gnu-toolchain/base.bst

(limited to 'elements/gnu-toolchain/base.bst')

diff --git a/elements/gnu-toolchain/base.bst b/elements/gnu-toolchain/base.bst
new file mode 100644
index 00000000..52b8994f
--- /dev/null
+++ b/elements/gnu-toolchain/base.bst
@@ -0,0 +1,15 @@
+kind: import
+description: Import the base freedesktop platform
+environment:
+  PATH: /tools/bin:/tools/sbin:/usr/bin:/bin:/usr/sbin:/sbin
+public:
+  bst:
+    integration-commands:
+    - ldconfig
+host-arches:
+  x86_64:
+    sources:
+    - kind: ostree
+      url: https://ostree.baserock.org/releases/
+      track: stage3-sysroot/x86_64
+      ref: 176e4ce55460e5c99232681a0ffa7f2425fbf8d1573f7f4dcb9daf2bca737311
-- 
cgit v1.2.1

