From nobody Sun Sep 4 10:42:28 2022 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 4ML7Wm6zcjz4bHS3 for ; Sun, 4 Sep 2022 10:42: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 4ML7Wm6C3Tz46n8; Sun, 4 Sep 2022 10:42:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288148; 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=g1cEnrTa+vgRx4PSDsYDtC+xJPWPE1Gtqe6gvW+teM0=; b=KzfVjXrVZ1he/JoeqSHw7e1T0Se83JjVRK7UcZdhVNuQD8c0SxtX/xTZcZRX0YMvSXqxXE 0+NlJvxJvqYOHeBWZSKeB8MkkwO67tDxnC0oYzETRbamjaNei0lokOHsYjrNvHGZ4K+m80 7x7g0oEXKcgyggqnEYwVDKHLZRJSicr8pCJ24BN3HiozZfNoWbrLauVZ1y+LkkqEfrH+UQ i/pCnhnLNnXKP+qegapkrzJeGmFuq4lfEzz5nyufX5w/Hm80d2laBYiDQOEjX/xUa3po1h DaieCLheZ2rfUV6lTAIhrkobtk/qrPxh+/9G0qpZq3neHsnn+8sRdRBYD9VYaA== 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 4ML7Wm5FrZzSHn; Sun, 4 Sep 2022 10:42:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 284AgSgw095017; Sun, 4 Sep 2022 10:42:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 284AgSUX095016; Sun, 4 Sep 2022 10:42:28 GMT (envelope-from git) Date: Sun, 4 Sep 2022 10:42:28 GMT Message-Id: <202209041042.284AgSUX095016@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: fd6b4cab9f - main - Fix AsciiDoc format 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: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd6b4cab9fec9bcc08d214002c41c8f1e8ff2a43 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288148; 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=g1cEnrTa+vgRx4PSDsYDtC+xJPWPE1Gtqe6gvW+teM0=; b=e6OJ06AY9yne3zRQOz0cvv1ehw7eJTWGBHb3gI4RW97DEQo6Pw4Qb/USKTCzpoYCuC6cSF u0OcjzwOUpLZOjqFe5NyxQ0AwgOVQYZS70qsjtGMs1gHjUjS2+Me86K4nS4lMdeMh7WO20 FYEKjhGQvHQLNHEMJf7M5gMT7tTMtTNlCTWkoiIUuAnFM135EX/I1zO7+f4dVO9Wr5x5QA buQ0TEFCanCjvCXV2BoQBT02f2bB5BBSPWCcnLuNlL2U4XLH1EtvmVobzG8otkcUi3+pGU 6oBC7+gsOF3JhttM/gXQ3t+l5PIdd+9YiaL/uqtkUO32G7HtjO9ZKbtYVgl5ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662288148; a=rsa-sha256; cv=none; b=vjecFYFitLV5wnvPiO9mRUyP1cKAN/rD4C91PmVNdgkY+V5gm31OzexL1sMS2Z3jmi4dop eaHm2nz1VM37Fd+J2KViM+DxTYrpzRyx3ZCwJjtabfcA6Efof8fWWqDSqq38DMR535vZ8v 1YBY0Nb7JIkxIouL+Ve/twq/Rd278BUWwZhKGhBlw1ZWI3FgoREa8WMrmPQdU8gPsMrvgv 33Ll2NFc03HNlV85USege0kmDvJBRyI+fiMXUpQBz+eRQkwZoJ0StIm3aOHaWPMyf+48rg IXA+juyEGJxX21AK1MqNEDAq7vWeQO5+kFfbhV2Ve/tEUna0nhmEBkuVkoMH+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=fd6b4cab9fec9bcc08d214002c41c8f1e8ff2a43 commit fd6b4cab9fec9bcc08d214002c41c8f1e8ff2a43 Author: Sergio Carlavilla Delgado AuthorDate: 2022-09-04 10:42:09 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2022-09-04 10:42:09 +0000 Fix AsciiDoc format --- documentation/content/en/books/handbook/kernelconfig/_index.adoc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/documentation/content/en/books/handbook/kernelconfig/_index.adoc b/documentation/content/en/books/handbook/kernelconfig/_index.adoc index 02fd4c619c..922c6c5647 100644 --- a/documentation/content/en/books/handbook/kernelconfig/_index.adoc +++ b/documentation/content/en/books/handbook/kernelconfig/_index.adoc @@ -267,29 +267,32 @@ To build a file which contains all available options, run the following command Once the edits to the custom configuration file have been saved, the source code for the kernel can be compiled using the following steps: [.procedure] +==== *Procedure: Building a Kernel* + . Change to this directory: + [source,shell] .... # cd /usr/src .... - ++ . Compile the new kernel by specifying the name of the custom kernel configuration file: + [source,shell] .... # make buildkernel KERNCONF=MYKERNEL .... - ++ . Install the new kernel associated with the specified kernel configuration file. This command will copy the new kernel to [.filename]#/boot/kernel/kernel# and save the old kernel to [.filename]#/boot/kernel.old/kernel#: + [source,shell] .... # make installkernel KERNCONF=MYKERNEL .... - ++ . Shutdown the system and reboot into the new kernel. If something goes wrong, refer to <>. +==== By default, when a custom kernel is compiled, all kernel modules are rebuilt. To update a kernel faster or to build only custom modules, edit [.filename]#/etc/make.conf# before starting to build the kernel.