Mario Limonciello
7cff2dcb25
trivial: Bump meson dependency to 0.47.0
...
The current libxmlb dependency requires this and when run in subproject
mode will cause failures otherwise.
Also bump the snap to use meson 0.47.2 to fix snap build due to this
failure.
2018-11-07 11:40:26 -06:00
Mario Limonciello
d22f215a70
contrib: Adjust flatpak build for moving to flathub
...
Pull the based json file from
https://github.com/flathub/org.freedesktop.fwupd
And modify it as necessary (for changes in master)
2018-11-01 06:51:23 -05:00
Mario Limonciello
355f5c12d6
firmware-packager: Make it clearer to use
...
1) Remove the confusing --firmware-id and build this field dynamically based on GUID and Developer name
2) Make developer name mandatory
3) Rename device-unique-id to device-guid to more closely reflect how fwupdmgr shows it
4) Allow running on Windows
2018-10-24 06:12:31 -05:00
Richard Hughes
e4ad25044a
Sort the firmware sack by component priority
...
This allows composite firmware to be ordered in an explicit way.
2018-10-23 09:20:02 +01:00
Richard Hughes
72b7eab693
flatpak: Update gnu-efi to latest version
2018-10-23 09:20:02 +01:00
Mario Limonciello
2aaa38d77d
trivial: debian: Make control file statement more generic ( Closes : #911505 )
2018-10-22 07:50:26 -05:00
Mario Limonciello
a8240caf2e
trivial: snap: Use libxmlb subproject instead
...
This avoids having to bump the snap on libxmlb releases.
2018-10-18 21:25:56 +01:00
Richard Hughes
481aa2a923
Port from libappstream-glib to libxmlb
...
The libxmlb library is much faster to query, and does not require the daemon
to parse the XML metadata at startup. It's a zero-copy mmap design that is more
modern and less clunky.
RSS has reduced from 3Mb (peak 3.61Mb) to 1Mb (peak 1.07Mb) and the startup
time has gone from 280ms to 250ms.
2018-10-17 14:41:13 +01:00
Mario Limonciello
802a279bd2
trivial: snap: drop the stable symlink
...
Leading to this problem:
Building fwupd-wrappers
Failed to copy '/build/fwupd/parts/fwupd-wrappers/build/snapcraft-stable.yaml': it's a symlink pointing outside the snap.
Fix it to be valid when snapped and try again.
Build failed
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/lpbuildd/target/build_snap.py", line 229, in run
self.build()
File "/usr/lib/python2.7/dist-packages/lpbuildd/target/build_snap.py", line 218, in build
env=env)
File "/usr/lib/python2.7/dist-packages/lpbuildd/target/build_snap.py", line 75, in run_build_command
return self.backend.run(args, env=full_env, **kwargs)
File "/usr/lib/python2.7/dist-packages/lpbuildd/target/lxd.py", line 460, in run
subprocess.check_call(cmd, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
Scanning for processes to kill in build SNAPBUILD-351860
2018-10-12 11:59:04 -05:00
Mario Limonciello
3e54789ee3
trivial: snap: Swap the type of snap/snapcraft.yaml to be a real file
...
Workaround for https://bugs.launchpad.net/launchpad/+bug/1797366
It was previously a symlink to contrib/snap/snapcraft-stable.yaml
however infrastructure changes in launchpad have caused this to break
automatic snap builds.
2018-10-12 08:41:41 -05:00
Mario Limonciello
558055c9b7
Add a plugin for an upcoming Dell USB-C dock
...
This plugin requires infrastructure introduced in fwupd 1.1.3
and can not be backported to earlier versions of fwupd.
It works together with the Synaptics and Thunderbolt plugins to
coordinate the proper flashing procedure for devices in this dock.
2018-10-12 07:58:29 +01:00
Mario Limonciello
2ea87013cd
contrib: Add information on how to use debugging scripts
...
At least for me it was a challenge to get the debugger properly
configured to allow debugging fwupd when built in tree.
This should allow very simple debugging.
2018-10-11 07:43:56 -05:00
Richard Hughes
e3a2e95628
trivial: Sync the flatpak manifest with the one from flathub
2018-10-05 07:59:59 +01:00
Richard Hughes
9a9cb9e179
trivial: Be more explicit when building the snap packages
2018-10-04 18:38:12 +01:00
Richard Hughes
3c186ce3cf
trivial: Include libuuid specifically on Centos
...
This is seemingly not in the default buildroot.
2018-10-04 18:38:12 +01:00
Richard Hughes
19c56436b1
trivial: Be more explicit when building on Centos
...
Newer versions of appstream-glib do not depend on libgcab and so it has to be
installed manually to ensure the CI still passes.
2018-10-04 18:38:12 +01:00
Richard Hughes
70df6d1144
trivial: Be more explicit when building the Arch package
2018-10-04 18:38:12 +01:00
Mario Limonciello
7cc7b04d67
ci: Run clang static analysis for Ubuntu build rather than just clang compiler
2018-09-21 07:35:08 +01:00
Mario Limonciello
f7d8250e9d
trivial: standalone: Check argument make sense with command
2018-09-20 11:56:42 -05:00
Mario Limonciello
e25675de04
trivial: standalone: If missing flatpak dependencies, download them
...
Most distros don't enable flathub by default, so enable it when
running the tool if the deps are missing and pull the Gnome SDK from
there.
2018-09-20 11:56:42 -05:00
Mario Limonciello
2d12a24234
contrib: Add a standalone installer creation script
...
This is meant to produce standalone installer binaries that can operate
on machines without current tools or internet access.
It works by wrapping around the container technologies snap and flatpak
and putting all the pieces together.
2018-09-14 12:34:09 -05:00
Richard Hughes
35a0a456e2
rts54hid: Add support for Realtek USB devices using vendor HID commands
2018-09-14 12:40:20 +01:00
Richard Hughes
161eee23ca
rts54hub: Add support for Realtek USB devices using vendor HUB commands
2018-09-12 14:18:55 +01:00
Mario Limonciello
b41b2d7061
trivial: snap: fix TLS communications in classic snap
2018-09-10 21:05:06 -05:00
Mario Limonciello
9ac08995d8
trivial: snap: sync up some missing changes in master snap
2018-09-10 21:05:06 -05:00
Mario Limonciello
db9a13c5bb
trivial: snap: Correct bash completion path
2018-09-10 13:21:29 -05:00
Mario Limonciello
c60012c784
trivial: snap: Install dbus service in classic snap
...
This should be reverted if switching to a devmode or confined snap.
2018-09-10 13:21:12 -05:00
Mario Limonciello
2da1aca6e3
trivial: snap: tear out slots as well for classic snap
...
Classic snaps don't allow slots either. When switching to a confined
or devmode snap, revert this commit.
2018-09-10 08:27:15 -05:00
Mario Limonciello
8511cc54bb
trivial: snap: adjust efivar prefixes to be same on all archs
...
Snaps aren't multiarch, so this should help snap builds on !x86_64
potentially that have FTBFS thus far.
2018-09-09 23:09:21 -05:00
Mario Limonciello
05cc3f5956
trivial: snap: disable use of plugs for classic snap
...
This should be reverted if switching back to devmode or confined
snap.
2018-09-09 21:52:28 -05:00
Mario Limonciello
78bc800396
trivial: snap: Add python3-apt to build-deps for signed
2018-09-09 12:46:40 -05:00
Mario Limonciello
3514a5ea84
snap: Remove setting LD_LIBRARY_PATH
...
When working with classic snap this causes gpg to stop working.
If switching to devmode revert this fix.
2018-09-08 08:34:36 -05:00
Mario Limonciello
e7e569255f
snap: Adjust grade to stable
...
The snap itself is in good shape now and should be able to migrate to
stable channels as needed.
2018-09-08 08:34:36 -05:00
Mario Limonciello
2e22d316eb
snap: Move fwupd to / rather than /usr
2018-09-08 08:34:36 -05:00
Mario Limonciello
e9a3a0b925
snap: Enable builds for the daemon
...
This requires a newer version of gettext than is in Ubuntu 16.04
in order to support GETTEXTDATADIRS
2018-09-08 08:34:36 -05:00
Richard Hughes
194c76536e
trivial: Use a non-obsolete font when building the UEFI splash images
2018-09-06 14:21:24 -05:00
Richard Hughes
f5465b01af
trivial: Add the script used to generate the NVMe stats
2018-09-04 20:37:17 +01:00
Mario Limonciello
30407537ff
trivial: debian: Add Recommends for bolt
...
Newer versions of bolt provide a superior experience when using
Thunderbolt force power rather than directly using the kernel.
Pull bolt in when installing fwupd to take advantage of this.
2018-08-28 10:38:00 -05:00
Richard Hughes
c16554252b
flashrom: Add a plugin for updating using the flashrom command line tool
2018-08-28 09:25:36 +01:00
Richard Hughes
cdb01590e0
nvme: Add a new plugin to update NVMe hardware
2018-08-26 19:42:28 +01:00
Richard Hughes
16e85aa8cf
superio: Add a new plugin to enumerate EC firmware
2018-08-24 20:37:27 +01:00
Mario Limonciello
00b8f150dd
trivial: debian: disable test suite if fwupd is currently installed
2018-08-23 10:58:50 -05:00
Mario Limonciello
840920e928
trivial: debian: Add some signing bits that were missed ( Closes : #906599 )
2018-08-22 23:09:45 -05:00
Mario Limonciello
3d62c8f8f9
trivial: debian: Pass -a into dh_missing ( Closes : #906357 )
...
dpkg-buildpackage -A does the architecture independent builds and
is failing due to mistakingly seeing a file that is not installed.
2018-08-17 11:58:47 -05:00
Mario Limonciello
4b9769a361
trivial: snap: Download signed fwupd instead of signed fwupdate
...
It took some time for the round trip to sort out. Download the latest
signed fwupd binary rather than fwupdate binary.
2018-08-15 19:54:15 +01:00
Richard Hughes
677c36b1e8
trivial: Update the reference spec file with latest guidelines
2018-08-13 12:57:23 +01:00
Mario Limonciello
1058c7fb4f
trivial: debian: use a virtual package to resolve the signed package
...
On Debian this will be fwupd-$ARCH-signed, on Ubuntu it's a real package
called fwupd-signed.
2018-08-09 12:41:44 -05:00
Mario Limonciello
7984859062
trivial: debian: Recommends the signed packages
...
This will cause fwupd to pull them in by default for the appropriate
architectures.
2018-08-09 10:46:01 -05:00
Mario Limonciello
e20a5cb839
trivial: contrib: Update README for proper docker command ( Closes : #615 )
2018-08-09 13:22:29 +01:00
Mario Limonciello
2a099494aa
ci: enable synaptics plugin to run in more architectures
...
Although it's only used on Dell devices, those devices could potentially
be plugged in via a bus on a different architecture too.
2018-08-06 06:22:21 +01:00
Gary Lin
2e0e179298
redfish: Read options from redfish.conf
...
This commit adds redfish.conf to configure the IP and username/password
in case those are not available in SMBIOS and the EFI variables.
Since we can configure the IP in the conf file, the environment
variable, FWUPD_REDFISH_URI, is removed.
Signed-off-by: Gary Lin <glin@suse.com>
2018-08-06 06:19:56 +01:00
Mario Limonciello
5b57d7fcd3
trivial: debian: correct another syntax error in SB signing template
2018-08-05 08:33:20 -05:00
Mario Limonciello
2f7669f278
contrib/debian: generate debian/copyright dynamically
2018-08-05 08:22:23 -05:00
Mario Limonciello
7154f63397
trivial: Adjust syntax of varying copyright holders to unify across project
2018-08-05 08:22:23 -05:00
Mario Limonciello
67604eab64
trivial: debian: correct secure boot signing template name ( Closes : #905471 )
2018-08-05 00:05:23 -05:00
Mario Limonciello
54b0e239bd
trivial: debian: refresh debian/copyright ( Closes : #904671 )
2018-08-04 22:31:32 -05:00
Mario Limonciello
df12c14032
trivial: debian: Fix secure boot signing template ( Closes : #905468 )
2018-08-04 22:25:36 -05:00
Mario Limonciello
0ad1185aa9
trivial: debian: make sure EFI binaries are in correct binary package
2018-08-04 19:49:47 -05:00
Mario Limonciello
607597d2d8
trivial: debian/rules: dynamically install EFI binaries
2018-08-04 19:40:31 -05:00
Mario Limonciello
20c0234086
trivial: debian: use pkg-config to determine when to turn on redfish and UEFI
...
Fixes FTBFS in Debian due to Redfish not working on !x86
2018-08-04 16:57:50 -05:00
Mario Limonciello
7beace3d9c
trivial: ci: Only add gnu-efi to build-deps for supported architectures
...
For Debian/Ubuntu this was causing FTBFS (dep-wait) on any architectures
that didn't have gnu-efi.
2018-07-30 16:41:59 -05:00
Mario Limonciello
7769304c7b
trivial: debian: fix the filename of the signed archive used for secure boot
...
In the process of bringing over from fwupdate this line was missed
from debian/rules.
2018-07-23 13:26:45 -05:00
Mario Limonciello
76397da55f
trivial: ci: install bubblewrap in Fedora, Ubuntu, & Debian
2018-07-13 10:51:12 -05:00
Mario Limonciello
5eef1e83f7
trivial: fedora: fix missing libgcab1-devel
2018-07-12 14:24:48 -05:00
Mario Limonciello
df6b0c1491
trivial: add make to depends for the template
2018-07-12 14:24:48 -05:00
Mario Limonciello
08efb277a1
Update the template building service for the move to fwupd
...
Since the EFI binary copied to fwupd the signing service will
also need to use templates from fwupd.
2018-07-12 14:24:48 -05:00
Steve McIntyre
d819ebf18f
Initial support for UEFI Secure Boot in Debian infrastructure
...
(Hopefully without breaking the Ubuntu packaging!)
When building, also generate a fwupdate-$ARCH-signed-template package
which contains metadata needed by the Debian signing service. This
will end up being turned into a new source package including a signed
version of the fwupdate binary.
Update the existing debian packaging files for fwupdate to do this,
and also add the core of the template in the debian/signing-template
directory. Also add a couple of helper scripts to drive things, and
update our README.Debian.
2018-07-12 14:24:48 -05:00
Mario Limonciello
bc5b496c61
trivial: debian: add gnu-efi to debian build deps
2018-07-12 14:24:48 -05:00
Richard Hughes
70c9ab0288
Do not use /usr/bin/env in the shebang line
...
According to Fedora policy env must not be used as it could be overridden by
values in the PATH.
For details, https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines
2018-07-12 07:08:53 -05:00
Richard Hughes
64881c0e2a
trivial: Fix the Fedora spec file to build with F29
2018-07-11 20:49:37 +01:00
Mario Limonciello
44305bbde4
Rename EFI application from fwup<arch>.efi to fwupd<arch>.efi
...
This will prevent potentially clashing with fwupdate's EFI application
and allow them to remain co-installable.
2018-07-10 10:45:39 -05:00
Richard Hughes
ba103483fa
redfish: Add a plugin that uses the Redfish API
...
Redfish is an open industry standard specification and schema that helps enable
simple and secure management of modern scalable platform hardware.
This has only ever been tested using an emulator and not on real hardware.
2018-06-29 20:17:45 +01:00
Mario Limonciello
f0eee65f01
trivial: fedora: Fix the signed file to match what fwupd is expecting
2018-06-29 16:33:16 +01:00
Richard Hughes
76447b2df4
trivial: Sign the Fedora fwup.efi loader
2018-06-29 08:58:12 +01:00
Mario Limonciello
b5845a8e93
Catch missing translation files in POTFILES.in
2018-06-29 06:43:06 +01:00
Richard Hughes
bf71ba6fb1
trivial: Use the address sanitizer when building the Fedora CI
2018-06-28 20:55:37 +01:00
Richard Hughes
57df956d7b
uefi: Add a libexec tool to mimic the original fwupdate CLI interface
2018-06-28 15:51:11 +01:00
Mario Limonciello
f771bde71f
uefi: Merge plugin_uefi and plugin_uefi_labels configure options
2018-06-28 15:51:11 +01:00
Mario Limonciello
37ea678db5
trivial: Install the various python deps as part of the flatpak build
2018-06-28 15:51:11 +01:00
Richard Hughes
ebbb13c2b4
Remove the libfwup dependency from fwupd
...
In Fedora the only user of libfwupdate is fwupd and the fwupdate command line
tool. It makes sense to absorb the libfwupdate library interface into the
uefi plugin in fwupd. Benefits I can see include:
* fwupd and fwupdate are very similar names; a lot of OEMs are confused
* fwupd already depends on efivar for other things
* We are maintaining an artificial library interface
* The CI and translation hooks are already in place for fwupd
* We don't need to check for features or versions in fwupd, we can just develop
the feature (e.g. BGRT) all in one place.
2018-06-28 15:51:11 +01:00
Richard Hughes
b157d6eff9
uefi: Unlock the ESRT without using libfwup
...
This will be handled by a Dell-specific plugin instead.
2018-06-28 15:51:11 +01:00
Mario Limonciello
411952700c
Download latest signed version of fwupx64.efi during snap build
...
This might not match the version that's in the snap, but if someone
is booted in secure boot, it's better completely failing.
2018-06-28 15:51:11 +01:00
Richard Hughes
b1e0ab98d1
uefi: Import the fwupd.efi sources from the fwupdate project
2018-06-28 15:51:11 +01:00
Richard Hughes
44367e707d
trivial: Bump the required version of libsmbios_c
...
Also, disable the dell plugin for the CentOS build.
2018-06-28 15:51:11 +01:00
Richard Hughes
e1d65f3f5d
trivial: Enable epel-testing for the Centos build
2018-06-27 16:48:35 +01:00
Richard Hughes
cd330b09d3
trivial: include libsmbios for the Arch CI build
2018-06-27 12:52:32 +01:00
Richard Hughes
82747821f8
trivial: Enable bash completion in the example spec file
2018-06-27 12:52:00 +01:00
Richard Hughes
aa05cdf92c
trivial: Fix the flatpak build
2018-06-27 10:40:05 +01:00
Mario Limonciello
303cfe0294
Move Fedora CI to fedora 28
...
This is to easily get the updated efivar 33 dependency
2018-06-22 09:59:06 +01:00
Mario Limonciello
8bda7ccae8
trivial: snap: sync up changes to master snap
2018-06-12 12:03:17 -05:00
Mario Limonciello
352f2c9b49
trivial: snap: fix bash completion
...
Since the snap is named fwupd, fwupdtool gets namespaced as
fwupd.fwupdtool so bash completion doesn't work properly.
Add a step to fixup bash completion paths
2018-06-12 12:02:41 -05:00
Mario Limonciello
e49cce5187
trivial: snap: strip some more items out
2018-06-11 14:22:08 -05:00
Mario Limonciello
90b3be33eb
snap: use the 'home' interface to allow snap to access CABs in $HOME
...
This matches the similar flatpak commit to allow easier consumption
of CAB files manually downloaded from LVFS
2018-06-08 16:41:08 -05:00
Mario Limonciello
f8cb836d60
flatpak: Enable bind mount for xdg-download-dir ( Closes : #555 )
...
This makes it easier to install CAB files downloaded from LVFS
via your web browser.
2018-06-08 16:41:08 -05:00
Mario Limonciello
b1503e96da
trivial: debian: Add bash-completion to debian/control
2018-06-07 09:35:44 -05:00
Mario Limonciello
0fdf5aec81
trivial: debian: Correct debian copyright for license changes
2018-06-07 09:35:40 -05:00
Mario Limonciello
bb1cb5af35
trivial: snap: Update the mime information
...
Fixes installation from CAB files in devmode
(although they need to be placed in the ratherintuitive directory
/root/snap/fwupdtool/common/ for now)
2018-06-06 17:37:37 -05:00
Mario Limonciello
2a327154c2
trivial: snap: switch to devmode instead of classic
...
Per discussion in trying to get classic snap approved, snap security
audience would rather see all interfaces used by fwupd added into
snapd interfaces so proper confinement works.
This will require devmode for now until that has occurred.
2018-06-06 14:42:30 -05:00
Mario Limonciello
982e74dba6
trivial: for snap/flatpak use the libsmbios 2.4.2 release
2018-06-06 16:48:05 +01:00
Mario Limonciello
f6689b8144
trivial: snap: don't build dep on xmlto
...
Not needed, and speeds up builds quite a bit since it doesn't pull
in the latex stack.
2018-06-05 11:33:26 -05:00
Mario Limonciello
2b1e80e79a
trivial: snap: use fwupdate 11 git until fwupdate 12 release is out
2018-06-04 12:01:27 -05:00
Mario Limonciello
eafc35391c
trivial: snap: build libusb and libgusb against stable releases
2018-06-04 12:01:27 -05:00
Mario Limonciello
71515d6a9c
trivial: snap: Split up to a snapcraft.yaml for stable and unstable builds
...
This allows easily building all the dependencies but makes snaps more
likely to be stable.
2018-06-04 12:01:27 -05:00
Mario Limonciello
84f2048697
trivial: snap: Add a README
2018-06-04 12:01:27 -05:00
Richard Hughes
872ec1b68f
Add an experimental plugin to update some new Wacom tablets
2018-06-04 11:29:29 +01:00
Richard Hughes
445afbf62c
trivial: Don't copy the git dir when building a flatpak
2018-06-04 09:40:28 +01:00
Richard Hughes
0b522aef96
colorhug: Do not require libcolorhug to build
...
Requiring colord to be built before fwupd makes it hard to build packages.
The HID-based flashing protocol is stable and documented, so there's no need
to use an external library for this now.
2018-06-02 21:43:20 +01:00
Richard Hughes
5171a64a33
flatpak: Use the local directory when building fwupd
2018-06-02 21:05:14 +01:00
Mario Limonciello
e1a39e6191
trivial: snap: Cache the correct giomodules
...
Fixes:
'g_io_module_load': /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so: undefined symbol: g_io_module_load
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
'g_io_module_load': /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so: undefined symbol: g_io_module_load
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
'g_io_module_load': /usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so: undefined symbol: g_io_module_load
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so
2018-06-01 16:43:50 -05:00
Mario Limonciello
84e6afde9d
trivial: snap: build gudev in as well
...
The one in Ubuntu core 16 is ancient
2018-06-01 16:43:50 -05:00
Richard Hughes
121aa439b9
trivial: Use the correct branch when building a flatpak bundle
2018-06-01 15:56:12 +01:00
Richard Hughes
7e683c96eb
trivial: Use the non-sourceforge libusb download location
2018-05-31 21:39:24 +01:00
Mario Limonciello
7ff2a2ced6
trivial: remove some unneeded build deps for snap build
2018-05-31 15:14:19 -05:00
Mario Limonciello
0238a9b2f2
Add support for creating snaps
...
They can be built one of three ways:
* Through Travis CI (Add to the OS matrix)
* Through build.snapcraft.io
* Locally (snapcraft cleanbuild)
2018-05-31 14:12:06 -05:00
Richard Hughes
89239b35b6
Add support for building a flatpak bundle
2018-05-31 13:54:45 +01:00
Mario Limonciello
51308e648a
Adjust all licensing to LGPL 2.1+ ( Closes : #526 )
2018-05-29 09:03:13 +01:00
Mario Limonciello
e7d6cdc843
trivial: Add bash completion for fwupdtool
2018-05-22 05:44:52 +01:00
Richard Hughes
b597683113
Add a low-level firmware diagnostic tool
...
This is designed to be run as root accessing the hardware directly rather than
using the daemon. This would allow a snap or flatpak package to write firmware
even when the host fwupd daemon is too old.
Also, move the SMBIOS parsing code here as this is not needed in fwupdmgr.
2018-05-18 10:08:10 +01:00
Richard Hughes
9b7ad9ad62
Do not use the system metainfo location
...
This means we can avoid loading a ton of non-fwupd files, and reduces our
running RSS from 5.4Mb to 2.8Mb. Old versions of appstream-glib caches a lot of
the localization string data which we just don't care about for firmware files.
2018-05-16 22:38:00 +01:00
Mario Limonciello
f6949b4911
Look up bash-completion paths using pkg-config
2018-05-01 16:21:31 -05:00
Richard Hughes
2984d906b6
trivial: Fix example spec file with suggestions from downstream
2018-04-30 15:36:12 +01:00
Mario Limonciello
8600b644df
trivial: debian: ignore library-not-linked-against-libc
...
lintian is showing false positives. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896012
for more details.
2018-04-23 10:29:48 -05:00
Mario Limonciello
58fc7d7467
trivial: debian: Don't require valgrind on more arch ports ( Closes : #896148 )
...
ia64, risvc64 and x32 aren't likely to get valgrind soon, so turn off self
tests on them and remove the dependency.
2018-04-20 09:10:34 -05:00
Mario Limonciello
078078d20e
Don't build UEFI in CentOS (it doesn't have fwupdate 10 yet
2018-04-20 09:05:17 -05:00
Mario Limonciello
693497b961
Update Fedora dockerfile to pull from Fedora 27
2018-04-20 09:05:17 -05:00
Mario Limonciello
ed1ac2a74b
Enable CentOS 7 for CI
...
There are a lot of hacks here;
* Pulling newer libappstream-glib from Fedora
* Pulling a systemd backport
* Manually installing pillow and pygobject
* PKCS7 is turned off (gnutls is too old)
2018-04-18 10:25:22 -05:00
Mario Limonciello
3a00164d9a
trivial: Support setting a proxy while building docker container
2018-04-18 10:25:22 -05:00
Mario Limonciello
6a650193b0
trivial: debian: Reset clang to run in Ubuntu
...
This was accidentally dropped in a previous CI rework.
2018-04-16 10:54:44 -05:00
Mario Limonciello
59e6440dd5
trivial: debian: Remove unused override in debian/lintian/fwupd
2018-04-16 10:54:44 -05:00
Mario Limonciello
0a94c6d34a
trivial: debian: rename tag for debian/source/lintian-overrides
2018-04-16 10:54:44 -05:00
Mario Limonciello
05c5b8de20
trivial: debian: Adjust to use https in debian/copyright
2018-04-16 10:54:44 -05:00
Mario Limonciello
6babe0fb40
trivial: debian: Bump debian/compat to 10
2018-04-16 10:54:44 -05:00
Mario Limonciello
f94b2f8c17
trivial: debian: Update control version
2018-04-16 10:54:44 -05:00
Sjoerd Simons
0a4409f231
contrib/ci: Fix synapticmst test under arch ci build
...
The synaptic mst test wants to open its test files as r/w, however as the
arch build runs as user nobody that won't work unless the test files are
also owned by user nobody. To make that happen, copy the source tree
rather then symlinking it
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2018-04-12 20:31:30 -05:00
Richard Hughes
972f6eaba5
Allow customising the warning shown when enabling the remote
2018-04-12 08:17:08 +01:00
Andrei Emeltchenko
2872867110
firmware-packager: Allow to create package out of provided binary
...
In a case we have firmware binary instead of exe archive allow to
create package.
2018-03-09 18:53:45 +08:00
Richard Hughes
ab4c2d13a6
Remove support for RaspberryPi
...
This was never used, and the foundation want to stick to the existing 'just
download a new file' distribution method.
2018-03-01 18:45:47 +00:00
Mario Limonciello
ce5ed9ce58
Add bash completion for fwupdmgr
2018-02-28 06:40:59 -06:00
Mario Limonciello
963dc4245c
uefi: Allow overriding ESP mount point via conf file ( Fixes : #421 ) ( #422 )
...
* uefi: Allow overriding ESP mount point via conf file (Fixes : #421 )
2018-02-27 14:26:58 -06:00
Robert Ancell
5c535a53ce
Generate Vala bindings
2018-02-26 06:04:27 +00:00
Mario Limonciello
a0f9f619ca
contrib: Don't declare OS variable in docker run command ( Fixes : #413 )
...
Since the containers are ephemeral just declare directly in the Dockerfile
This also simplifies the run command for users building fwupd
2018-02-21 13:30:12 -06:00
Mario Limonciello
d0b4898912
Rename ubuntu-clang to ubuntu-x86_64
...
Although it's built with clang, it's the x86_64 variant.
2018-02-21 13:30:12 -06:00
Mario Limonciello
2de274fada
contrib/ci: Detect machine type when generating debian/control
2018-02-21 13:30:12 -06:00
Mario Limonciello
7f458e67dd
Update VCS URL for debian packaging
2018-02-14 16:01:10 -06:00
Mario Limonciello
1d2a243978
contrib/ci: explicitly require at least fwupdate 10-3 to build
...
efivar 34-1 is needed to fix the ux_capsule_guid symbol
2018-02-14 16:00:10 -06:00
Mario Limonciello
ef5305ddeb
contrib/ci: Place all build results in dist/
2018-02-14 09:12:55 -06:00
Mario Limonciello
238d14669f
ci: Drop unneeded perl-sgmls dependency
2018-02-13 14:13:49 -06:00
Bruno Pagani
2c96c630eb
ci: Remove an unneeded dep for building on Arch
...
perl-sgml is not required anymore since docbook has been removed.
2018-02-13 14:13:49 -06:00
Mario Limonciello
911925642f
contrib: re-enable test suite on arch ( Fixes #370 )
...
Arch has a new umockdev now with the fixes
2018-02-13 14:13:49 -06:00
Mario Limonciello
a9d7c365d7
contrib: Install new arch keyring package immediately ( Fixes #399 )
...
Fixes problems with umockdev package signed with a key not in base.
2018-02-13 14:13:49 -06:00
Mario Limonciello
1b907a7d25
Drop docbook dependencies
2018-02-09 17:26:18 +00:00
Mario Limonciello
0957f37ca2
trivial: correct docker url
2018-02-02 14:00:23 -06:00
Mario Limonciello
ca9a25e855
trivial: correct README rendering error
2018-02-02 13:59:01 -06:00
Mario Limonciello
95e75c1f4d
contrib/ci: Simplify docker matrix
...
Building:
The Dockerfile really is just an intermediary file. While building it the
container can be built too all in one shot. No need to git ignore the
intermediary file any more as a result.
Running:
Dockerfiles support default entry points which means one docker command
can be used for starting all of them.
2018-02-02 19:55:36 +00:00
Mario Limonciello
14c5607dd3
trivial: contrib/debian: update standards version
2018-01-29 16:33:29 -06:00
Mario Limonciello
6b38dab94d
trivial: try to disable arch test suite harder
2018-01-27 23:04:09 -06:00
Mario Limonciello
651b2d925c
contrib: Turn off test suite for Arch CI for now ( #370 )
...
There have been some problems with changes in systemd that will require
other changes to be made in umockdev. These changes are being sorted
out upstream. For now this makes Travis CI fail every time on the Arch
job. Until we know that's fixed upstream, disabling the test suite in
Arch at least makes CI useful again.
2018-01-27 22:48:12 -06:00
Mario Limonciello
b0398b00cf
Revert "ubuntu: depend on appstream-glib 0.7.4 too"
...
This reverts commit 47ff62b986
.
This lets master build on Ubuntu 17.10.
Ubuntu 17.10 doesn't have the newer appstream-glib, so reverting
this commit means Ubuntu 17.10 can't use the HWID's stuff from
b8f8db2082
without a manual backport.
Ubuntu 18.04 and later already have the newer appstream-glib
though, so they will get the HWIDs functionality
2018-01-12 09:55:24 -06:00
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
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
Mario Limonciello
24add2222b
trivial: debian: correct duplicate descriptions in control file
2017-07-21 13:16:15 -05:00
Mario Limonciello
f6005940e6
debian: enable test suite via /etc/fwupd.conf
2017-07-17 14:46:50 -05:00
Mario Limonciello
47c2e9b6a8
rpm: enable test suite via /etc/fwupd.conf
2017-07-17 14:46:32 -05:00
Mario Limonciello
a8a3c6f6b6
debian: run lintian as part of CI
...
If any new changes are introduced that break plicy, this should
catch them much sooner.
2017-07-17 14:35:20 -05:00
Mario Limonciello
531a223b80
trivial: debian: recusively cleanup on purge
2017-07-17 12:34:08 -05:00
Mario Limonciello
ed8e4a54cf
trivial: debian: remove transient items on purge ( Closes : #868464 , #868465 )
2017-07-17 12:15:28 -05:00
Mario Limonciello
531f6a210a
trivial: debian: update standards version
2017-07-17 12:15:28 -05:00
Mario Limonciello
b036d0c4ad
trivial: debian: add missing dh-strip-nondeterminism dependency
2017-07-17 12:15:28 -05:00
Mario Limonciello
5ad8555f46
trivial: debian: correct some linitian errors about fwupd-tests
2017-07-17 12:15:28 -05:00
Mario Limonciello
92be642cb4
trivial: debian: move DFU introspection to it's own package
2017-07-17 12:15:22 -05:00
Mario Limonciello
c9ff8f1e33
trivial: Add a Dockerfile for Ubuntu zesty (17.04)
...
This won't be run through CI (already have Debian coverage)
but it should make it easier to check Ubuntu/Debian deviations
in the future
2017-07-10 16:30:24 -05:00
Mario Limonciello
1d588e0970
trivial: debian: back off polkit-1 dependency
...
Should allow this to compile in more places now that ITS rules
are packaged locally
2017-07-10 16:30:24 -05:00
Mario Limonciello
815c2d5ba0
trivial: packaging: lower appstream-glib requirements to match meson.build
2017-07-10 16:30:24 -05:00
Mario Limonciello
74e0a320bf
trivial: debian: Add libcairo-dev to build-dependencies
2017-07-05 13:43:47 -05:00
Richard Hughes
459b6eb9b4
trivial: Fix the colord version check in the example spec file
2017-07-04 16:32:09 +01:00
Mario Limonciello
d97eb03b6b
trivial: debian: calculate version number using git describe again
...
This will be more representative of what the build actually is
rather than a mismarked tag.
If the checkout doesn't include a tag, fallback to parsing meson.build
though.
2017-06-26 13:01:29 -05:00
Mario Limonciello
3db79f2ec2
trivial: Fixup the arch build to work on Travis
...
* Use sed to adjust package version while running script rather than `makepkg`
* Run script as root so it can modify `/build`
* Run `makepkg` as nobody rather than "build"
* Separate build/install steps
2017-06-26 12:57:55 -05:00
Bruno Pagani
1cc7d8d271
Add Arch Linux to CI
2017-06-26 09:50:11 -05:00
Mario Limonciello
db42f2bd27
trivial: don't pull debhelper from experimental on debian CI anymore
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865363 has been
fixed
2017-06-26 08:55:49 -05:00
Mario Limonciello
43775d03f9
debian: use dpkg-divert to adjust the launch script for CI testing
...
This means that if someone wants to use the test inteface with
packages, no hacky launching needed.
Just:
2017-06-22 14:44:58 -05:00
Mario Limonciello
6db2a4057c
debian: split out the test suite to it's own package
...
Most people won't be running the installed-tests, but make it
easy enough for them to get at them if they want to
2017-06-22 13:59:14 -05:00
Mario Limonciello
cca4297153
trivial: Switch installedtests from python2 to python3
2017-06-22 13:42:59 -05:00
Richard Hughes
2877237f8a
trivial: Fix CI harder
2017-06-22 15:49:40 +01:00
Richard Hughes
5d9e9f4a36
trivial: Fix the CI build for the new hardware installed tests
2017-06-22 11:21:03 +01:00
Richard Hughes
62e7393edf
Add some installed tests which require specific hardware
2017-06-22 09:36:32 +01:00
Mario Limonciello
c5300df799
Drop additions to /etc/apt/sources.list for Debian
...
The docker base images include these already
2017-06-20 14:45:23 -05:00
Mario Limonciello
9a33ea6e06
Adjust debian dependencies
...
They were a little bit overzealous.
2017-06-20 14:17:49 -05:00
Mario Limonciello
f3f4390155
Only use the test runner plugin when CI is set in the env ( #148 )
...
This prevents an installed system from showing FakeDevices but
still allows exercising every commit with Travis CI
2017-06-20 13:56:13 -05:00
Mario Limonciello
b4208bb577
Adjust Debian version detection to just parse meson.build
2017-06-20 13:54:52 -05:00
Mario Limonciello
2c9a09f767
Add texlive-fonts-recommended to Debian container
...
Since the container is installed with --no-install-recommends
it isn't coming in by default. Without it this bug occurs:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865217
2017-06-19 16:04:12 -05:00
Mario Limonciello
35aebc838f
trivial: fix typo in contrib/debian/rules:
...
Prevented Dell and Synaptics plugins from compiling
2017-06-19 10:22:59 -05:00
Richard Hughes
9b59676a24
Add a plugin to get the version of the AMT ME interface
2017-06-19 14:01:47 +01:00
Richard Hughes
19fdebf4f4
trivial: Install two extra packages for the fedora Travis build
2017-06-16 07:59:02 +01:00
Mario Limonciello
4ba3d25ba1
Drop the locale hack on the Debian docker file
2017-06-15 17:09:42 -05:00
Mario Limonciello
b692286690
deb packaging: cleaner locale fix
2017-06-15 17:09:42 -05:00
Richard Hughes
b7bf715435
Add an installed test for device update
...
This also moves the tests into one file as gnome-desktop-testing-runner
intentionally randomizes the order and runs them in parallel where allowed.
Since tests like get-updates have to be run after the metadata injection simply
put these into one test that calls a simple script.
2017-06-15 20:19:03 +01:00
Richard Hughes
ae7e0d21b2
Add an installed test for verification
2017-06-15 16:23:52 +01:00
Richard Hughes
038ab7dcb2
Add an AppStream metainfo file
...
This seems like the right thing to do, and also means we *could* move the NEWS
data in the future.
2017-06-15 12:53:33 +01:00
Richard Hughes
8d1054eaf1
trivial: Enable the tests in the reference spec file
2017-06-15 12:05:11 +01:00
Richard Hughes
2396b33573
trivial: Do not generate the UEFI labels if the architecture does not support UEFI
2017-06-15 10:58:23 +01:00
Richard Hughes
58de3dbe77
Run the installed tests in Travis CI
2017-06-14 17:34:10 -05:00
Mario Limonciello
3be2e295af
deb: Don't strip firmware-example.xml.gz in dh_strip_nondeterminism
2017-06-14 17:34:09 -05:00
Richard Hughes
bacbac1245
Add some installed tests that use the daemon
...
Functionality like this would have prevented the "(shh)" bug being included in
the last release.
2017-06-14 15:36:08 +01:00
Mario Limonciello
b9386372ca
Copy RPMs into build root when done
2017-06-13 17:56:57 -05:00
Mario Limonciello
5a286f86c8
Add information on how to generate deb and rpm using docker
2017-06-13 17:52:38 -05:00
Mario Limonciello
0ff9d5307b
drop travis CI generic build and test case (it's implied by testing packaging)
2017-06-13 15:35:45 -05:00
Mario Limonciello
ab6884f44a
enable tests in Travis CI for fedora
2017-06-13 15:35:45 -05:00
Mario Limonciello
0c50ed1af3
Generate deb & RPM packages as part of CI build ( #134 )
2017-06-13 15:35:45 -05:00
Mario Limonciello
d3c355e464
Add debian packaging
2017-06-13 15:35:45 -05:00
Mario Limonciello
3d77bd4ab4
Set Dockerfiles to UTF-8
...
Should resolve failed CI builds
2017-06-12 16:50:24 -05:00
Peter Jones
2297c09f81
Generate a pile of images for status messages during system firmware update. ( #133 )
...
This generates a pile of .bmp files to use as our status messages.
Signed-off-by: Peter Jones <pjones@redhat.com>
2017-06-12 13:11:22 -05:00
Mario Limonciello
825e881864
get debian travis builds working too
...
For now they'll need to build with debian experimental until
appstream-glib 0.6.13 flows up to unstable (probably after
stretch releases)
2017-06-08 09:09:32 -05:00
Richard Hughes
871618ae1b
Enable Travis CI for Fedora 25
...
Debian Unstable is currently disabled as it does not work.
2017-06-08 12:36:41 +01:00
Richard Hughes
1fd28050da
trivial: Fix typo in the example spec file
2017-06-07 17:08:23 +01:00
Richard Hughes
2ca22517e7
Release fwupd 0.9.3
2017-06-07 15:42:44 +01:00
Richard Hughes
605791d19e
trivial: Remove the libgcab1-dev dep, nothing actually requires it
2017-06-06 14:51:25 +01:00
Richard Hughes
dfed515573
Allow downloading metadata from more than just the LVFS
...
Add the concept of 'remotes' that can dropped into /etc and used as firmware
metadata sources. This may be desirable when firmware is only accessable with
a valid support contract or from behind a VPN.
2017-06-02 13:19:05 +01:00
Richard Hughes
5408985aef
trivial: Fix up the example spec file
2017-06-01 10:50:09 +01:00
Chris Mayo
f358837685
Make documentation and man pages optional
...
Reduce the minimum build-time dependencies.
2017-05-31 20:00:59 +01:00
Richard Hughes
a9a99bdb48
Actually use /usr/libexec/fwupd/fwupd
...
It appears the enormity of replacing a directory with a file is just too much
for package managers in 2017.
I guess we might ship other things in /usr/libexec/fwupd/ in the future.
2017-04-19 08:50:52 +01:00
Richard Hughes
22efc3b793
trivial: Workaround a bug in rpm using a pretrans script
2017-04-12 16:37:17 +01:00
Richard Hughes
57746cb839
Add the Meson build system as an alternate to autotools
...
Automake and autoconf are impossible to fully understand and Meson now provides
everything we need for a much smaller, faster, and more understandable build.
See http://mesonbuild.com/ for more information.
2017-04-12 16:35:18 +01:00
Richard Hughes
a1585c6b7f
Install the daemon in libexecdir
...
I know Debian doesn't use libexecdir, but most other distros do. On Fedora it's
really strange to see a binary in /usr/libexec/fwupd/fwupd and supporting this
not-quite-servicedir is causing confusion in the Makefiles and also problems in
other external tools.
Simply redefine libexecdir if you need the daemon binary to be installed
somewhere different.
2017-04-12 14:38:34 +01:00
Richard Hughes
c232db23df
Port away from intltool
2017-04-12 14:31:18 +01:00
Richard Hughes
e643fb283f
Create directories in /var/cache as required
...
These can be nuked at any time by users, so don't rely on the package manager
or installer to create these for us.
2017-04-12 14:09:06 +01:00
Richard Hughes
19b336ebc8
trivial: Sync example spec file with downstream
2017-02-28 21:45:34 +00:00