Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2025 00:39:22 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 52549be4088a - stable/14 - bsdinstall/zfsboot: Remove unused global variable
Message-ID:  <202502040039.5140dMT9015802@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=52549be4088a8c49dcb58cc21c393ea5de71ba9c

commit 52549be4088a8c49dcb58cc21c393ea5de71ba9c
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2024-12-14 23:02:55 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-02-04 00:38:54 +0000

    bsdinstall/zfsboot: Remove unused global variable
    
    In an AMA session on the FreeBSD Discord, it was revealed that no
    logic remains calling GPART_BOOTCODE_PARTONLY. It was removed in
    aa2a0e0fc311 for FreeBSD 12. git grep shows no other references.
    No functional change intended.
    
    MFC after:              2 weeks
    Fixes:                  aa2a0e0fc311 (Enable new UEFI+GELI support)
    Reported by:            Antranig Vartanian <antranigv@freebsd.am>
    Reviewed by:            emaste, mhorne
    Approved by:            emaste, mhorne (src)
    Approved by:            mhorne, carlavilla (mentors)
    Differential Revision:  https://reviews.freebsd.org/D48086
    
    (cherry picked from commit 347eb42dbcb352f3266e716a2101898fe054bdba)
---
 usr.sbin/bsdinstall/scripts/zfsboot | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index 2b118e33ba36..6c6c81a7f010 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -206,7 +206,6 @@ GPART_ADD_ALIGN_LABEL='gpart add %s -l %s -t %s "%s"'
 GPART_ADD_ALIGN_LABEL_WITH_SIZE='gpart add %s -l %s -t %s -s %s "%s"'
 GPART_BOOTCODE='gpart bootcode -b "%s" "%s"'
 GPART_BOOTCODE_PART='gpart bootcode -b "%s" -p "%s" -i %s "%s"'
-GPART_BOOTCODE_PARTONLY='gpart bootcode -p "%s" -i %s "%s"'
 GPART_CREATE='gpart create -s %s "%s"'
 GPART_DESTROY_F='gpart destroy -F "%s"'
 GPART_SET_ACTIVE='gpart set -a active -i %s "%s"'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502040039.5140dMT9015802>