Jessica Clarke
f69931032e
debian: Build up CONFARGS list rather than individual variables
...
This avoids having a silly line length for the dh_auto_configure
invocation.
2020-11-16 08:06:48 -06:00
Jessica Clarke
227e281cf9
debian: Fix another instance of unusual ifeq syntax
2020-11-16 08:06:48 -06:00
Jessica Clarke
474e4135e8
debian: Fix dangerous lack of set -e
...
Also split the long line whilst here.
2020-11-16 08:06:48 -06:00
Jessica Clarke
8218923985
debian: Check for valgrind in Makefile not shell and don't hard-code path
2020-11-16 08:06:48 -06:00
Jessica Clarke
65b4f61110
debian: Drop pointless dh_shlibdeps override
...
There's no other mention of DHSLIBS in the entire tree so it'll always
be empty.
2020-11-16 08:06:48 -06:00
Jessica Clarke
4b2d77bbe9
debian: Use if/else rather than overriding default values
...
This makes the code easier to follow.
Whilst here use DEB_HOST_ARCH_CPU for the ia64 and use the more
conventional syntax.
2020-11-16 08:06:48 -06:00
Jessica Clarke
43d7c50609
debian: Prefer Makefile substitution over shell substitution
...
This makes the output show what is being run and avoids ugly multi-line
shell commands. It also avoids needlessly polluting the environment.
2020-11-16 08:06:48 -06:00
Jessica Clarke
de55495d95
debian: Check DEB_HOST_ARCH_CPU not DEB_HOST_ARCH for MSR plugin
...
The plugin is CPU-dependent, not kernel, ABI or libc dependent.
This makes x32 build the plugin again.
2020-11-16 08:06:48 -06:00
Mario Limonciello
e6154b3425
trivial: debian: disable msr plugin on all !x86
...
Fixes build failure on arm64 and armhf
2020-11-14 00:00:11 -06:00
Mario Limonciello
80212a3d0b
trivial: debian: don't hardcode paths in libexec
...
Some architectures won't have `fwupd-detect-cet` and this causes
build failures for those architectures
Fixes build failures on:
ppc64, risvc64, sparc64, powerpc, m68k, ia64, hppa, alpha, s390x,
mipsel, mips64el, armel
2020-11-14 00:00:11 -06:00
Mario Limonciello
bd60de12be
Add a flag to indicate if packages are supported
...
Anyone can easily add this, but it makes it clearer that by default hand
build, snap, and flatpak are not checked by anyone.
2020-11-11 14:34:59 -06:00
Mario Limonciello
258177472f
trivial: debian/rules: disable flashrom for ia64
2020-09-11 13:58:11 -05:00
Mario Limonciello
eb4472a479
trivial: debian: add udisks2 to recommends
...
(Closes : #970054 )
2020-09-10 17:31:10 -05:00
Mario Limonciello
c76775641b
Revert "trivial: debian: don't fail CI for subprojects"
...
This reverts commit fc9cb560eb
.
2020-08-28 10:56:20 -05:00
Mario Limonciello
5de5dd3582
Install the installed tests
...
Move binaries out of fwupd tree to https://github.com/fwupd/fwupd-test-firmware
Fixes some of https://github.com/fwupd/fwupd/issues/1956
2020-08-28 10:10:43 -05:00
Mario Limonciello
fc9cb560eb
trivial: debian: don't fail CI for subprojects
2020-08-26 10:14:41 -05:00
Mario Limonciello
82c3e3471d
Remove support for UEFI dbx security attribute
...
This is no longer relevant as fwupd is providing dbxtool now.
2020-08-19 07:38:51 +01:00
Richard Hughes
cad96542e2
Check if CET is actually being used on the runtime system
...
With thanks to H.J. Lu <hjl.tools@gmail.com> for the initial code.
2020-07-27 15:53:38 +01:00
Richard Hughes
9a04ce8f29
msr: Add a new plugin to detect the Intel DCI state
2020-07-16 20:13:06 +01:00
Richard Hughes
85226fd9d1
Remove potentially problematic language
...
Red Hat wants to drive an initiative in correcting problematic and potentially
divisive language in open source projects. These naming conventions and
descriptive phrases are hurtful and offensive to many of our colleagues across
the open source universe.
See https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language
2020-06-30 17:31:17 +01:00
Richard Hughes
63fa4effd3
pci-mei: Check the ME device is not in manufacturing mode
2020-05-15 21:28:27 -05:00
Mario Limonciello
8b5bcbb9e3
Add a new plugin for IOMMU support
2020-05-15 11:32:51 -05:00
Richard Hughes
8fdefd459b
pci-bcr: Read the PCI BCR config register from userspace
...
We can read this from userspace even when SB is turned on and with the kernel
locked down. The kernel securityfs patches are still in-progress, but will take
significant time to get upstream.
The kernel patches are needed when the PCI device is hidden from userspace.
2020-05-15 10:21:07 +01:00
Richard Hughes
b9640a28ec
uefi-dbx: Add a plugin that analyses the UEFI dbx variable
...
This will be used for future functionality.
2020-05-07 16:59:36 +01:00
Mario Limonciello
22306055e3
trivial: enable libjcat from Debian & Ubuntu distro builds
2020-04-08 10:32:34 -05:00
Mario Limonciello
e4fa62b1d1
trivial: contrib: drop Jared from uploaders
2020-04-01 16:51:42 -05:00
Richard Hughes
d5aab65f30
Use Jcat files in firmware archives and for metadata
...
A Jcat file can be used to store GPG, PKCS-7 and SHA-256 checksums for multiple
files. This allows us to sign a firmware or metadata multiple times (perhaps
by the OEM and also then the LVFS) which further decentralizes the trust model
of the LVFS.
The Jcat format was chosen as the Microsoft catalog format is nonfree and not
documented. We also don't want to modify an existing .cat file created from WU
as this may make it unsuitable to use on Windows.
More information can be found here: https://github.com/hughsie/libjcat
2020-03-23 19:55:12 +00:00
Mario Limonciello
16eea10554
ci: build Debian using libflashrom
...
The package is now in unstable in the 1.2-4 package.
2020-03-05 17:07:28 -06:00
exploide
c33fbb5002
added completion script for fish shell
2020-02-29 16:31:50 +00:00
Mario Limonciello
93d6131d0e
trivial: debian: fix build for systems without UEFI
...
Just dynamically find the binaries in usr/bin rather than hardcoding
2020-02-21 10:39:55 -06:00
Mario Limonciello
9fa7b38ac1
Move fwupdtpmevlog
into bindir
2020-02-20 09:02:11 -06:00
Mario Limonciello
21e7faa78b
uefi: Move fwupdate
into bindir
...
Intended to be executed by users for debugging purposes, create a man
page as well.
2020-02-20 09:02:11 -06:00
Mario Limonciello
bf6d455687
Move fwupdtool
and fwupdagent
into bindir
...
These are intended to be executed by users (albeit for debugging and
advanced users) and shouldn't be left as an internal implementation
per FHS 3.0.
2020-02-20 09:02:11 -06:00
Laurent Bigonville
81e359199b
Move the daemons from /usr/lib/fwupd to /usr/libexec/fwupd
...
This is supported since debian policy version 4.1.5 (FHS 3.0)
2020-02-18 11:22:58 -06:00
Laurent Bigonville
022d4fa708
debian/control.in: Add libglib2.0-doc to Build-Depends-Indep
...
This allows the links between the documentations files to be properly
generated
2020-02-18 11:22:58 -06:00
Mario Limonciello
026f0e0d28
trivial: contrib/debian: Add a diff ignore for vscode in debian packages
2020-02-14 10:31:47 -06:00
Mario Limonciello
df6a9464d5
trivial: contrib/debian: refresh standards version
2020-02-14 10:31:45 -06:00
dann frazier
b25be977a9
trivial: debian: Don't use --parents when rmdir'ing /var/*/fwupdate
...
Calling 'rmdir --parents /var/cache/fwupdate' will cause it to attempt
to rmdir /var/cache and /var. Those directories are very unlikely to be
empty, so it should always quietly fail. However, there's not benefit
in attempting those removals, so let's quit doing it.
2020-01-21 17:52:28 -06:00
Mario Limonciello
31c08120b9
trivial: debian: Add explicit cleanup for fwupdate->fwupd transition
...
It's possible that someone has removed fwupdate package prior to the
fwupd transition meaning that they might have some artifacts left
behind from fwupdate packaging. Clean up these artifacts.
This commit can be reverted after both Debian bullseye and Ubuntu
focal have been released.
2020-01-09 09:01:15 -06:00
Richard Hughes
f5c6e1d276
Add a new plugin that can parse the TPM event log
...
Some devices do not have a stable PCR0 for the same firmware version, and I'd
like to collect the TPM event log for affected machines to debug why.
2019-12-06 15:05:16 +00:00
Richard Hughes
297d1598ef
trivial: Only dlopen the test plugin once
...
This causes problems in the self tests when not lazy-loading symbols.
Also use g_build_filename() for the paths to be more portable and readable.
2019-12-01 20:59:19 +00:00
Mario Limonciello
f12e471414
trivial: ci: debian: enable verbose daemon logging for failure analysis
2019-12-01 06:23:27 -06:00
Mario Limonciello
f35a3dec93
trivial: debian: remove obj-* built files to fix back to back builds
2019-11-30 18:56:09 -06:00
Mario Limonciello
0f67b79cc5
trivial: debian: correct a dependency for libfwupdplugin-dev
2019-11-30 18:34:56 -06:00
Mario Limonciello
11503c23ee
Install development files for libfwupdplugin
...
This splits out all development files, including headers into their
own packages where relevant.
Notably absent is `fu-hash.h` which is used for determining taint.
Out of tree developed plugins should still taint the daemon.
2019-11-27 11:32:43 +00:00
Mario Limonciello
6b0e66354b
Convert libfwupdprivate to a shared library libfwupdplugin
2019-11-27 11:32:43 +00:00
Mario Limonciello
4fcf48606f
trivial: debian: ci: ignore library-not-linked-against-libc for more
2019-11-23 20:18:36 +00:00
Mario Limonciello
e62db1bc57
trivial: debian: remove some unneeded lintian
2019-10-28 10:43:43 -05:00
Mario Limonciello
ea10d7b14e
trivial: debian: bump compat version
2019-10-28 10:43:43 -05:00
Mario Limonciello
e7b2ea02b9
uefi: use genpeimg
to mark ASLR and DP/NX on EFI binary
...
If the tool is available at build time use it to this.
2019-10-26 12:59:11 -05:00