Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2023 05:57:34 +0100
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Enji Cooper <ngie@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: e835ee68e133 - main - Link /usr/bin/cpuset to a relative path
Message-ID:  <7B427A50-E2C3-487F-953F-9C3A2752F981@freebsd.org>
In-Reply-To: <202308110419.37B4JxqD011060@gitrepo.freebsd.org>
References:  <202308110419.37B4JxqD011060@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Aug 2023, at 05:19, Enji Cooper <ngie@FreeBSD.org> wrote:
>=20
> The branch main has been updated by ngie:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3De835ee68e13361b841c983fa4a49dd6c=
19dcdec4
>=20
> 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
>=20
>    Link /usr/bin/cpuset to a relative path
>=20
>    This creates an appropriate symlink instead of a potentially =
incorrect
>    path pointing to the absolute path for cpuset(8) on the host.
>=20
>    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(-)
>=20
> 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=3D   cpuset
>=20
> LIBADD=3D jail
>=20
> -SYMLINKS+=3D ${BINDIR}/cpuset /usr/bin/cpuset
> +SYMLINKS+=3D ../../bin/cpuset /usr/bin/cpuset

Hi,
The existing style is ../..${BINDIR} (see pkill and timeout as
examples).

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B427A50-E2C3-487F-953F-9C3A2752F981>