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



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17133): 
https://lists.yoctoproject.org/g/meta-arago/message/17133
Mute This Topic: https://lists.yoctoproject.org/mt/117964685/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to