From nobody Mon Nov 27 15:25:28 2023 X-Original-To: dev-commits-doc-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 4Sf8Y455MFz52qWl for ; Mon, 27 Nov 2023 15:25:28 +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 4Sf8Y44d1Tz4NFw; Mon, 27 Nov 2023 15:25:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701098728; 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=mhbIY9Fcq542l8Li5sLiCcaOEri+HwbTMd1/IEsO/zQ=; b=KN3X/f/bEYNxaDxsxUgUU4a1EdO7YmGcYC+skoKll8YaaAgzX6infmJtWRiMUleKP/nBAV KfUXrHXGbbt9bKoJo7/5NqkKfteIfqUxrlnRuN52/xJE0YXAI26rG2U2yzyVZTToXknqVA ezpem9lTJSoC/Dpnk0bkiNdFHAFmniPU20Yz+TajFVsIN/jcfM+pT7BfyIXqVoMOes3elo zVrA5dHoD+TQgcQzji5QP0l3e6GD3H0cjeuv/SLtV1gny7TJliLIwgEFod/kOZMH9iQ4Kh Br2MDsLru9Nx23hQ4Y9omN2RFOFn3O0mrjLPeUl1ZURCkuyDhUnG3nBazrAw8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701098728; 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=mhbIY9Fcq542l8Li5sLiCcaOEri+HwbTMd1/IEsO/zQ=; b=WV0wc/pOOn54dUR9fZQmMX35kpwHfbj0Ivjj3U5cEDb2JydLlr8OZXDgiJuKxmbG+G35AH X54alYYKm2eyP+t3B9xQYz0VM6m7jn1/m3S48PcrUJoykyEcgwPMvBXIkIf6B+v+t+d6lQ QsI/DZyrb4HwFfj+f80agMDBAOthgoEoQqE+p9A1KmrDrzVp/1OAZa74kOZdlp44V9snDq 54uiUS9fyXDCapvehzbUKQiF5T9Ck5fQlj322M9vYL+AFp0hFfpRFl4sfaZ//6JTgqThFU lRXcCDGf1mF1wIP+bk6lOhceCdZOc4of78xUUrbj0+EQC+vXQYzbxkXzDx4m+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701098728; a=rsa-sha256; cv=none; b=nlIUq4Zn2vs6zS2/HBFHsg38cv5B7Y3yaqsKuxsPR+aXiwhU5N9b0sQK+t+UsF1Hayuz+d 0qYcQejini/qnPGAKmJzt5U5ZKdUjQRXvIA/mZ1gmQP2X+CdpXaUkqiYEulnEwdWr+tniC y2QFaP53MD5PpFSnnVPJ2ICgTnKqXRxOKB0X/aNVQDjbD1JAjhD9bfLVtWIh9gf0wCR+hn IDRRdN2G/+U0k42GGdLxZ1iPXIqH+dmPvLYbRR6Hw9B6BPBBSLB9iyG6NTd1CmnouY09iE ERA6pUDjO2cigwZZ/2aZsVUfcGQw6SGYgi7hGcPDSPoftAgXIK//y6srXGM5Gw== 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 4Sf8Y43kPTzkZr; Mon, 27 Nov 2023 15:25:28 +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 3ARFPSoa097048; Mon, 27 Nov 2023 15:25:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ARFPSCR097045; Mon, 27 Nov 2023 15:25:28 GMT (envelope-from git) Date: Mon, 27 Nov 2023 15:25:28 GMT Message-Id: <202311271525.3ARFPSCR097045@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mitchell Horne Subject: git: 02d9ae1165 - main - NanoBSD: add how to obtain the source code List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02d9ae11650e82b2129f80d3e19a826e7c731585 Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/doc/commit/?id=02d9ae11650e82b2129f80d3e19a826e7c731585 commit 02d9ae11650e82b2129f80d3e19a826e7c731585 Author: Minsoo Choo AuthorDate: 2023-11-27 15:04:53 +0000 Commit: Mitchell Horne CommitDate: 2023-11-27 15:05:00 +0000 NanoBSD: add how to obtain the source code There is a request in the bugzilla report to introduce how to obtain the source code for building NanoBSD. I added more lines to the patch provided by the original reporter. PR: 274709 Reviewed by: mhorne Co-Authored-By: gaelan@fastmail.fm Differential Revision: https://reviews.freebsd.org/D42743 --- documentation/content/en/articles/nanobsd/_index.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/documentation/content/en/articles/nanobsd/_index.adoc b/documentation/content/en/articles/nanobsd/_index.adoc index f8dadb9314..a8f3ba03d6 100644 --- a/documentation/content/en/articles/nanobsd/_index.adoc +++ b/documentation/content/en/articles/nanobsd/_index.adoc @@ -108,6 +108,16 @@ Keeping [.filename]#/cfg# mounted at all times is not a good idea, especially if === Building a NanoBSD Image +The source code of FreeBSD is required to build NanoBSD. +To obtain the source code: + +[source,shell] +.... +# git clone https://git.FreeBSD.org/src.git /usr/src +.... + +For more details, follow the steps extref:{handbook}cutting-edge#updating-src-obtaining-src[here]. + A NanoBSD image is built using a simple [.filename]#nanobsd.sh# shell script, which can be found in the [.filename]#/usr/src/tools/tools/nanobsd# directory. This script creates an image, which can be copied on the storage medium using the man:dd[1] utility.