Richard Hughes
382759f78b
Include python3-uswid in the container so fwupd-efi can include the uSWID section
2023-02-13 14:58:57 +00:00
Richard Hughes
ac5f9412e0
Add support for emulating and recording devices
...
Based on patches from Frédéric Danis <frederic.danis@collabora.com>
2023-02-10 14:43:25 +00:00
Richard Hughes
9b75eb9e34
trivial: Only use clang-format on C source files
2023-02-07 11:01:22 +00:00
Richard Hughes
255ca3d513
Move the Fedora CI job to F37
2023-02-04 17:28:07 +00:00
Valentin David
995c3210b1
snap: Use strict confinement
2023-02-01 20:44:56 -06:00
Richard Hughes
d6bb00a475
trivial: Update all fixes using markdownlint
2023-01-30 14:19:59 +00:00
Richard Hughes
b9da5362a0
trivial: Update all fixes using codespell
2023-01-30 14:19:59 +00:00
Richard Hughes
00e8aaefc6
Use a more compact JSON format using precommit
2023-01-30 14:19:59 +00:00
Mario Limonciello
d26c847776
Add python3-pefile/python-pefile to CI build deps
...
This is so that it can be used by subproject fwupd-efi
2023-01-25 17:20:01 -06:00
Richard Hughes
3824af4756
trivial: Fix fuzzing with libxmlb from main, harder
2023-01-23 17:16:57 +00:00
Richard Hughes
62eafd6c46
trivial: Fix fuzzing with libxmlb from main
2023-01-23 16:46:13 +00:00
Richard Hughes
ff46480adb
trivial: Use %autochangelog in reference spec file
2023-01-23 13:19:53 +00:00
Richard Hughes
2b0f92506b
Refactor the hwids functionality
...
This refactors the code as it was getting very confusing; before FuSmbios was
reading both SMBIOS and the kernel-provided DT -- and various things were
injecting overrides in three different place. To properly support FDT remove
one layer of indirection.
This also lets us use the compatible strings to enable plugins specifying the
flag _REQUIRE_HWID -- which means we only load the plugin if it's got a chance
of working. e.g.
[aspeed,ast2500]
2023-01-18 07:04:44 +00:00
Mario Limonciello
c2a494e871
trivial: install dmi data into installed-tests
...
fixes : #5402
2023-01-11 07:45:58 -06:00
Mario Limonciello
e5e6067e22
trivial: fail setup script if dependencies are missing
...
This makes CI failures more predictable and obvious.
2023-01-10 14:34:40 -06:00
Mario Limonciello
ced9e0c934
trivial: drop docs from abi job
...
It's built with features=disabled, no need to include it.
2023-01-10 14:34:40 -06:00
Richard Hughes
02d17592b2
Fix deprecated meson commands
2022-12-29 15:49:02 +00:00
Josh Soref
67deecde31
Lots of spelling fixes
...
Fixes:
* activate
* active
* additional
* and
* approaches
* attestation
* bootloader
* calculate
* capability
* children
* close
* compatible
* continuous
* convenience
* critical
* data
* delivery
* disabled
* disambiguate
* documented
* elapse
* emergency
* erasable
* expectations
* filesystem
* from
* haptic
* ignorable
* images
* infinity
* information
* information
* inhibited
* insufficient
* interrupt
* into
* limited
* management
* manifest
* maximum
* memory
* metadata
* mismatch
* model
* nonexistent
* not
* objects
* offset
* omissions
* ota
* past
* perform
* peripherals
* predictable
* product
* quarterly
* quirk
* quirks
* recognize
* release
* requests
* revocation
* sanitized
* sector
* status
* the
* the update
* timeout
* transfer
* transfers
* typically
* unspecified
* upgrade
* which
* will
* wireless
2022-12-29 13:57:31 +00:00
Richard Hughes
069fa56f1a
Add fu_archive_firmware_get_image_fnmatch() for future use
...
It's useful to get images from archives by a specific filename extension.
2022-12-17 07:44:27 +00:00
Gary Buhrmaster
ad930b8d13
The README.md is not a config file.
...
This also removes the errant % in spec file and addrssses the
build error "sh: line 1: noreplace: command not found"
2022-11-30 07:12:43 +00:00
Richard Hughes
9d20464606
Add more metadata to the report attributes
...
This can be used in gnome-control-center when building the security report.
Fixes https://github.com/fwupd/fwupd/discussions/5262
2022-11-29 16:55:25 +00:00
Demi Marie Obenour
ff1f3677d9
Drop sys-usb support
...
sys-usb will use the Qubes OS updates proxy and an in-VM fwupd instance.
This allows shedding a large amount of code.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
0bbdc8a0b6
Prevent exception when comparing invalid versions
...
This broke the test suite.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
1836433efc
Pass -q and -a to qvm-run
...
Useful to avoid junk in e.g. stderr.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
49fa741fcf
trivial: contrib/qubes: fix AttributeError and ImportError
...
Also make various minor cleanups.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
63903c82d9
contrib/qubes: Do not dynamically create shell commands
...
The security reasons for this are obvious. When shell commands must be
generated dynamically, use shlex.join() to ensure that proper quoting is
done.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
cb8c163462
trivial: contrib/qubes: Use fwupdmgr --json instead of fwupdagent
...
The later is deprecated and the former is a drop-in replacement.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
4110e356bf
contrib/qubes: Do not perform manual .cab verification
...
fwupd already does this, and besides the file has been checked against
the metadata already.
2022-11-29 09:03:08 +00:00
Demi Marie Obenour
3150f04acf
trivial: contrib/qubes: Place cache in /var/cache
...
/root/.cache is for applications run by the root user in an interactive
session, not for system services.
2022-11-29 09:03:08 +00:00
Richard Hughes
85495b5bb2
Generate OVAL rules
2022-11-24 10:22:27 +00:00
Kai Michaelis
6519f28d26
Explain the smc bmc license issue
...
Add documentation and a helper license script.
2022-11-04 12:55:48 +00:00
Richard Hughes
3a0f187a16
Move the AMT functionality to the Intel MEI plugin
2022-10-13 18:34:00 +01:00
Mario Limonciello
99d449fb10
trivial: snap: fetch the EFI package from the Ubuntu archive
...
This will let us track the same version in core22's release.
2022-10-10 11:29:30 -05:00
Mario Limonciello
598e31ded5
trivial: snap: move fix-bash-completion step into build step
2022-10-10 11:29:30 -05:00
Mario Limonciello
40c8132dbb
trivial: ci: don't add gi-docgen to debian/control
...
It causes FTBFS due to Build-Profiles nodoc
2022-10-07 23:07:40 -05:00
Richard Hughes
fc3cfbad92
Do not check the build hash of modular plugins
...
We removed the abilty to easily build modular plugins, and so we don't need to
worry so much about random 3rd party modules being loaded.
2022-09-30 14:19:56 +01:00
Richard Hughes
e1e8b9e261
Only include the last 5 releases in the installed metainfo file
...
We have to include the entire history in git, and also to generate the NEWS
file, but this reduces the size of the on-disk file by 116Kb.
2022-09-30 12:48:07 +01:00
Mario Limonciello
56adf2473b
trivial: debian: fix building fwupd-tests package
2022-09-29 15:59:33 -05:00
Richard Hughes
35bd34fffd
Build FuEngine functionality into libfwupdengine
...
This speeds up the build, and further reduces the on disk size by 340kB.
2022-09-29 13:19:49 +01:00
Mario Limonciello
d5585728a2
trivial: don't refer to plugindir in the build system anymore
2022-09-28 15:12:10 -05:00
Mario Limonciello
6165e3b34b
trivial: fedora: don't refer to fwupdplugin_version anymore
2022-09-28 20:50:59 +01:00
Richard Hughes
99002a7a18
Build many more plugins as builtin
...
This reduces the plugin directory size by 2.2Mb
2022-09-28 17:01:23 +01:00
Richard Hughes
99e9e5d523
Allow compiling plugin as built-in GObjects
...
Allow plugins to be built into libfwupdpluginbuiltin.so and created via GType.
2022-09-28 12:52:00 +01:00
Mario Limonciello
e26c2a4d7e
trivial: avoid duplication of fu-util tools.
...
Split out all the common code into a library, that we can store in our private
rpath.
2022-09-28 10:24:59 +01:00
Mario Limonciello
ec0496b47a
Make libfwupdplugin an internal library instead
...
This drops the requirement on us being so strict on a particular ABI version,
and also more strongly discourages out of tree plugin development.
We should still strive to keep API stable, and as such keep a symbol map still.
Use rpath instead for the static plugins, and set the plugin install directory
to just fwupd-$ABI$ as we're storing more than just plugins here now.
2022-09-28 10:04:12 +01:00
Haowei Lo
6cd0871fcb
Add new plugin to update FPC fingerprint devices
2022-09-27 16:41:16 +01:00
Richard Hughes
c4b7f42e43
Only compress one version of the builtin-quirks
...
Saving the quirks in the GResource section worked well, but it made the build
system very complicated and also meant the .data section was duplicated in
both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings.
Simplify this feature so that we just `cat` all the quirk files together, then
gzip them into a single file. This means that at startup fwupd only needs to
check the mtime of one file, and weirdly it's actually faster to load a smaller
compressed file from disk that it is to load multiple uncompressed files.
2022-09-27 12:44:04 +01:00
waynehuang2022
22106fea81
focalfp: Add new plugin to update touchpads from focaltech
2022-09-27 09:13:08 +01:00
Richard Hughes
34486b90e2
trivial: Remove long-dead meson option
2022-09-23 16:39:21 +01:00
Mario Limonciello
5c284e911a
trivial: debian: drop unused lintian override
2022-09-22 11:43:01 -05:00