From 490e1104218625ac62f725d00b0a3c7e006c8e1b Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Wed, 20 Mar 2019 17:29:34 +0100
Subject: [PATCH] sysroot: Align defaults to the ospack-sysroot recipe

With this, running debos with no template parameters does not
fail badly:

    debos apertis-ospack-sysroot.yaml
    debos apertis-sysroot.yaml

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 apertis-sysroot.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/apertis-sysroot.yaml b/apertis-sysroot.yaml
index d592429e..b438726d 100644
--- a/apertis-sysroot.yaml
+++ b/apertis-sysroot.yaml
@@ -1,5 +1,7 @@
-{{ $architecture := or .architecture "armhf" }}
-{{ $ospack := or .ospack (printf "ospack-%s" $architecture) }}
+{{ $architecture := or .architecture "amd64" }}
+{{ $type := or .type "sysroot" }}
+{{ $suite := or .suite "v2019dev0" }}
+{{ $ospack := or .ospack (printf "ospack_%s-%s-%s" $suite $architecture $type) }}
 {{ $sysroot := or .sysroot (printf "sysroot-%s" $architecture) }}
 
 architecture: {{ $architecture }}
-- 
GitLab