Index | Thread | Search

From:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
Subject:
Re: a simple port, but i'm too stupid
To:
Dave Voutila <dv@sisu.io>
Cc:
Stuart Henderson <stu@spacehopper.org>, ports@openbsd.org
Date:
Tue, 5 Aug 2025 14:35:59 +0200

Download raw body.

Thread
On Tue, Aug 05, 2025 at 08:17:56AM -0400, Dave Voutila wrote:
> Stuart Henderson <stu@spacehopper.org> writes:
> 
> > You can probably just BUILD_DEPENDS on sysutils/e2fsprogs, I think that's basically the same uuid library as in
> > utils-linux.
> >
> 
> Sadly it doesn't appear to be or the way e2fsprogs installs it, it
> doesn't work. /shrug
> 
> > Alternatively you can often patch to use the uuid functions we have in libc without too much trouble.
> 
> That might be a good option now that you mention it. I'll take a
> peek. Either UEFI or the edk2 implementation seems full of GUIDs and i
> don't see why there would be anything special in the utils-linux
> version.

Are those uuid functions needed for some build-time only tools?  Or
are they supposed to be used as part of the edk2 image?  If the
latter, you don't need libuuid.so but a specially built libuuid
targetting bare metal/the EFI ABI.

-- 
jca