From 61591a1e234a6f8d551cee480233613e2c6e292a Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Mon, 2 Oct 2023 12:26:44 +0200 Subject: [PATCH] Makefile: Make symlink relative Using full path creates problems with rpm packaging: ERROR: Link /opt/ltp/runltp-ng -> /home/abuild/rpmbuild/BUILDROOT/ltp-20230929.48a150bf-1573.1.x86_64/opt/ltp/kirk points inside build root. Closes: #6 Fixes: 666a2bd ("Symlink kirk with runltp-ng in LTP installation") Fixes: 7e397fe ("Fix 666a2bd8dbf583732ed415abf1bae39bd8791061") Suggested-by: Cyril Hrubis Reviewed-by: Petr Cervinka Signed-off-by: Petr Vorel --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cd7a025..d2f224b 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,6 @@ install: install -m 00644 $(top_srcdir)/tools/kirk/libkirk/*.py $(BASE_DIR)/libkirk install -m 00775 $(top_srcdir)/tools/kirk/kirk $(BASE_DIR)/kirk - ln -sf $(BASE_DIR)/kirk $(BASE_DIR)/runltp-ng + ln -sf kirk runltp-ng include $(top_srcdir)/include/mk/generic_leaf_target.mk