From nobody Fri Aug 18 04:19:53 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RRpYk0fqkz4qcvT; Fri, 18 Aug 2023 04:19:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RRpYj5LRQz4DZh; Fri, 18 Aug 2023 04:19:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692332393; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/JgflBGfadOcjS8oSj3jjrXymZ/6kFlxzymdbjUk1s=; b=xAnTqpShTtYW62cCMtqZlhZ6BT0zDC3LzeYBb4tLHnlL0RwEl1sO5pD7bgYC7B3TrjUqWA JhR9nr6MJJpWOb44io8TA+G3cJVxL6NpXw/6TuNKvnjmdObHV/s6pkIDR+f3BlN0oqs/a6 WrRVcufv0T8Xdf3qCNQXVD7tDzwhg/TX2BzcZXfQXnu9Fs7PG3kIB73mvfIR1vIYkkgeaU hxrdUiSKSt5C6HPJOtXwJHo04Wf4llWV+ol6dOjD6pLw7nfi2yPRO8J0EboNOpkMC1XudP 9eSPeDReEZQB1sWD1MRQ8pHkMvsKuNcrrKvoScuwRF8drieWKGG6KSq0pl0oLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692332393; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/JgflBGfadOcjS8oSj3jjrXymZ/6kFlxzymdbjUk1s=; b=lnlcGCEYm3/YzN3JBRKqo9d+qOIlCvX2YJ8zWlccggX4trEZ7InNXTCLEVHcm8wQdY1jxo FSpDl6foFRDXio1z8FUQmRlN9hsZXMPJrDTrz6xrlBtN7qYKZJBlzJA5paf+5LayrWbxw7 izIcclQlF9SqXDWa7J8AC2atqVqXixGwEUykVoYi/v6+QwxPXjOT6C0uBmnhsl9zpRv7w9 FTWIPMBViOd7v01hO5phmD3q6nuaqi9wrETvG0dOiM7LEJauK7iKZu4qLuNCJQUUExM/jf 4YK2hhrMQIVdVgWD5rl/C6bdaQuRxT+2aOzl6JUyvpd5ZxIUWUZm52gJpjTuIA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692332393; a=rsa-sha256; cv=none; b=PiFt5C5houJn2fXxoQYU6yT1w56rtuRfwvfThrU8pXf7x1mLhzrZIi0fnmbNuGrhv7GjeV ZCGZm+fCDBjSuuLDDzVEjO1yVAHdo2aAS6LoRfd0TR/7ySbA3V0lW1YSZ5KaRgTvt1HSZv 1lwTuow6Ko8eVsfEgyr8hDxNhK56em4beSJYMwZ4zfXwLk1jRcaKqtFH8M4Re7i2N838tW q9Gci/JeD8NG3iI9Vg2xX77cyMPFGI2cIfbF+SBnG7wzWcDrNMZ7V++lY0YnT5SexZhVmu jv6PiE2U5vceBKK4DSENyx1EhyW+JPBbQGdhL3kNsTOaMj6FTW5U7ewhFEjVng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RRpYj3jgWz129P; Fri, 18 Aug 2023 04:19:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37I4Jr0t016407; Fri, 18 Aug 2023 04:19:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37I4Jr6Q016404; Fri, 18 Aug 2023 04:19:53 GMT (envelope-from git) Date: Fri, 18 Aug 2023 04:19:53 GMT Message-Id: <202308180419.37I4Jr6Q016404@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: 22dc8901a73f - main - Use proper convention for relative path linking List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 22dc8901a73fcb30ff434ddf5aada43ab10021ae Auto-Submitted: auto-generated The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=22dc8901a73fcb30ff434ddf5aada43ab10021ae commit 22dc8901a73fcb30ff434ddf5aada43ab10021ae Author: Enji Cooper AuthorDate: 2023-08-18 11:13:06 +0000 Commit: Enji Cooper CommitDate: 2023-08-18 11:20:32 +0000 Use proper convention for relative path linking The change made in e835ee68e13361b841c983fa4a49dd6c19dcdec4 did not follow the convention for relative path symlinks. Per the convention, paths be prefixed with `${BINDIR}`, not `/bin/`. `${BINDIR}` can be modified from the Makefile, on the command line, or in the environment. This convention is the canonically correct way to do things. This follows the convention used in `bin/pkill/Makefile`, `bin/timeout/Makefile`, etc. MFC after: 1 week MFC with: f05948d4e98d3abd0965a2994e9e42add6908ff3 MFC with: e835ee68e13361b841c983fa4a49dd6c19dcdec4 Requested by: jrtc27, kevans --- bin/cpuset/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cpuset/Makefile b/bin/cpuset/Makefile index a200c4fc1aac..6e88614a6a6e 100644 --- a/bin/cpuset/Makefile +++ b/bin/cpuset/Makefile @@ -3,6 +3,6 @@ PROG= cpuset LIBADD= jail -SYMLINKS+= ../../bin/cpuset /usr/bin/cpuset +SYMLINKS+= ../..${BINDIR}/cpuset /usr/bin/cpuset .include