Mario Limonciello
5ebbdccafe
trivial: snap: drop compatbility tools from snap
2023-02-23 13:04:12 -06:00
Mario Limonciello
e7a028b402
trivial: snap: install git package as build-deps explicitly
...
Hopefully this gets us the source_version set in fwupdmgr --version
and also the tag for use to mark as supported build or not.
2023-02-23 13:04:12 -06:00
Mario Limonciello
a3f3054000
trivial: snap: install shim into the snap as well
...
Fixes : #5485
2023-02-23 13:04:12 -06:00
Mario Limonciello
0bdb776d4a
trivial: snap: install EFI binaries into $ESP/fwupd instead
2023-02-23 13:04:12 -06:00
Valentin David
c17935acf7
snap: allow fwupdmgr to shutdown
...
When installing a capsule, optional reboot is done by fwupdmgr instead
of fwupd. This means fwupdmgr needs the permission to do that.
2023-02-23 13:04:11 -06:00
Valentin David
37a28e5e1d
snap: read the host os-release instead of base snap
...
This should fix #5485 . Depends on https://github.com/snapcore/snapd/pull/12545
2023-02-23 13:04:11 -06:00
Valentin David
e33d6757ff
snap: Use common directory for vendor path
2023-02-23 13:04:11 -06:00
Valentin David
0830bfe2f0
snap: Use strict confinement
2023-02-23 13:04:11 -06:00
Valentin David
45babc583b
snap: Fix a meson parameter
2023-02-23 13:04:11 -06:00
Valentin David
af5c5a7d51
snap: Remove some unused/redundant dependencies
2023-02-23 13:04:11 -06:00
Valentin David
4664ff4305
snap: Remove dconf
2023-02-23 13:04:11 -06:00
Valentin David
988a6db20e
snap: Add missing libraries
2023-02-23 13:04:11 -06: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
Mario Limonciello
6eebe95273
trivial: snap: remove some unnecessary files
2022-10-19 11:53:39 -05:00
Mario Limonciello
b7ec831cdb
trivial: snap: move EFI binaries to expected location
...
We compile with prefix "/", but Ubuntu (where we get the binaries from)
compiles with prefix "/usr".
Correct the location of these binaries in the snap.
2022-10-19 11:53:39 -05:00
Mario Limonciello
d25d4f124e
trivial: snap: re-enable UEFI capsule splash images
2022-10-12 11:25:34 -05:00
Mario Limonciello
7a003b597a
trivial: snap: drop some of the libraries from the snap that aren't needed
2022-10-12 11:25:34 -05:00
Mario Limonciello
886ec33f79
trivial: snap: disable flashrom by default
...
When later this is converted to confined we won't want to support
it. So drop it now.
2022-10-12 11:25:34 -05:00
Mario Limonciello
ea6ac08b7a
trivial: snap: add some packages identified as missing
2022-10-12 11:25:34 -05:00
Mario Limonciello
b922ba1bb6
trivial: snap: add libpcre.so.3 into snap package ( Fixes : #4195 )
2022-10-12 10:42:19 -05:00
Mario Limonciello
a12a5053b6
trivial: snap: add some missing deps for classic snap
...
Fixes : #5138
2022-10-11 11:39:54 -05:00
Mario Limonciello
bbf62261d3
trivial: snap: move to craftctl
...
the guidance for core22 says to migrate to this
2022-10-10 11:29:30 -05: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
6613710d4d
trivial: snap: re-enable the modem manager plugin
...
It was accidentaly disabled when moving to core22.
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
9475a849e6
trivial: snap: add a workaround to the build process to ignore rpath
...
snapcraft overrides the rpath for the snap to make it most compatible.
Our rpath decisions make this not work properly though. Since everything
is in /snap/fwupd anyway, just move the libraries to this place.
Fixes : #5138
Link: https://snapcraft.io/blog/the-new-classic-confinement-in-snaps-even-the-classics-need-a-change
2022-10-10 11:29:30 -05:00
Mario Limonciello
34dfa86896
trivial: restore libcurl support in snap ( Fixes : #5069 )
2022-09-22 13:11:42 -05:00
Mario Limonciello
8bb10ffaa7
Update the snap build
...
Use core22 and subsume a bunch of dependencies that can come from the
Ubuntu archive now during build instead.
This doesn't restore the CI functionality yet, but it at least builds
locally for me OK.
2022-09-19 13:33:54 -05:00
Mario Limonciello
72f19f2a12
trivial: fix documentation deployement
2022-08-29 18:20:46 -05:00
Mario Limonciello
9b30739d76
trivial: change docs to a meson feature ( Fixes : #4791 )
2022-07-01 10:56:12 +01:00
Richard Hughes
06a2dcf62b
Remove gtkdoc build option
...
We've seen that gi-docgen is active and other projects are switching to
it. Remove the legacy (and slow) gtk-doc build support.
2022-06-11 21:26:46 +01:00
Richard Hughes
92515d193a
Add coSWID and uSWID parsers to libfwupdplugin
...
These parse the structures as defined in:
* https://datatracker.ietf.org/doc/draft-ietf-sacm-coswid/
* https://github.com/hughsie/python-uswid
2022-03-15 14:37:02 +00:00
Mario Limonciello
661990ed98
Convert build system to use meson tristate features
...
tristate features will automatically disable if dependencies marked
as required are missing.
Packagers can manually override using `auto_features`.
Link: https://mesonbuild.com/Build-options.html#features
2022-02-28 08:34:48 -06:00
Richard Hughes
da90fca348
trivial: Turn off GPIO support by default
...
We can swap the default to auto-detection once the auto-features branch
has landed.
2022-02-21 20:37:30 +00:00
Richard Hughes
c71ca76235
Add a plugin to set GPIOs for the duration of an update
2022-02-16 14:01:07 +00:00
Mario Limonciello
bdddb08470
trivial: snap: pull from github instead of gitlab
...
Github has a read-only mirror of FDO gitlab which is expected to
be more reliable than FDO gitlab.
2021-12-30 10:31:28 -06:00
Mario Limonciello
ec90ebc20c
snap: use newer json-glib ( Fixes : #4099 )
2021-12-17 11:05:05 -06:00
Mario Limonciello
2f3b2d7a86
trivial: snap: stop installing introspection data
...
Fixes: 5d0960048
2021-12-17 10:12:52 +00:00
Richard Hughes
20d57b9ae6
trivial: Update subproject versions to latest
2021-12-01 20:46:20 +00:00
Richard Hughes
3291bd40ce
Make Upower and powerd support optional
...
In some cases you really know that the daemon is never going to exist.
2021-11-27 18:46:27 +00:00
Richard Hughes
9ef27052d5
altos: Remove support for the ChaosKey
...
The hardware is discontinued, and no further update from 1.6.7 was ever
supplied.
2021-11-15 15:17:38 +00:00
Richard Hughes
7e386f8791
trivial: Do not install the fwupdtpmevlog debugging cli to save 50Kb
2021-11-15 15:01:22 +00:00
Sanjay Sheth
b6ff1ea40e
Add support for devices supporting the Logitech bulk controller protocol
2021-08-29 20:33:16 +01:00
Mario Limonciello
b87c6dab95
uefi-capsule: Add support for installing UEFI updates from GRUB
...
Shim has had a hard time with loading updates from arguments in the
most recent release and this isn't the first time that happened.
Give distros and users an escape hatch that will allow using GRUB
instead.
2021-07-28 17:11:39 +01:00
Mario Limonciello
1e17457b16
Allow building the documentation with gi-docgen and gtk-doc
...
Until gi-docgen is declared stable support either of them.
This effectively means that hand builds and CI builds will use
gi-docgen, but distro builds use gtk-doc-tools.
2021-06-09 22:21:53 +01:00
Richard Hughes
fdd507957a
Switch from libproxy to GProxyResolver
...
GProxyResolver will use libproxy only when required. TIL.
2021-04-28 15:52:45 +01:00
Richard Hughes
f992fb75cd
Use libproxy to get the system proxy setting for a given URL
2021-04-26 16:30:13 +01:00
Richard Hughes
13524af202
Write BMP data directly without using PIL
...
This allows us to drop a build-time dep.
2021-04-09 15:59:51 +01:00
Mario Limonciello
5bbb0b7980
only copy files in hook if directory exists ( Fixes : #2619 )
2021-02-07 20:10:38 -06:00
Mario Limonciello
5198bdcde2
trivial: make platform integrity plugin optional and disabled by default
...
Fixes : #2634
When it's upstream, we may consider to change this for some distros.
2020-12-03 09:07:49 +00:00