diff mbox series

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

Message ID 20260223203719.3644542-1-rs@ti.com
State New
Headers show
Series [oe-layersetup,1/3] kas: set path for all repos | expand

Commit Message

Randolph Sapp Feb. 23, 2026, 8:37 p.m. UTC
From: Randolph Sapp <rs@ti.com>

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 <rs@ti.com>
---
 src/xslt/kas.xslt | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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>