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



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


Reply via email to