Re: git: e835ee68e133 - main - Link /usr/bin/cpuset to a relative path
- In reply to: Enji Cooper : "git: e835ee68e133 - main - Link /usr/bin/cpuset to a relative path"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Aug 2023 04:57:34 UTC
On 11 Aug 2023, at 05:19, Enji Cooper <ngie@FreeBSD.org> wrote: > > 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 Hi, The existing style is ../..${BINDIR} (see pkill and timeout as examples). Jess