[oe-layertool-setup][PATCH 2/3] kas: use repo-relative addressing

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

Kas has a new warning when using file-relative addressing. They are now
pushing people to use repo-relative addressing for include paths.

Signed-off-by: Randolph Sapp <[email protected]>
---
 src/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 069ef03..60e08e8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -90,9 +90,7 @@ define xslt_kas_templates =
 endef
 
 ../kas/%.yml: xslt/kas.xslt configs/%.xml
-	@loTemplatePrefix1=`realpath --relative-to configs/$*.xml .`; \
-	loTemplatePrefix2=`dirname $${loTemplatePrefix1}`; \
-	loTemplatePrefix=`dirname $${loTemplatePrefix2}`; \
+	@loTemplatePrefix="kas"; \
 	$(xslt_kas)
 
 ../kas/templates/%.yml: xslt/kas-templates.xslt templates/%.xml
-- 
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.