From patchwork Tue Nov 14 03:02:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hunter Chasens X-Patchwork-Id: 164707 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1616825vqg; Mon, 13 Nov 2023 19:02:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFmPhNfbMgtkPFLChejRj0O/JYxY3yRnALJuo8MDQXJPDcG0KV7rSO+mlokfS/DtdHg62M X-Received: by 2002:a62:e313:0:b0:6b2:2a2d:7a25 with SMTP id g19-20020a62e313000000b006b22a2d7a25mr6268935pfh.29.1699930954526; Mon, 13 Nov 2023 19:02:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699930954; cv=none; d=google.com; s=arc-20160816; b=znFFdSCKRAqbZMkPglpaYrEXAWgU/LxlZv3ZXev9Trpypyp9+6Lzt+lVkKctFUbsUw vzPuOCsz1Oqljj++ZmGobyZphZfH4V6OCjXMRKDFl/oXg1q14tWgaytaelRVeHYnE7tJ LKEr1BnGI83QYxLKbrsvHssTsRmbBC1tajYFmWqL9QH7Ct3HYnIVD2xG4o+NJFqmkZlv QtYnS/hHNvv6LVQYFkiNjZJfZFVj2JrC0ppIoflP2aXxgSSABNGiotp6ER5+BoYG1B+C DIggqkimZoOa/2qwafPbyhICMFWHxPKuBZS1jhq01PmowWBt6fDTFuOfxae7JqhRjhz3 ISxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MxRfexvdTG0ppUiwHVD4kW4+CfwUo1gfUnj1LiwzgF0=; fh=R7cLWS1NCkFXhwN1FpMsUj+X8d5q+m7LozvM1+eaZeQ=; b=u5GSrCBxc1dpvXn0/mDtpyXCXb0WeQZK0NNfaozS+RZHiNWRrESWGnhBP9uBGSAN51 Wz6SY+r7q8Gr3PsvpmfqEwBp8KwoMcnakEFXmy/ql0KE9VxxKGTaZdNxeXWHzHBSB1L6 nbsGT5D9orlx4vR4LSYhR1IBLTFnpfloBb7V68gCW68a74gtl3b2Xtwuz1V+gu2wv4Tr qjQqwSvZBz8kyTLW7Zw3wvaGLCrPKG+NFg0+iq138JWJpP3rPOCbBL1GspV9qjALdvhk kpyjLy4WEbNQy3ssiPOo5nJUbWri45TY3Mz97PJqZeIcDUcM31f7Zz5j3efgJ1yS6hIv hLVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ncf.edu header.s=google header.b=fkoIROk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ncf.edu Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f12-20020a056a001acc00b006bde4f430afsi7284202pfv.70.2023.11.13.19.02.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 19:02:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ncf.edu header.s=google header.b=fkoIROk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ncf.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BD9FD80260E1; Mon, 13 Nov 2023 19:02:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjKNDC1 (ORCPT + 30 others); Mon, 13 Nov 2023 22:02:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjKNDC0 (ORCPT ); Mon, 13 Nov 2023 22:02:26 -0500 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DCD7C5 for ; Mon, 13 Nov 2023 19:02:23 -0800 (PST) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-5a7eef0b931so59737107b3.0 for ; Mon, 13 Nov 2023 19:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncf.edu; s=google; t=1699930942; x=1700535742; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MxRfexvdTG0ppUiwHVD4kW4+CfwUo1gfUnj1LiwzgF0=; b=fkoIROk8wlohEg4FXWzBcDIIWSD3IVpDOI/x97KfcB4FTfsNxzyTiEActwRKMgiPZQ YvNCUMBDFmJc12tzybZT9Nm470CR4ki21SOnQJpxybNsNbFpVfiEQyKBTruAe6eGG2gb O4PgJJHGtFt17mAhmg4gBnLQ3u6Gk2Pxiyp6foPjqQphcjNrzMrSymwOx7X4OZJGh/LA nwFCgJRhXtu+bewW6QAJuaYHBPForSnLSAEpiVUHGd9UHCcU7fk1O3/ZJ13PUdF5w5nG CRdizjx9hmSk0rHhmodEjpxrZpSmBKUjRJ/qmT9f5tpu2fxO3YnGsmeuctCRyiWJhgd/ 1gEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699930942; x=1700535742; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MxRfexvdTG0ppUiwHVD4kW4+CfwUo1gfUnj1LiwzgF0=; b=Wi79kL1vlhQRF5UU9hIzS8gLvrgOiUKFcBp5EK3JTFpuR8N6Zj9Hcz8WLna1+RKguS XlVGyXjgN0yt8HmGDkJYBFv2t7MMGTzc8wRUso1JAe0gYCOUGcP4OmfytsYXXkBlX/53 gzDXM7Lz73eZk2NDbp9jupE4+RszQP3D0fJC28lUyqTschqKsiNQoInZ5afNLI4OjkKM B+fNVZl6mQDPsM6MDYUczk8qaE8Upi+t7YuefS2BpqLJM7daChjli/2bmfaUj4A2deBA oLk+ZPTiA9MbYGabb6zGlKb/AXVzRZNZTqyVhMC1AMojQEG+XDAK1vK3Ns47NvdRFI8A KE7g== X-Gm-Message-State: AOJu0YzWIMtr77j6fDmBT2dPIhtZBD8cyru926Ihy7mJYdgOtjd4Mpm6 UiKaQCIUeQLy9nRDHnx/EP8SPw== X-Received: by 2002:a25:aa24:0:b0:d9b:4f28:f6ce with SMTP id s33-20020a25aa24000000b00d9b4f28f6cemr7822239ybi.1.1699930942434; Mon, 13 Nov 2023 19:02:22 -0800 (PST) Received: from Lux.hsd1.fl.comcast.net ([2601:580:8201:d0::4174]) by smtp.gmail.com with ESMTPSA id x6-20020a25a006000000b00daf78e2e63dsm1403315ybh.27.2023.11.13.19.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 19:02:22 -0800 (PST) From: Hunter Chasens To: corbet@lwn.net Cc: linux-doc@vger.kernel.org, ardb@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Hunter Chasens Subject: [PATCH v3 1/2] docs: admin-guide: Update bootloader and installation instructions Date: Mon, 13 Nov 2023 22:02:07 -0500 Message-ID: <20231114030208.30479-1-hunter.chasens18@ncf.edu> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 13 Nov 2023 19:02:33 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782506800683532941 X-GMAIL-MSGID: 1782506800683532941 Updates the bootloader and installation instructions in admin-guide/README.rst to align with modern practices. Details of Changes: - Added guidance on using EFISTUB for UEFI/EFI systems. - Noted that LILO is no longer in active development and provides alternatives. - Kept LILO instructions but marked as Legacy LILO Instructions. Suggest removal in future patch. Signed-off-by: Hunter Chasens --- Documentation/admin-guide/README.rst | 69 ++++++++++++++++++---------- 1 file changed, 45 insertions(+), 24 deletions(-) diff --git a/Documentation/admin-guide/README.rst b/Documentation/admin-guide/README.rst index 9a969c0157f1..ad53f4245379 100644 --- a/Documentation/admin-guide/README.rst +++ b/Documentation/admin-guide/README.rst @@ -262,9 +262,11 @@ Compiling the kernel - Make sure you have at least gcc 5.1 available. For more information, refer to :ref:`Documentation/process/changes.rst `. - - Do a ``make`` to create a compressed kernel image. It is also - possible to do ``make install`` if you have lilo installed to suit the - kernel makefiles, but you may want to check your particular lilo setup first. + - Do a ``make`` to create a compressed kernel image. It is also possible to do + ``make install`` if you have lilo installed or if your distribution has an + install script recognised by the kernel's installer. Most popular + distributions will have a recognized install script. You may want to + check your distribution's setup first. To do the actual install, you have to be root, but none of the normal build should require that. Don't take the name of root in vain. @@ -301,32 +303,51 @@ Compiling the kernel image (e.g. .../linux/arch/x86/boot/bzImage after compilation) to the place where your regular bootable kernel is found. - - Booting a kernel directly from a floppy without the assistance of a - bootloader such as LILO, is no longer supported. - - If you boot Linux from the hard drive, chances are you use LILO, which - uses the kernel image as specified in the file /etc/lilo.conf. The - kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or - /boot/bzImage. To use the new kernel, save a copy of the old image - and copy the new image over the old one. Then, you MUST RERUN LILO - to update the loading map! If you don't, you won't be able to boot - the new kernel image. - - Reinstalling LILO is usually a matter of running /sbin/lilo. - You may wish to edit /etc/lilo.conf to specify an entry for your - old kernel image (say, /vmlinux.old) in case the new one does not - work. See the LILO docs for more information. - - After reinstalling LILO, you should be all set. Shutdown the system, + - Booting a kernel directly from non-volatile memory (e.g. a hard drive) + without the assistance of a bootloader such as LILO or GRUB, is no longer + supported in BIOS (non-EFI systems). On UEFI/EFI systems, however, you can + use EFISTUB which allows the motherboard to boot directly to the kernel. + On modern workstations and desktops, it's generally recommended to use a + bootloader as difficulties can arise with multiple kernels and secure boot. + For more details on EFISTUB, + see :ref:`Documentation/admin-guide/efi-stub.rst `. + + - It's important to note that as of 2016 LILO (LInux LOader) is no longer in + active development, though as it was extremely popular, it often comes up + in documentation. Popular alternatives include GRUB2, rEFInd, Syslinux, + systemd-boot, or EFISTUB. For various reasons, it's not recommended to use + software that's no longer in active development. + + - Chances are your distribution includes an install script and running + ``make install`` will be all that's needed. Should that not be the case + you'll have to identify your bootloader and reference its documentation or + configure your EFI. + +Legacy LILO Instructions +------------------------ + + + - If you use LILO the kernel images are specified in the file /etc/lilo.conf. + The kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or + /boot/bzImage. To use the new kernel, save a copy of the old image and copy + the new image over the old one. Then, you MUST RERUN LILO to update the + loading map! If you don't, you won't be able to boot the new kernel image. + + - Reinstalling LILO is usually a matter of running /sbin/lilo. You may wish + to edit /etc/lilo.conf to specify an entry for your old kernel image + (say, /vmlinux.old) in case the new one does not work. See the LILO docs + for more information. + + - After reinstalling LILO, you should be all set. Shutdown the system, reboot, and enjoy! - If you ever need to change the default root device, video mode, - etc. in the kernel image, use your bootloader's boot options - where appropriate. No need to recompile the kernel to change - these parameters. + - If you ever need to change the default root device, video mode, etc. in the + kernel image, use your bootloader's boot options where appropriate. No need + to recompile the kernel to change these parameters. - Reboot with the new kernel and enjoy. + If something goes wrong ----------------------- From patchwork Tue Nov 14 03:02:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hunter Chasens X-Patchwork-Id: 164708 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1617035vqg; Mon, 13 Nov 2023 19:03:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGaD7Nbb239mIfj6gfo87wRSTrUAV9SFDv+yqfOhkHHkI24k7vdrMrqNBQlyjdzIrnbavyV X-Received: by 2002:a17:90b:3b8c:b0:281:1c2e:9e6a with SMTP id pc12-20020a17090b3b8c00b002811c2e9e6amr5832017pjb.39.1699930983212; Mon, 13 Nov 2023 19:03:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699930983; cv=none; d=google.com; s=arc-20160816; b=A2fiBNro4mc2KhR2+YHszXf54Ar+i9o3Q++ixurXxNVtCPp8+8pSfxxiTf5u+BoPTe mbmLImwq1f2Ep+zqtx4UHfgYQJxVnuTgalHJLYvLHkQslpJw+yjdi1iG3IhOFUoLTPZ9 pe3GG5JfL9el00zum4xve4/P8GqhNIe0tW9DAqJBDWal4/AFzQNvH+ceJfJ0wqsrkqLM +HiC2bQ7/DZdqA1RXhnQmxSmVDPU80haAx9+i0cxlTFkpeoIGSoxxJ/RpyGVxDe8Sd5W 3ASsmkwGXu3+5ZfeA1AeTGRAEeSyYssCE+Y+JIEYolQeEjVHp3HebYfBV0m94b9nUEC8 wdLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SMWgF1k2ykWuu8Bjcr4iQLPBPTDTPxlZiLEGw/7iu+w=; fh=R7cLWS1NCkFXhwN1FpMsUj+X8d5q+m7LozvM1+eaZeQ=; b=bF+/Vly9vq5UzmCsnv9UH/60a3mIaAZRFhTL9XjKt3cW5BDheTYQEjyc+pz1zE68ZZ ATTDc3eA7TxBHHJ3zTaLYWlbynmBCMRjpza5Wx08wFqoyAWvbGqru20p1jNxysnZHTbU 1asu+ShUqK0eaATFOQaHQuPq+SrNvW6bWN+mCczCnM288lQD0hsPrCpyiXVf6zklsFfG ST5DsEk+RQVWxmFkmVTzL/GvAsnjRyvVBJQnrbWIlqcRsHY7w0X6SCG9EjewkgJFPjnk 9mWMaMQIVg89dsI68/fUPO7XVnGF771D06xVlaxKRiW6Bwi1O4AVgyVfYf2miCDQmIqA 55IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ncf.edu header.s=google header.b=i66m2BXx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ncf.edu Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id j7-20020a17090a7e8700b00268a8e0cab3si11286500pjl.178.2023.11.13.19.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 19:03:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@ncf.edu header.s=google header.b=i66m2BXx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ncf.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 49C918082B8E; Mon, 13 Nov 2023 19:02:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230255AbjKNDCc (ORCPT + 30 others); Mon, 13 Nov 2023 22:02:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbjKNDCb (ORCPT ); Mon, 13 Nov 2023 22:02:31 -0500 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EBC21BC for ; Mon, 13 Nov 2023 19:02:28 -0800 (PST) Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-da37522a363so5289941276.0 for ; Mon, 13 Nov 2023 19:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncf.edu; s=google; t=1699930948; x=1700535748; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SMWgF1k2ykWuu8Bjcr4iQLPBPTDTPxlZiLEGw/7iu+w=; b=i66m2BXxO5m2fCl6TChxLH3RK3HhkX1c9U+6fhB3huWTo2pHps72Eh9SfsPCfjNGKF MGahg1zOaHYCHWXRUI7RIeqxCDuvBD9WNAl8KQV+khG8laHxqoDB9GJDTfV6Z6etnWfV 2bFesxMPwGPk4jne/ehvQaxZ4jmmkmnM2Rogc8ccg0SUWXiRN4cptodc6ORcBDs1NGLa nXAo/P81gpjTLI/L6LbnSTZ3QH/iL4+lCAxILi1RICeMfdHTEXfcU7/9WfNByGnK2Vyw cYXeazQbe3kLGXsoDS3Dn7v5uQA64MFOuIPPgElaR6I+8zk4S+BJbL71u9ZGZ+r4oiib tjvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699930948; x=1700535748; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SMWgF1k2ykWuu8Bjcr4iQLPBPTDTPxlZiLEGw/7iu+w=; b=nKLHIKuXG67LMmP0SCRBt1Xc6JJTV/4wEXNU6x/TkcPRTnYEW5BTRe8SkKVAB/tN33 TMiY5uYv8M2bdea7pNLLvCzsJyDUCSUP9CW5Z9DpI/SLHUlcISDXhUi0gis5ergdZWJU nX1gTk7AHCjfNQc2lyK/SLJs2liq060QNJ7kvuR39dLXVnUH+5CYbK5N+LK7aIlPf9jQ c4tRSBWnvj05LQrrlf6xqTUunNaFYq9B6QCF9jxHX6EHKv0sMvolkdLIeCVUXZfh/wt7 4mmomc29e4/LDalQ1j6oPQEaVJF1luvoxOyfc0uR48WiVRAAp/ZOmQxIdLNO3h4C3QEq rhHA== X-Gm-Message-State: AOJu0YyTUOMQ5/HVsp/ho/x1zDCyW7bXYh2Y6hcUxp3NFX5Eoq/rxUXS qVVFJBUi8ap6Kp1DcCSEKKTNlw== X-Received: by 2002:a25:34d1:0:b0:daf:6698:89d7 with SMTP id b200-20020a2534d1000000b00daf669889d7mr6608575yba.47.1699930947775; Mon, 13 Nov 2023 19:02:27 -0800 (PST) Received: from Lux.hsd1.fl.comcast.net ([2601:580:8201:d0::4174]) by smtp.gmail.com with ESMTPSA id x6-20020a25a006000000b00daf78e2e63dsm1403315ybh.27.2023.11.13.19.02.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 19:02:27 -0800 (PST) From: Hunter Chasens To: corbet@lwn.net Cc: linux-doc@vger.kernel.org, ardb@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Hunter Chasens Subject: [PATCH v3 2/2] docs: admin-guide: Adds explicit target to EFI-Stub doc Date: Mon, 13 Nov 2023 22:02:08 -0500 Message-ID: <20231114030208.30479-2-hunter.chasens18@ncf.edu> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231114030208.30479-1-hunter.chasens18@ncf.edu> References: <20231114030208.30479-1-hunter.chasens18@ncf.edu> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 13 Nov 2023 19:02:53 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782506830670540837 X-GMAIL-MSGID: 1782506830670540837 Adds an explicit target to efi-stub.rst so that it can be referenced via roles in other documentation. Note: scripts/checkpatch.pl is asking for a SPDX_LICENSE_TAG. I believe this is under GPL2 but i'd like to confirm. Signed-off-by: Hunter Chasens --- Documentation/admin-guide/efi-stub.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/admin-guide/efi-stub.rst b/Documentation/admin-guide/efi-stub.rst index 090f3a185e18..cba966338087 100644 --- a/Documentation/admin-guide/efi-stub.rst +++ b/Documentation/admin-guide/efi-stub.rst @@ -1,3 +1,5 @@ +.. _efi_stub: + ================= The EFI Boot Stub =================