[oe-layersetup][PATCH 1/3] kas: set path for all repos

<[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
From: Randolph Sapp <[email protected]>

Kas allows the user to dictate repo paths to override the default
behavior of unpacking repositories to the current working directory.

Given that the not all repo names actually follow a simple scheme that
can be included in the gitignore we should instead force these paths to
match oe-layertool-setup to keep things clean.

Signed-off-by: Randolph Sapp <[email protected]>
---
 src/xslt/kas.xslt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/xslt/kas.xslt b/src/xslt/kas.xslt
index b78b788..7d1fbd7 100644
--- a/src/xslt/kas.xslt
+++ b/src/xslt/kas.xslt
@@ -37,6 +37,8 @@ target: </xsl:text><xsl:value-of select='text()'/><xsl:text>
 <xsl:text>    commit: "</xsl:text><xsl:value-of select='@commit'/><xsl:text>"
 </xsl:text>
 </xsl:if>
+<xsl:text>    path: "sources/bitbake"
+</xsl:text>
 <xsl:text>    layers:
 </xsl:text>
 <xsl:text>      .: disabled
@@ -56,6 +58,8 @@ target: </xsl:text><xsl:value-of select='text()'/><xsl:text>
 <xsl:text>    commit: "</xsl:text><xsl:value-of select='@commit'/><xsl:text>"
 </xsl:text>
 </xsl:if>
+<xsl:text>    path: "sources/</xsl:text><xsl:value-of select='@name'/><xsl:text>"
+</xsl:text>
 <xsl:apply-templates select='layers'/>
 </xsl:template>
 
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.