Richard Hughes
2db7528b13
trivial: Mark the remotes as config files in the rpm spec example
...
If a user disables the reporting URI, we don't want to re-enable it
accidentally when upgrading fwupd.
2018-01-12 14:23:08 +00:00
Richard Hughes
b58104895d
trivial: Add fwupd_build_history_report_json() for future use
2018-01-11 21:28:22 +00:00
Richard Hughes
f1ed711c7e
trivial: Add fwupd_build_machine_id()
...
This allows us to identify a specific machine using the machine-id.
2018-01-11 08:16:55 +00:00
Mario Limonciello
110accb395
debian: if OS environment variable isn't set, try to guess it
2018-01-04 00:02:52 -06:00
Igor Gnatenko
0ffc2448c0
ci: mesonintrospect -> meson introspect
...
Plan is to remove "old" name at some point (1.0?).
2017-12-13 11:08:45 -06:00
Richard Hughes
d9e6cca414
csr: Add a new plugin to add support for CSR "Driverless DFU"
...
CSR is short for Cambridge Silicon Radio, which is a the OEM that makes most
of the bluetooth audio chips in vendor hardware. The hardware vendor can enable
or disable features on the CSR microcontroller depending on licensing options.
The hardware vendor can also use a custom USB descriptor, or just set a custom
PID. In the latter case we need to set the vendor and model to reality using
quirks.
This commit allows the user to update the firmware in the AIAIAI H05 wireless
headphones.
2017-12-11 10:47:18 +00:00
Mario Limonciello
eb737f15f5
fix CI builds with -Werror
...
Switching to build in -werror in 4016c839a8
was not working properly. Adjust the CI builds to use --werror instead.
Also while doing this, enable -werror in clang builds.
2017-11-30 16:42:26 -06:00
Mario Limonciello
47ff62b986
ubuntu: depend on appstream-glib 0.7.4 too
2017-11-28 15:20:32 -06:00
Mario Limonciello
7823ca8241
Bump minimum appstream-glib version to 0.7.4
2017-11-28 14:17:25 -06:00
Richard Hughes
d0cff7caec
Remove autoconf-isms from the meson configure options
...
See https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
2017-11-27 18:07:53 +00:00
Richard Hughes
4016c839a8
trivial: Use the built-in -werror from Meson
2017-11-27 18:07:53 +00:00
Richard Hughes
fda44315e6
Remove the USB fallback plugin
...
Nobody complained when this was turned off, and it isn't really useful.
2017-11-27 18:07:53 +00:00
Richard Hughes
9b0d228ed9
Add a nitrokey plugin
...
This gets the firmware version from the Nitrokey storage device but does not
enable the firmware upgrade mechanism.
2017-11-13 16:25:46 +00:00
Mario Limonciello
ce051b8da5
debian: only do libsmbios on supported architectures
2017-11-09 18:53:46 -06:00
Mario Limonciello
3744e614a9
debian: debci: remove unnecessary dbus start command
...
Shouldn't be needed as depending on dbus-x11 depends on dbus
which should get the daemon up and running.
2017-11-09 16:36:28 -06:00
Mario Limonciello
4c6667a46e
contrib/debian: dynamically generate control file
...
All the information necessary to generate a debian control file
is now in the XML file. Use it rather than hardcoding in multiple
places.
2017-11-07 16:39:28 -06:00
Mario Limonciello
d607817af4
contrib: Move dependencies into XML file
...
Monster CSV file is a little wild. This is more readable and
will make adding new distros and dependencies easier later.
2017-11-07 16:39:28 -06:00
Richard Hughes
9c028f06b5
Move the database of supported devices out into runtime loaded files
...
When fwupd is installed in long-term support distros it's very hard to backport
new versions as new hardware is released.
There are several reasons why we can't just include the mapping and quirk
information in the AppStream metadata:
* The extra data is hugely specific to the installed fwupd plugin versions
* The device-id is per-device, and the mapping is usually per-plugin
* Often the information is needed before the FuDevice is created
* There are security implications in allowing plugins to handle new devices
The idea with quirks is that the end user can drop an additional (or replace
an existing) file in a .d director with a simple format and the hardware will
magically start working. This assumes no new quirks are required, as this would
obviously need code changes, but allows us to get most existing devices working
in an easy way without the user compiling anything.
This allows us to fix issues like https://github.com/hughsie/fwupd/issues/265
2017-11-02 19:08:51 +00:00
Mario Limonciello
8b2fbb2664
trivial: debian: debci: shuffle dependency location
2017-10-26 15:44:12 -05:00
Mario Limonciello
cc9cfbc74a
debian/debci: add explicit dependency on policykit-1 for the test
2017-10-25 09:12:14 -05:00
Mario Limonciello
d00b05959d
debian: update standards version
2017-10-24 16:21:35 -05:00
Richard Hughes
3b84753769
Use help2man to generate the man page at build time
...
The man pages are always old and out-of-sync with the actual tool, so just
generate them using the output of --help.
Fixes https://github.com/hughsie/fwupd/issues/285
2017-10-23 16:47:08 +01:00
Mario Limonciello
e1ab2e8818
debian: explicitly depend on umockdev in build depends
...
The previous problem for umockdev wasn't caught in debian buildds
with umockdev 0.9.4 due to they weren't installing the umockdev
package.
2017-10-19 08:40:08 -05:00
Bruno Pagani
d8d90bff74
ci: Make use of arch-meson in PKGBUILD
...
The helper specify `-D b_lto=true` though, so override that since it fails to build with it.
2017-10-18 15:41:07 -05:00
Mario Limonciello
69b2133def
debci: use the needs-root restriction
2017-10-18 14:01:43 -05:00
Mario Limonciello
7f4104176b
don't use dpkg-reconfigure in CI script
2017-10-18 11:12:35 -05:00
Mario Limonciello
f7dc2faf20
Add a 32 bit debian build to CI ( #273 )
2017-10-12 07:02:43 +01:00
Mario Limonciello
a46c01905b
run systemd in postinst ( Closes : #877991 )
2017-10-09 10:08:25 -05:00
Richard Hughes
b27f99ac22
trivial: Don't run from the cache when installing CI targets
2017-10-08 11:26:32 +01:00
Mario Limonciello
fa2d5f60e4
trival: debian: filter no-symbols-control-file during build for CI
...
e17c06 intentionally dropped this - it will be stored in
the debian branch based on when things land in debian
2017-09-28 10:17:33 -04:00
Mario Limonciello
0bc77d0658
trivial: debian: explicitly set section for libfwupd2
2017-09-28 10:15:40 -04:00
Mario Limonciello
0a06270d0e
trivial: debian: update standards version
2017-09-28 10:10:13 -04:00
Mario Limonciello
e17c060925
trivial: Drop the Debian symbols file
...
This will stay on the debian packaging tree this is based off of.
It's really not useful in an upstream context.
2017-09-28 09:23:52 +01:00
Richard Hughes
94110f5983
Remove some deprecated #define names and bump the soname
...
Also, bump soname as we're going to clean up a lot of things now.
Many thanks to Mario Limonciello for all the Debian-specific changes.
2017-09-28 09:23:52 +01:00
Mario Limonciello
a790c1d360
trivial: update debci configuration
2017-09-26 08:44:52 -04:00
Mario Limonciello
d7b37c8667
trivial: fix missing-call-to-dpkg-maintscript-helper
2017-09-25 15:14:37 -05:00
Mario Limonciello
3bc46392d0
add ubuntu CI
2017-09-25 15:14:37 -05:00
Mario Limonciello
feb038099b
trivial: test if running in a container in build scripts
...
This allows people to build without docker without root.
2017-09-21 21:52:06 +08:00
Mario Limonciello
3b55a06fec
trivial: switch CI to debian testing
...
testing should shield CI from migrations happening in unstable
can switch back to unstable as needed in future
2017-09-20 13:53:13 +08:00
Mario Limonciello
1e4f512118
debian: remove /etc/fwupd.conf on upgrade
2017-09-19 14:25:25 -05:00
Richard Hughes
34e25a0cc5
trivial: Remove EnableTestSuite from daemon.conf
...
The same thing can be done using BlacklistPlugins=test
2017-09-19 20:06:44 +01:00
Richard Hughes
c2af1964b9
trivial: Move /etc/fwupd.conf to /etc/fwupd/daemon.conf
2017-09-19 20:06:44 +01:00
Richard Hughes
e8c3ce249c
trivial: Bump the plugin location after the FwupdResult change
2017-09-19 09:55:28 +01:00
Mario Limonciello
8f17e1ccf4
Use the intel-wmi-thunderbolt kernel module to force power
...
When available on a system this module will allow force powering a TBT device with nothing plugged in.
2017-09-13 03:12:50 +08:00
Mario Limonciello
4d3025a108
Generate dockerfiles dynamically ( #238 )
2017-09-11 13:39:40 -05:00
Mario Limonciello
eba19fb94d
Introduce an s390x cross compile target to CI
2017-09-08 09:24:54 +01:00
Mario Limonciello
abdd612722
Add a test target for Debian build, but compiled under clang
2017-09-07 19:18:04 -05:00
Mario Limonciello
b59d6a1f33
Add a README about CI
2017-09-07 19:18:04 -05:00
Richard Hughes
53237d26a1
Remove the ELF support from libdfu and move the code to the altos plugin
...
This was a mistake originally for two reasons:
* The only device to use ELF as a deliverable is the altos devices
* ELF has nothing to do with the DFU specification
This moves the code to where it belongs.
2017-09-07 18:39:23 +01:00
Richard Hughes
2a533b8de2
Use -Werror when building in Travis CI
...
Do NOT do this for normal package builds.
With much help from Mario Limonciello, many thanks.
2017-09-07 18:25:48 +01:00