Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791307 - Please add fwupd-efi, needed by fwupd-1.6.0
Summary: Please add fwupd-efi, needed by fwupd-1.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-21 10:57 UTC by Joakim Tjernlund
Modified: 2021-06-15 23:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2021-05-21 10:57:31 UTC
initial ebuild below, fwupd-efi-1.0.ebuild, SBAT not included:

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit meson

DESCRIPTION="EFI executable for fwupd"
HOMEPAGE="https://fwupd.org"
if [[ ${PV} = 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/fwupd/fwupd-efi.git"
else
	SRC_URI="https://github.com/fwupd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
Comment 1 Georgy Yakovlev archtester gentoo-dev 2021-05-21 21:06:14 UTC
assigning to Lars as fwupd maintainer.
Comment 2 m1027 2021-06-15 08:02:18 UTC
Here is the Link [1] why fwupd-efi is required for >=fwupd-1.6.0.

Also note that the fwupd package has to receive a little tweak in meson: "In
the fwupd package, the subproject behavior should be explicitly disabled using
-Defi_binary=false."

See also the recommendation [2].

Thanks

[1] https://github.com/fwupd/fwupd-efi
[2] https://github.com/fwupd/fwupd/issues/3357#issuecomment-861264953
Comment 3 Larry the Git Cow gentoo-dev 2021-06-15 14:59:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93594f0073886e65d2b79090b30ff2832a63e8c1

commit 93594f0073886e65d2b79090b30ff2832a63e8c1
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-06-15 14:59:35 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-06-15 14:59:35 +0000

    profiles: [QA] mask broken sys-apps/fwupd-1.6.x bump
    
    Missing a critical dependency.
    
    Bug: https://bugs.gentoo.org/791835
    Bug: https://bugs.gentoo.org/791307
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-06-15 23:04:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2054a6df41fe63be0a67dc4e60aa9dbd650daa88

commit 2054a6df41fe63be0a67dc4e60aa9dbd650daa88
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-06-15 22:28:32 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-06-15 22:53:44 +0000

    sys-apps/fwupd-efi: initial import
    
    Thanks-to: Joakim Tjernlund
    Closes: https://bugs.gentoo.org/791307
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-apps/fwupd-efi/Manifest             |  1 +
 sys-apps/fwupd-efi/fwupd-efi-1.0.ebuild | 51 +++++++++++++++++++++++++++++++++
 sys-apps/fwupd-efi/metadata.xml         | 12 ++++++++
 3 files changed, 64 insertions(+)