Commit Graph

176 Commits

Author SHA1 Message Date
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
Mario Limonciello
8e9e61c6f6 trivial: debian: try to fix debci 2017-09-07 10:43:52 -05:00
Mario Limonciello
c791d5ba92 trivial: drop libebitdo transitional packages 2017-09-07 10:43:52 -05:00
Richard Hughes
4022700bc8 Do not install the libdfu helper library
In reality fwupd is the only user and we don't want to hold this library to the
same kind of API and ABI guarantees of libfwupd.
2017-09-06 16:21:32 +01:00
Richard Hughes
1b090802f3 usb: Disable the fallback USB plugin
It's not super useful. If this has no bad effects for a couple of releases we
can either remove it completely or move the functionality to the test plugin.
2017-09-05 18:08:29 +01:00
Richard Hughes
7081975a1a trivial: Sync example spec file with downstream 2017-09-01 14:54:23 +01:00
Yehezkel Bernat
859f0f0fe8 Enable Thunderbolt plugin in CI and RPM packaging
Signed-off-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
2017-08-30 12:03:03 +01:00
Mario Limonciello
614908d08b trivial: debian: only modify /etc/fwupd.conf in CI context
This satisfies piuparts not modifying the system automatically.
2017-08-24 15:05:08 -05:00
Jaroslav Lichtblau
6637f74161 thunderbolt plugin can be now tested on Arch Linux
umockdev package is now available in the community repository
of Arch Linux

https://github.com/hughsie/fwupd/issues/187
2017-08-24 11:21:55 +01:00
Mario Limonciello
3ed043abb2 trivial: debian: update for --enable-synaptics 2017-08-23 13:29:58 -05:00
Mario Limonciello
7f1ed952f2 trivial: update ubuntu dockerfile
Syncs with changes from Debian and sets it up for rolling with devel
release name changes
2017-08-22 13:50:25 -05:00
Christian Kellner
81dd85f6d1 tbtfwu: remove legacy thunderbolt plugin
Replaced by the "thunderbolt" plugin.
2017-08-21 12:12:55 -05:00
Christian Kellner
73ba7ee82c thunderbolt: plugin for new tbt kernel interface
Thunderbolt has a new kernel interface starting from version 4.13,
which simplifies updating the host controller and devices: the
kernel now exposes a sysfs interface for the non-volatile memory
as a device node. This can be used to write the new firmware blob.
Updates are then triggered also via a simple write to a sysfs
file (nvm_authenticate), which in turn is also used for error
reporting.
The plugin should be functionally, but a few items are missing:
 - image verification
 - safe mode handling
2017-08-21 17:05:44 +01:00
Richard Hughes
11d55eb62c trivial: No need for a license in the README 2017-08-18 13:32:57 +01:00
Max Ehrlich
6d0fc42685 Add a python script to create fwupd compatible cab files from Microsoft .exe files 2017-08-17 17:10:23 -05:00
Mario Limonciello
ea0e9cec50 trivial: debian: add autopkgtest tests to run the CI suite 2017-08-17 13:19:58 -05:00
Mario Limonciello
97ebd16e16 trivial: fix some insignificant debian linitan warnings 2017-08-17 13:19:08 -05:00
Mario Limonciello
d3f304c0f1 trivial: ci: build deb package with hardlinks instaed of symlinks 2017-08-17 12:41:06 -05:00
Mario Limonciello
aa20ca2e7a trivial: debian: clarify why installed tests get installed in a generic directory (Closes: #872458) 2017-08-17 12:05:29 -05:00
Matthias Klumpp
919e4ec61d ci: Echo shell commands, explicitly set error
By echoing the commands it is way easier to spot what the CI was doing
when a command failed. Setting fail-on-error mode explicitly makes sure
we always run with it, even if someone invokes the script with `bash
<scriptname>`
2017-08-16 23:00:29 -05:00
Matthias Klumpp
8a6337f146 trivial: Some small tweaks to the Debian CI
- Enable echoing in the CI script
- Use debuild
- Show info/experimental/pedantic lintian hints
- Use service instead of invoking an init script directly
2017-08-16 23:00:29 -05:00
Richard Hughes
7403dc505f Optionally use GnuTLS to verify PKCS7 certificates
We can use this as an alternative for GPG. No PKCS7 certificates are currently
installed by fwupd and it's expected that the LVFS will still only provide GPG
detached signatures.

If an OEM distributor wants to sign firmware with a PKCS7 and the corresponding
certificate is provided then the firmware will be marked as valid.

Only firmware shipping with a .p7b file will use the PKCS7 functionality,
similarly remote metadata validation will default to GPG unless Keyring=pkcs7
is specified in the config file.
2017-08-14 09:42:48 +01:00
Richard Hughes
41cbe2aab3 Add a firmware builder
This runs a script inside the firmware archive to generate firmware specific to
the machine. This uses bubblewrap to protect the local machine.
2017-08-09 10:33:39 +01:00
Mario Limonciello
465f223710 ci: switch to debian unstable
appstream-glib was uploaded to unstable so now CI can run on that.
https://tracker.debian.org/news/860552
2017-08-04 09:53:53 -05:00
Richard Hughes
7664fa7251 trivial: Target Fedora 26 for CI 2017-08-03 11:52:35 +01:00
Richard Hughes
53403360ed Release fwupd 0.9.6 2017-08-03 10:44:39 +01:00
Richard Hughes
2d95a71a0c Support embedded devices with local firmware metadata
In this mode, both the metadata and firmware is stored on the local filesystem
and distributed using a distribution system like OSTree.

Fixes https://github.com/hughsie/fwupd/issues/162
2017-07-28 17:41:24 +01:00