Skip to content

Commit

Permalink
Makefile: Make symlink relative
Browse files Browse the repository at this point in the history
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 666a2bd")
Suggested-by: Cyril Hrubis <[email protected]>
Reviewed-by: Petr Cervinka <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Oct 2, 2023
1 parent 7e397fe commit 61591a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 61591a1

Please sign in to comment.