Commit Graph

9641 Commits

Author SHA1 Message Date
Mario Limonciello
b69d0136a3 releasing package fwupd version 0.8.1-3 2017-02-28 08:32:57 -06:00
Mario Limonciello
f3de16630f Backport upstream commit to make valgrind optional (Closes: #856344) 2017-02-28 08:32:53 -06:00
Mario Limonciello
332415d378 trivial: make /boot/efi an optional ReadWritePath (#97) 2017-02-28 08:24:40 -06:00
Mario Limonciello
6d0aa3dcf7 trivial: make valgrind an optional build dependency
Packagers should still enable it so that tracking lost memory
in plugins is possible, but on some distros some archs don't
have valgrind available which would otherwise prevent fwupd
from running.

This is as problem currently for Debian unstable where some
archs valgrind fails to compile.
2017-02-28 08:22:27 -06:00
Shea Levy
345a7b7f3d Only try to mkdir the localstatedir if we have the right permissions (#96) 2017-02-27 20:41:58 -06:00
Mario Limonciello
80f750d740 releasing package fwupd version 0.8.1-2 2017-02-27 14:04:16 -06:00
Mario Limonciello
6be1dccfdd Disable optional thunderbolt support until ITP is done 2017-02-27 14:00:57 -06:00
Mario Limonciello
5b6103ce97 trivial: allow configuring ESP location (#94) 2017-02-27 10:39:50 -06:00
Mario Limonciello
ec7f3ab02e trivial: install /var/lib/fwupd in make install (#94) 2017-02-27 10:36:50 -06:00
Mario Limonciello
c3bd58b3cc drop old efivar patch 2017-02-27 08:59:37 -06:00
Mario Limonciello
f8b74d6704 Merge branch 'debian-next' into debian 2017-02-27 08:58:09 -06:00
Mario Limonciello
2082ec45b3 Merge branch 'debian-next' into debian 2017-02-27 08:57:40 -06:00
Mario Limonciello
0da2775b37 Update changelog for release 2017-02-27 08:49:55 -06:00
Mario Limonciello
d1bd005c14 Release fwupd 0.8.1
-----BEGIN PGP SIGNATURE-----
 
 iQEcBAABAgAGBQJYtBZkAAoJEBesuo36lw4XCPUH+waCxqRbA6Rs48KWI2QEjl4q
 sO/LY2xbdjGGs/5vc7OsAY4JbAMg3CQ+bEDj5akgJEWkjJ1CIYv3MqKyV5fZL+9B
 VUohAnmTds26Zq8sQMqS42cpJajmdTtcN8U1jk8RaWfFi0Ax3rZ7d672m0JTb/XC
 ijqpN7mc8t3S1PgpRrZ7jzd28jQmmB5NkE83wE5EWKUSCU9PAWIFPAkRv5R/zEPZ
 RwEcS7RdhHgHBr1Z88N1ZLDPs1pX9vjcbkSw3CMnpeZ3O0PqdOH30aiyo6JrERr6
 n8E8t6UC7wGtc8oCxDjf4qBruOI1YSk2c6vLY4LC3cd+S0I7OILcC1q4sXcJoMY=
 =4nPw
 -----END PGP SIGNATURE-----

Merge tag '0.8.1' into debian-next

Release fwupd 0.8.1
2017-02-27 08:32:00 -06:00
Richard Hughes
34708d910d trivial: post release version bump 2017-02-27 12:09:06 +00:00
Richard Hughes
5d1f0a4ab6 Release fwupd 0.8.1 2017-02-27 12:07:00 +00:00
Richard Hughes
8738a9f8e4 trivial: Do not use deprecated appstream-glib API 2017-02-27 10:11:29 +00:00
Mario Limonciello
e2be8ae739 Merge branch 'debian' into debian-next 2017-02-24 15:36:06 -06:00
Mario Limonciello
3d8234c45f Merge branch 'master' into debian-next 2017-02-24 15:35:41 -06:00
Richard Hughes
6c898739c9 Really remove the NoNewPrivileges systemd confinement
Even with the other changes this is still required for me on Fedora 25.
2017-02-24 10:56:39 +00:00
Richard Hughes
7db8ed498b trivial: Unbreak make check 2017-02-24 10:55:46 +00:00
Richard Hughes
576c012d20 Do not dlclose modules when running under valgrind
Without this patch, unloading the module means we can't resolve the symbols
where the memory was leaked.
2017-02-24 09:47:00 +00:00
Richard Hughes
c3c28bacae trivial: Always initialize a g_autoptr as the compiler is not yet smart enough 2017-02-24 07:54:51 +00:00
Mario Limonciello
20c112a891 Adjust systemd confinement restrictions
commit 99b317d4f7 introduced much
more strict confinement. This actually caused some regressions
though.

commit 3c54edb15e tried to fix
one of the problems, but didn't cover the rest.

The actual changes:
- Drop PrivateUsers=yes
  This is causing crashes when initializing libsmbios
  Presumably it's related to accessing memory.
- Add back in NoNewPrivileges
  This hasn't caused any crashes for libsmbios for me.
- Remove ProtectKernelTunables
  This is needed to access /sys for the dcdbas kernel
  module used by libsmbios.  Calls fail without it
- Add ReadWritePaths=/var/lib/fwupd /boot/efi
  The refresh function was failing the first time due to
  ProtectSystem=full being in effect and /var/lib/fwupd
  being read only
  Flashing UEFI capsules was failing due to being unable
  to write to /boot/efi/EFI/$(EFIDIR)/fw/
2017-02-23 15:13:24 -06:00
Mario Limonciello
6cabd969e9 trivial: correct a small memory leak in SynapticsMST plugin 2017-02-23 13:16:04 -06:00
Richard Hughes
3c54edb15e Do not fail to start on Dell hardware
For some reason NoNewPrivileges=yes causes the process to be killed when run on
hardware specifically from Dell. I can reliably reproduce this on my XPS 13 and
I assume it's something to do with libsmbios.
2017-02-21 09:36:49 +00:00
Richard Hughes
afe00a91e7 trivial: Prevent a critical warning when using --timed-exit 2017-02-21 09:36:49 +00:00
Mario Limonciello
e70e5513ca dell: don't initialize libsmbios on unsupported systems
As found in https://github.com/dell/libsmbios/pull/13
there are some errors with libsmbios error paths.

These need to be fixed in libsmbios, but at least avoid
running this code on those systems (and crashing fwupd).
2017-02-20 14:54:12 -06:00
Richard Hughes
0e94553fb0 Revert "Make it compile with docbook2X"
This reverts commit 0e8f5d93ae.
2017-02-16 10:47:35 +00:00
Mario Limonciello
e3c751b1b9 backport commits that allow buildling on older efivar 2017-02-15 09:31:34 -06:00
Mario Limonciello
aad9729347 trivial: fix build issues with older efivar
This is in the same vane as 4da67515, it allows linking with
an older efivar.
2017-02-15 09:29:59 -06:00
Mario Limonciello
61859d9d1e Optionally enable thunderbolt 2017-02-14 16:37:52 -06:00
Mario Limonciello
de72ec6479 loosen dependencies on libefivar-dev and libfwup-dev 2017-02-14 16:32:27 -06:00
Mario Limonciello
ca9dadcc52 trivial: move gelf.h include to HAVE_LIBELF (#87) 2017-02-14 11:09:46 -06:00
Mario Limonciello
3ef6e523af Merge branch 'master' into debian-next 2017-02-14 10:38:17 -06:00
Mario Limonciello
d415ca48c6 Merge branch 'debian' into debian-next 2017-02-14 10:38:12 -06:00
Richard Hughes
2b27893e66 trivial: Move the ConditionPathExists to the right file
*This* is why we were getting confused.
2017-02-13 12:50:01 +00:00
Richard Hughes
d82a6024e7 Fix a crash when enumerating devices on a Dell WLD15 2017-02-13 11:03:03 +00:00
Richard Hughes
31c36cd2b6 trivial: Fix some -Wdiscarded-qualifiers warnings 2017-02-13 11:02:19 +00:00
Richard Hughes
2613dcc3b8 trivial: Fix another -Wpointer-sign compile warning 2017-02-13 10:50:07 +00:00
Richard Hughes
6d5f2dc25e trivial: Fix compile warnings when building packages 2017-02-13 10:50:07 +00:00
Richard Hughes
4da6751502 trivial: Fix build issue
Patch from Gert Hulselmans, many thanks.

Fixes: https://github.com/hughsie/fwupd/issues/88
2017-02-13 10:50:07 +00:00
Kai Krakow
1c7ea9ee2d Fix compiler warnings
My compiler doesn't understand -Wno-discard-qualifiers so drop it and
fix the warnings instead. I think it is better to explicitly fix them
anyways instead of just to ignore the discarded const qualifier in
general.

I think the option should be avoided in hand-written code. The warning
is there for a reason: To protect you from possibly overwriting data you
expect to not be modified when passing pointers around.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41215
2017-02-13 10:02:25 +00:00
Richard Hughes
9d4c3e6cb7 Fix fwupdmgr timeout with missing pending database
It seems systemd now requires the database to exist before allowing the service
to be D-Bus activated.

Fixes: https://github.com/hughsie/fwupd/issues/92
2017-02-13 09:52:38 +00:00
Kai Krakow
ce2c41a11e Do not hardcode docbook2man path
In docbook2X, the command is docbook2man.pl instead of docbook2man
2017-02-13 08:51:10 +00:00
Kai Krakow
0e8f5d93ae Make it compile with docbook2X
Gentoo ships with docbook2X which doesn't accept the format of the SGML
file due to incomplete DOCTYPE settings.
2017-02-13 08:51:10 +00:00
Piotr Drąg
16f49d5f3f Delete duplicate translations (#89)
Translation files should now match Transifex.
2017-02-11 16:26:30 +00:00
Mario Limonciello
12fe80f3c3 releasing package fwupd version 0.8.0-2 2017-02-10 11:58:38 -06:00
Mario Limonciello
ef7369c03c Only build synaptics on supported arch (fixes FTBFS) 2017-02-10 11:49:06 -06:00
Mario Limonciello
b21bdd36f5 Remove extra section 2017-02-09 14:38:06 -06:00