Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fwupd: add package #24873

Merged
merged 4 commits into from
Sep 24, 2024
Merged

fwupd: add package #24873

merged 4 commits into from
Sep 24, 2024

Conversation

lvoegl
Copy link
Contributor

@lvoegl lvoegl commented Aug 23, 2024

Maintainer: me
Compile tested: x86_64, lantiq_xrx200
Run tested: lantiq_xrx200, 23.05

Description:
Adds fwupd and its four required dependecies libjcat, libxmlb, libgusb and libgudev.

fwupd allows firmware upgrades for various devices, including many modems via the modem-manager and fastboot options. The package includes a daemon /usr/libexec/fwupd/fwupd started by /etc/init.d/fwupd and controlled by /usr/bin/fwupdmgr, as well as /usr/bin/fwupdtool that can be used without the daemon.

libs/libgusb/Makefile Outdated Show resolved Hide resolved
libs/libjcat/Makefile Outdated Show resolved Hide resolved
libs/libjcat/Config.in Outdated Show resolved Hide resolved
@lvoegl lvoegl force-pushed the fwupd branch 3 times, most recently from 209ecc6 to ded970a Compare August 27, 2024 10:51
@lvoegl lvoegl marked this pull request as draft August 27, 2024 11:28
@lvoegl lvoegl marked this pull request as ready for review August 27, 2024 13:52
@lvoegl lvoegl force-pushed the fwupd branch 2 times, most recently from b18daf6 to 4171918 Compare August 27, 2024 15:32
libs/libgudev/Makefile Outdated Show resolved Hide resolved
libs/libgusb/Makefile Outdated Show resolved Hide resolved
libs/libgusb/Makefile Outdated Show resolved Hide resolved
libs/libgusb/Makefile Outdated Show resolved Hide resolved
libs/libjcat/Makefile Show resolved Hide resolved
libs/libxmlb/Config.in Outdated Show resolved Hide resolved
libs/libxmlb/Makefile Show resolved Hide resolved
@lvoegl lvoegl force-pushed the fwupd branch 3 times, most recently from 8cc0976 to 398b4ad Compare September 3, 2024 08:38
@lvoegl
Copy link
Contributor Author

lvoegl commented Sep 3, 2024

Added missing PKG_CPE_ID for fwupd.

@feckert feckert requested a review from BKPepe September 3, 2024 11:09
@BKPepe BKPepe self-assigned this Sep 3, 2024
@BKPepe BKPepe requested a review from neheb September 3, 2024 19:00
libs/libxmlb/Makefile Outdated Show resolved Hide resolved
libs/libxmlb/Makefile Outdated Show resolved Hide resolved
@neheb
Copy link
Contributor

neheb commented Sep 3, 2024

Wonder if this even works given #18148

Signed-off-by: Lukas Voegl <[email protected]>
Signed-off-by: Lukas Voegl <[email protected]>
Signed-off-by: Lukas Voegl <[email protected]>
@lvoegl
Copy link
Contributor Author

lvoegl commented Sep 17, 2024

I've removed the fastboot option which removes the requirement of libgusb and therefore usbids. It can be added again with the next major version as libgusb was dropped.

Also I've decided to split the package into fwupd-libs fwupd-tools and fwupd-daemon so the daemon won't be automatically installed and started if not wanted.

Signed-off-by: Lukas Voegl <[email protected]>
@lvoegl
Copy link
Contributor Author

lvoegl commented Sep 24, 2024

@neheb The package is now successfully building with a working test.sh.

@neheb neheb merged commit e828f98 into openwrt:master Sep 24, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants