Page MenuHomeFreeBSD

uefisign: rename to efisign
AcceptedPublic

Authored by kevans on Sun, Jul 12, 2:14 AM.
Tags
None
Referenced Files
F165100762: D58187.id181856.diff
Thu, Aug 6, 1:12 AM
F165100135: D58187.diff
Thu, Aug 6, 1:05 AM
Unknown Object (File)
Sun, Aug 2, 12:12 PM
Unknown Object (File)
Sun, Aug 2, 11:58 AM
Unknown Object (File)
Sun, Aug 2, 1:26 AM
Unknown Object (File)
Sat, Aug 1, 2:23 PM
Unknown Object (File)
Sat, Aug 1, 7:35 AM
Unknown Object (File)
Tue, Jul 28, 10:50 AM
Subscribers

Details

Reviewers
imp
emaste
ziaee
Summary

uefisign seems to have come first, but the efi* naming has won out in
our UEFI tooling and consistency is good. This fixes it so that
"efi<tab>" gives a reasonable view of what efitools we have in base.

uefi* links are added for compatibility, at least for now. Maybe it's
a reasonable idea to add such links for all of the efi tools, but I'm
punting on that for a moment.

Relnotes: maybe

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74755
Build 71638: arc lint + arc unit

Event Timeline

See also D14031. I didn't like the idea of offering all tools with both efi* and uefi* names, but standardizing on efi* and leaving backwards compat links for tools that started as uefi* seems fine.

Name change is fine with me

This revision is now accepted and ready to land.Sun, Jul 12, 2:53 AM

I had similar patches in my tree for a while, but these aremore complete and better. Thanks!!!

I support this since we do not even have doc on uefisign yet, nor have built any tooling around it. This is a win for consistency and reduced operator mental load. We also need to update these files:

$ cd src; git grep uefisign
etc/mtree/BSD.usr.dist:            uefisign
share/man/man8/uefi.8:.Xr uefisign 8
targets/pseudo/userland/Makefile.depend:        usr.sbin/uefisign \
usr.sbin/efisign/Makefile
8

This is weird, we only use MLINKS in the tree since intro.1.

I kinda hate that, I want switch intro.1 to the same syntax everything else is using for grep purposes:

$ git grep MANLINKS
share/man/man1/Makefile:MANLINKS=       intro.1 introduction.1
share/mk/bsd.man.mk:# MANLINKS.  However it's actually called MLINKS, so for compatibility,
share/mk/bsd.man.mk:MANLINKS=   ${MLINKS}
share/mk/bsd.man.mk:_MANLINKS=
share/mk/bsd.man.mk:_MANLINKS+= ${MANDIR}${_osect}${MANSUBDIR}/${_oname} \
share/mk/bsd.man.mk:_MANLINKS+= ${CATDIR}${_osect}${MANSUBDIR}/${_oname} \
share/mk/bsd.man.mk:.for l t in ${_MANLINKS}
kevans marked an inline comment as done.

Whack the remaining moles, fix OptionalObsoleteFiles to also remove the example

This revision now requires review to proceed.Sun, Jul 12, 7:59 PM

this might be a good time to move this to the FreeBSD-efi-tools package. it's probably a bug/oversight that it isn't already there.

In D58187#1338218, @ivy wrote:

this might be a good time to move this to the FreeBSD-efi-tools package. it's probably a bug/oversight that it isn't already there.

There's a follow-up in the stack that does this: https://reviews.freebsd.org/D58186

I was trying to decide if I wanted to apply it before the rename, but since we're leaving compatibility links in place I don't think I mind MFCing the rename as well.

usr.sbin/efisign/Makefile
8

whoops, good catch, thanks

This revision is now accepted and ready to land.Mon, Jul 20, 10:06 PM