From nobody Fri May 23 21:50:52 2025 X-Original-To: dev-commits-src-main@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 4b3zP84QY6z5wdZt; Fri, 23 May 2025 21:50:52 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b3zP83LDCz3CST; Fri, 23 May 2025 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748037052; 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=6knaCGSrnI6TYbJGYu9C0KGPBttwV82+tm1rvl38jSo=; b=DygYJGVV/rj3y2oDlmByh8jOGHniXhlgMF4TvgzhfM7rLr+ufkQBX01jVMV1GyWwpUJeWx BhfnDmFh2TDkSWIiixG4lg9vHvR6NCXnwy90iSB2TPEnbUx2m/IqZ+OOFJ95m/GghehvJH 3vxO6ByMPmsKS6mgsqZYqLseMP+Qi3lRW7BDu1ipDsR3OPfI2Ncosqb3OcTA385gzbne1H EkfcYNZBKOnw2TpU4Sn2+0jyPlOIXnANfXIl0zqktFgR1cSeHDyuRW+S0dleVXTmQ2zrMm Xd0exOj86mv6B/Y61ANXbZ2yBo7TmRvZxSp7nkaCZk63m9cJCBDgSX77nnBeJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748037052; 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=6knaCGSrnI6TYbJGYu9C0KGPBttwV82+tm1rvl38jSo=; b=Scts7pxe/V6OHuDFPfSYdddGiOCbG45gNuAiqHekmeVEQ2vE8twwvpFpEX0Yyv6VnQyklb 5QqWBHLxiTu/Zm87XoocM26PJpuXFKWj1GPBzG2WqNVNzD8V+IvbOkSsIVwoPS7ixpq12q 5QO3iqoc9Qch9A4bbGadjsIU8qDnrH+8VdkianYOL07Xi3r82jQA8+75WTGNubez7NE4xp HHd2TBFj/r3+KculXu5WhJxEP68gdotPmVIYm+94Xf/bCghVxubEnYtbp63j35ARql2O6Y Su6oQT6WFMf1nTtOVLHATItlbhUxXiEun4bNJ3mVNqdZz3PUwNrqhwg3N0ebWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748037052; a=rsa-sha256; cv=none; b=p0T/4ZJ52PA04h8iD2vwAYNtb/beYFJX28VrLkh4Wgw2lppag1SBOp0nXIwHme85r2V8Th 7NbrmQjOfRGnPX+gt8mu2U5KpNBwe+1bl4v9cm5Oxz2j2eGYFmi9PMAR2NAESbXjuioiit 6Nctj3iXik/C3BHqaphnPDDVADnOvlrp5hNaLnbG9v7clTMy0N6UQEN4dQKdLHZkh2hNuQ k70w1mZz/PjflmA9AhH7LcPQMNQMuAQa4OlwLjdq3axtZfw6dXT0uUjLJGM5yxJK0YwHZe jFcVPGuKX+Ya1kCBnyFr/IGTdoimy5Jdu7bTjoTE67D7jOHIfpMyaI1Pko75LQ== 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 4b3zP82x3Rz1MY8; Fri, 23 May 2025 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54NLoqE7031147; Fri, 23 May 2025 21:50:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54NLoq4m031144; Fri, 23 May 2025 21:50:52 GMT (envelope-from git) Date: Fri, 23 May 2025 21:50:52 GMT Message-Id: <202505232150.54NLoq4m031144@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 26064d3e7463 - main - Makefile.inc1: Remove unused non-NO_ROOT support List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26064d3e74639fbaa5b2b1cef7ea9c344db4caeb Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=26064d3e74639fbaa5b2b1cef7ea9c344db4caeb commit 26064d3e74639fbaa5b2b1cef7ea9c344db4caeb Author: Ed Maste AuthorDate: 2025-05-15 13:36:48 +0000 Commit: Ed Maste CommitDate: 2025-05-23 21:50:38 +0000 Makefile.inc1: Remove unused non-NO_ROOT support As of commit 41adc5f29ba6 ("release: Always use NO_ROOT for distribute* and package*") this packagekernel code path is never used, so remove it. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50361 --- Makefile.inc1 | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index ebba0ccd9f5e..60010da6ad50 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1938,7 +1938,6 @@ distributekernel distributekernel.debug: .PHONY .endif packagekernel: .PHONY -.if defined(NO_ROOT) .if !defined(NO_INSTALLKERNEL) cd ${DESTDIR}/${DISTDIR}/kernel; \ ${TAR_CMD} cvf - --exclude '*.debug' \ @@ -1965,30 +1964,6 @@ packagekernel: .PHONY .endif .endfor .endif -.else -.if !defined(NO_INSTALLKERNEL) - cd ${DESTDIR}/${DISTDIR}/kernel; \ - ${TAR_CMD} cvf - --exclude '*.debug' . | \ - ${XZ_CMD} > ${PACKAGEDIR}/kernel.txz -.endif -.if ${MK_DEBUG_FILES} != "no" - cd ${DESTDIR}/${DISTDIR}/kernel; \ - ${TAR_CMD} cvf - --include '*/*/*.debug' $$(eval find .) | \ - ${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel-dbg.txz -.endif -.if ${BUILDKERNELS:[#]} > 1 && ${NO_INSTALLEXTRAKERNELS} != "yes" -.for _kernel in ${BUILDKERNELS:[2..-1]} - cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \ - ${TAR_CMD} cvf - --exclude '*.debug' . | \ - ${XZ_CMD} > ${PACKAGEDIR}/kernel.${_kernel}.txz -.if ${MK_DEBUG_FILES} != "no" - cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \ - ${TAR_CMD} cvf - --include '*/*/*.debug' $$(eval find .) | \ - ${XZ_CMD} > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}-dbg.txz -.endif -.endfor -.endif -.endif stagekernel: .PHONY ${_+_}${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} DISTDIR=. distributekernel