Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 940181

Summary: sys-firmware/ipxe - reported version is misleading
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: UNCONFIRMED ---    
Severity: normal CC: bertrand
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/38749
Whiteboard:
Package list:
Runtime testing required: ---

Description Bertrand Jacquin 2024-09-23 19:29:40 UTC
Hi,

When using pxe image built with sys-firmware/ipxe, version is reported as 1.0.0+ which can be quiet confusing when trying to figure out if binary has been updated properly in different places where it may be deployed.

  iPXE> show version
  builtin/version:string = 1.0.0+




Reproducible: Always
Comment 1 Bertrand Jacquin 2024-09-23 19:30:36 UTC
version can be tuned by setting VERSION= in call to make as per https://github.com/ipxe/ipxe/blob/master/src/Makefile#L209-L237
Comment 2 Bertrand Jacquin 2024-09-23 19:35:34 UTC
PR to address the issue: https://github.com/gentoo/gentoo/pull/38749
Comment 3 Larry the Git Cow gentoo-dev 2024-11-02 12:46:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158560fbdabfcabbb9f3d5f83528a6921b067aae

commit 158560fbdabfcabbb9f3d5f83528a6921b067aae
Author:     Bertrand Jacquin <bertrand@jacquin.bzh>
AuthorDate: 2024-09-23 19:31:34 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-11-02 12:45:59 +0000

    sys-firmware/ipxe: set version as from gentoo PV
    
    By default, iPXE build include 1.0.0+ as version which can be confusing
    when troubleshooting network boot. Set version as from ebuild PV.
    
    Bug: https://bugs.gentoo.org/940181
    Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
    Closes: https://github.com/gentoo/gentoo/pull/38749
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sys-firmware/ipxe/ipxe-1.21.1_p20230601-r1.ebuild | 138 ++++++++++++++++++++++
 1 file changed, 138 insertions(+)