git: e835ee68e133 - main - Link /usr/bin/cpuset to a relative path
Date: Fri, 11 Aug 2023 04:19:59 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=e835ee68e13361b841c983fa4a49dd6c19dcdec4
commit e835ee68e13361b841c983fa4a49dd6c19dcdec4
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2023-08-11 08:11:57 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2023-08-11 11:20:16 +0000
Link /usr/bin/cpuset to a relative path
This creates an appropriate symlink instead of a potentially incorrect
path pointing to the absolute path for cpuset(8) on the host.
MFC after: 2 weeks
MFC with: f05948d4e98d3abd0965a
Requested by: imp
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D41419
---
bin/cpuset/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/cpuset/Makefile b/bin/cpuset/Makefile
index 8626303bb254..2fa60ccc069f 100644
--- a/bin/cpuset/Makefile
+++ b/bin/cpuset/Makefile
@@ -4,6 +4,6 @@ PROG= cpuset
LIBADD= jail
-SYMLINKS+= ${BINDIR}/cpuset /usr/bin/cpuset
+SYMLINKS+= ../../bin/cpuset /usr/bin/cpuset
.include <bsd.prog.mk>