From 5791e0f2c278be1fc72a1ef7149acec4da21ffa7 Mon Sep 17 00:00:00 2001
From: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Date: Wed, 25 Jul 2018 15:05:24 +0100
Subject: Revert "Update buildstream to 1.1.3"

This reverts commit 45bb922afeaae26ef5d4e0ee329c678485063c45.
---
 elements/gnu-toolchain/stage2-reset-specs.bst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'elements/gnu-toolchain/stage2-reset-specs.bst')

diff --git a/elements/gnu-toolchain/stage2-reset-specs.bst b/elements/gnu-toolchain/stage2-reset-specs.bst
index 3309c073..5910903e 100644
--- a/elements/gnu-toolchain/stage2-reset-specs.bst
+++ b/elements/gnu-toolchain/stage2-reset-specs.bst
@@ -28,7 +28,7 @@ config:
   # points to a file that doesn't exist.
   install-commands:
   - |
-    STAGE2_SYSROOT="/"
+    STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))"
     specs_dir="$(dirname $(%{target-stage1}-gcc -print-libgcc-file-name))"
     target_specs_dir="%{install-root}/${specs_dir#$STAGE2_SYSROOT}"
     mkdir -p "$target_specs_dir"
-- 
cgit v1.2.1

