SHA256
1
0
forked from pool/fwupd

Compare commits

...

13 Commits

Author SHA256 Message Date
Ana Guerrero
02eb7c6168 Accepting request 1240507 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1240507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=89
2025-01-28 13:58:32 +00:00
b969c6afc1 Update to 2.0.4 with polkit fixes
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=202
2025-01-27 11:30:51 +00:00
Ana Guerrero
361d7b24bc Accepting request 1236122 from Base:System
- Update fwupd-bsc1130056-change-shim-path.patch to correct the
  path for shim.efi
- Correct efi_fw_update arch list:
  * Remove ppc64le and s390x - these aren't supported
  * Add armv6hl/armv7hl and riscv64 - support recently added
- Update to version 1.9.27:
  + This release fixes the following bugs:
    - Add a power quirk for Framework systems
    - Allow cros-ec repair the device after flush failure
    - Check the VLI USB3 firmware size before erasing
    - Disallow DBX updates on the Samsung Galaxy Book2 360
    - Do not show 'Device has been removed' as a dock error
    - Do not use a CMSE11 function when using CSME18
    - Fix an unlikely memory leak when using ModemManger Sahara devices
    - Fix a tiny memory leak in algoltek-usb when checking status
    - Mark UEFI dbx updates as affecting full disk encryption
    - Parse FDTs with missing END tokens
    - Rename the dell-k2 plugin to dell-kestrel and rework the update flow
  + This release adds support for the following hardware:
    - Google GID8 Headset
    - Parade PS188
    - Primax Ryder Mouse
    
- Update to version 1.9.26:
  + This release fixes the following bugs:
    - Add HSI tests for Arrow and Meteor Lake CSME
    - Allow UEFI capsule config values to be set with fwupdmgr modify-config
    - Check for the logitech-bulkcontroller response packet length correctly
    - Fix using ID_LIKE for fallback when ESP isn't mounted
    - Fix various Coverity-reported overflowed constants
    - Only compare the first 10 characters of the AMD GPU part number
  + This release adds support for the following hardware:
    - Jabra PanaCast
    - Some Lenovo Legion HID devices

OBS-URL: https://build.opensuse.org/request/show/1236122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=88
2025-01-12 10:10:06 +00:00
51fff397c1 - Update fwupd-bsc1130056-change-shim-path.patch to correct the
path for shim.efi

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=200
2025-01-09 08:20:05 +00:00
9e993c7358 - Update to version 1.9.27:
+ This release fixes the following bugs:
    - Add a power quirk for Framework systems
    - Allow cros-ec repair the device after flush failure
    - Check the VLI USB3 firmware size before erasing
    - Disallow DBX updates on the Samsung Galaxy Book2 360
    - Do not show 'Device has been removed' as a dock error
    - Do not use a CMSE11 function when using CSME18
    - Fix an unlikely memory leak when using ModemManger Sahara devices
    - Fix a tiny memory leak in algoltek-usb when checking status
    - Mark UEFI dbx updates as affecting full disk encryption
    - Parse FDTs with missing END tokens
    - Rename the dell-k2 plugin to dell-kestrel and rework the update flow
  + This release adds support for the following hardware:
    - Google GID8 Headset
    - Parade PS188
    - Primax Ryder Mouse
    
- Update to version 1.9.26:
  + This release fixes the following bugs:
    - Add HSI tests for Arrow and Meteor Lake CSME
    - Allow UEFI capsule config values to be set with fwupdmgr modify-config
    - Check for the logitech-bulkcontroller response packet length correctly
    - Fix using ID_LIKE for fallback when ESP isn't mounted
    - Fix various Coverity-reported overflowed constants
    - Only compare the first 10 characters of the AMD GPU part number
  + This release adds support for the following hardware:
    - Jabra PanaCast
    - Some Lenovo Legion HID devices

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=199
2025-01-06 09:47:33 +00:00
534313d8ac - Correct efi_fw_update arch list:
* Remove ppc64le and s390x - these aren't supported
  * Add armv6hl/armv7hl and riscv64 - support recently added

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=198
2025-01-06 09:46:45 +00:00
Ana Guerrero
d739dc3207 Accepting request 1208170 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1208170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=87
2024-10-16 21:38:40 +00:00
8dade32df2 - Drop rcFOO symlinks (PED-266).
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=196
2024-10-15 14:56:26 +00:00
b0e11b1db2 - Enable plugin_amdgpu: the plugin built succesfully
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=195
2024-10-15 06:27:09 +00:00
Ana Guerrero
d03b86a906 Accepting request 1203388 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1203388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=86
2024-09-25 19:51:39 +00:00
e01dba752b - Update to version 1.9.25:
+ This release fixes the following bugs:
    - Fix checking new Synaptics MST firmware size
    - Make another ModemManager instance ID visible for firmware
      matching
    - Never set a zero-length device name when matching the vendor
      name
    - Recalculate the device supported flag when reparenting
      devices
    - Reduce idle power consumption of paired logitech-hidpp
      devices
    - Retry the open action to fix BC901 NVMe reload
  + This release adds support for the following hardware:
    - Algoltek devices supporting sector erase
    - Dell K2 dock
    - Intel USB4 hub 5787
    - More MediaTek scaler devices
    - Nordic HID devices supporting DFUv1

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=193
2024-09-25 09:12:10 +00:00
Ana Guerrero
3abe378251 Accepting request 1195240 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1195240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=85
2024-08-22 16:10:38 +00:00
a034b11e2e - Update to version 1.9.24:
+ This release fixes the following bugs:
    - Add support for capsule on disk for Dell systems
    - Do not re-use the connection cache to fix Redfish BMC restart
    - Exclude known recovery partitions when choosing an ESP volume
    - Fix the VLI usb3 private flag registration
  + This release adds support for the following hardware:
    - More Mediatek scaler devices
    - Parade USB hubs

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=191
2024-08-22 06:25:28 +00:00
10 changed files with 220 additions and 114 deletions

View File

@ -4,7 +4,7 @@
<param name="url">https://github.com/fwupd/fwupd.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="revision">1.9.23</param>
<param name="revision">95017c2</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
</service>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e52dca5546ebe1727d3c8f86a9f881d024bf85d4a3c1c1cfd0bce9c3dfa62a3
size 18383885

3
fwupd-2.0.4+4.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e267e10a6d0c9ed93333f77cc7faee577580a46951c85007f68928db722d00f9
size 20710925

View File

@ -1,14 +1,13 @@
diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c
index 9d9e30f..daa9b2c 100644
index e7761b52..0a425455 100644
--- a/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -408,7 +408,8 @@ fu_uefi_bootmgr_bootnext(FuVolume *esp,
/* test if we should use shim */
secure_boot = fu_efivar_secure_boot_enabled(NULL);
if (secure_boot) {
- shim_app = fu_uefi_get_esp_app_path("shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi",
+ fu_uefi_get_esp_path_for_os());
@@ -368,7 +368,7 @@ fu_uefi_bootmgr_bootnext(FuEfivars *efivars,
if (!fu_efivars_get_secure_boot(efivars, &secureboot_enabled, error))
return FALSE;
if (secureboot_enabled) {
- shim_app = fu_uefi_get_esp_app_path(esp_path, "shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi", fu_uefi_get_esp_path_for_os(esp_path));
if (shim_app == NULL)
return FALSE;

View File

@ -1,18 +0,0 @@
Index: fwupd-1.9.14/plugins/uefi-capsule/fu-uefi-common.c
===================================================================
--- fwupd-1.9.14.orig/plugins/uefi-capsule/fu-uefi-common.c
+++ fwupd-1.9.14/plugins/uefi-capsule/fu-uefi-common.c
@@ -235,9 +235,13 @@ fu_uefi_get_esp_path_for_os(void)
g_autofree gchar *esp_path = NULL;
g_autoptr(GError) error_local = NULL;
g_autoptr(GHashTable) os_release = fwupd_get_os_release(&error_local);
+ g_auto(GStrv) split = NULL;
/* try to lookup /etc/os-release ID key */
if (os_release != NULL) {
os_release_id = g_hash_table_lookup(os_release, "ID");
+ /* Overide os_release_id for SLE and openSUSE */
+ split = g_strsplit (g_hash_table_lookup (os_release, "NAME"), " ", 2);
+ os_release_id = g_ascii_strdown (split[0], -1);
} else {
g_debug("failed to get ID: %s", error_local->message);
}

View File

@ -1,3 +1,192 @@
-------------------------------------------------------------------
Mon Jan 20 16:02:53 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.0.4+4:
+ dell-kestrel: cleanup the devices when disconnected
+ Raise authentication requirements for emulation-load
+ uefi-dbx: Only list the version in the quirk file key
- Update to version 2.0.4:
+ This release adds the following features:
- Record the entire USB descriptor in the emulation data
- Return defined return code when network metadata refresh
fails
+ This release fixes the following bugs:
- Add a new private flag of 'delayed-removal' to remove a
footgun
- Added a more specific instance ID for qc-s5gen2 USB devices
- Add fadvise64 to the systemd syscall allowlist
- Add the Unifying bootloader VID/PID as a full instance ID
- Allow disabling zero-length packet for modem-manager devices
- Allow recovering Logitech Bolt receiver in bootloader mode
- Correctly parse CSV streams without trailing NULs
- Detect if network is reachable before downloading metadata
- Disabling reading the OptionROM device after dumping
- Do not claim kernel interface to avoid Parade downstream port
resets
- Do not save BootOrder when measuring system integrity
- Enumerate child nordic-hid devices correctly
- Fix a possible critical warning for Mediatek scaler devices
- Fix Firehose padding for some modem-manager devices
- Fix UEFI capsule updates when using 4096 byte NVME blocksize
- Get the Dell dock update package version correctly
- Never read more of the composite stream from a partial stream
- Notify snapd about DBX updates
- Probe sd_mod before starting
- Properly handle FU_DEVICE_PRIVATE_FLAG_NO_GENERIC_GUIDS
- Remove the test for CSME 18 manufacturing lock
- Restore the Logitech compatibility UFY instance IDs
- Show the correct version when installing a same-device
composite update
- Show updates with problems when using 'fwupdmgr get-releases'
- Split up the AMD GPU VBIOS P/N for the version
- Use attr USB4_TYPE rather than guessing from
thunderbolt_domain
- Use the ISO date as a dbx version number for the Microsoft
KEK
- Use the KEK to set the dbx vendor ID
-------------------------------------------------------------------
Thu Jan 9 14:51:34 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.0.3:
+ This release adds the following features:
- Add a power quirk for Framework systems
- Speed up writing firmware to the new Dell dock
+ This release fixes the following bugs:
- Deinitialize DRM after getting GPU marketing name to fix Xorg
startup
- Do not show 'Device has been removed' as a dock device error
- Fix a warning about legion-hid2 progress going backwards
- Fix some small memory leaks in realtek-mst and dell-kestrel
- Only mark supported Logitech devices as updatable
- Parse FDTs with missing END tokens to work on more
ChromeBooks
- Reduce the device emulation RSS requirement by ~40%
- Skip checking BootXXXX entries when the partition does not
exist
+ This release adds support for the following hardware:
- Primax Ryder Mouse
- Changes from version 2.0.2:
+ Add fwupdtool 'get-version-formats' and 'vercmp' commands
+ Add support for checking AMD HW configuration MSR
+ Add support for enumerate-only device emulation to increase
test coverage
+ Add support for passing a JSON file for emulation instead of
ZIP
+ Remove support for now-obsolete CSR DFU and Nitrokey devices
- Changes from version 2.0.1:
+ Add API so that gnome-firmware can record devices for emulation
+ Save the emulation-tag devices to the database rather than the
config file
- Changes from version 2.0.0:
+ Drop legacy signing formats for verification of metadata and
firmware
+ Reduce the runtime memory usage and CPU startup cost
significantly
+ Remove all the long-deprecated legacy CLI tools
+ Remove libgusb and GUdev from plugins and use libusb and sysfs
instead
+ Stream firmware binaries over a file descriptor rather than
into memory
- Drop harden_fwupd-offline-update.service.patch: offline service
no longer exists.
- Drop harden_fwupd-refresh.service.patch: merged upstream.
- Drop fwupd-jscSLE-11766-close-efidir-leap-gap.patch: fwupd now
falls back to ID_LIKE.
- Bump shlib_sover to 3, following upstream.
- Add python3-dbusmock BuildRequires: new dependency.
-------------------------------------------------------------------
Thu Jan 9 06:38:36 UTC 2025 - Gary Ching-Pang Lin <glin@suse.com>
- Update fwupd-bsc1130056-change-shim-path.patch to correct the
path for shim.efi
-------------------------------------------------------------------
Mon Dec 23 11:53:48 UTC 2024 - Callum Farmer <gmbr3@opensuse.org>
- Correct efi_fw_update arch list:
* Remove ppc64le and s390x - these aren't supported
* Add armv6hl/armv7hl and riscv64 - support recently added
-------------------------------------------------------------------
Sat Dec 21 11:01:39 UTC 2024 - tobi.goergens@gmail.com
- Update to version 1.9.27:
+ This release fixes the following bugs:
- Add a power quirk for Framework systems
- Allow cros-ec repair the device after flush failure
- Check the VLI USB3 firmware size before erasing
- Disallow DBX updates on the Samsung Galaxy Book2 360
- Do not show 'Device has been removed' as a dock error
- Do not use a CMSE11 function when using CSME18
- Fix an unlikely memory leak when using ModemManger Sahara devices
- Fix a tiny memory leak in algoltek-usb when checking status
- Mark UEFI dbx updates as affecting full disk encryption
- Parse FDTs with missing END tokens
- Rename the dell-k2 plugin to dell-kestrel and rework the update flow
+ This release adds support for the following hardware:
- Google GID8 Headset
- Parade PS188
- Primax Ryder Mouse
- Update to version 1.9.26:
+ This release fixes the following bugs:
- Add HSI tests for Arrow and Meteor Lake CSME
- Allow UEFI capsule config values to be set with fwupdmgr modify-config
- Check for the logitech-bulkcontroller response packet length correctly
- Fix using ID_LIKE for fallback when ESP isn't mounted
- Fix various Coverity-reported overflowed constants
- Only compare the first 10 characters of the AMD GPU part number
+ This release adds support for the following hardware:
- Jabra PanaCast
- Some Lenovo Legion HID devices
-------------------------------------------------------------------
Tue Oct 15 14:47:07 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop rcFOO symlinks (PED-266).
-------------------------------------------------------------------
Mon Oct 14 18:40:47 UTC 2024 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Enable plugin_amdgpu: the plugin built succesfully
-------------------------------------------------------------------
Wed Sep 25 08:47:28 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.9.25:
+ This release fixes the following bugs:
- Fix checking new Synaptics MST firmware size
- Make another ModemManager instance ID visible for firmware
matching
- Never set a zero-length device name when matching the vendor
name
- Recalculate the device supported flag when reparenting
devices
- Reduce idle power consumption of paired logitech-hidpp
devices
- Retry the open action to fix BC901 NVMe reload
+ This release adds support for the following hardware:
- Algoltek devices supporting sector erase
- Dell K2 dock
- Intel USB4 hub 5787
- More MediaTek scaler devices
- Nordic HID devices supporting DFUv1
-------------------------------------------------------------------
Thu Aug 22 06:07:43 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.9.24:
+ This release fixes the following bugs:
- Add support for capsule on disk for Dell systems
- Do not re-use the connection cache to fix Redfish BMC restart
- Exclude known recovery partitions when choosing an ESP volume
- Fix the VLI usb3 private flag registration
+ This release adds support for the following hardware:
- More Mediatek scaler devices
- Parade USB hubs
-------------------------------------------------------------------
Tue Aug 6 05:36:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,4 +1,4 @@
name: fwupd
version: 1.9.23
mtime: 1722861110
commit: 28a3138f0e647a12c17b2b5a1d078b8b115bd3f3
version: 2.0.4+4
mtime: 1737384376
commit: 95017c22eeb76561cd2f4fe5d72c2b68a70fff73

View File

@ -1,7 +1,7 @@
#
# spec file for package fwupd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%ifarch %{ix86} x86_64 aarch64 riscv64 s390x ppc64le
%ifarch %{ix86} x86_64 %{arm} aarch64 riscv64
%bcond_without efi_fw_update
%else
%bcond_with efi_fw_update
@ -36,11 +36,11 @@
%bcond_with fish_support
%endif
%define shlib_sover 2
%define shlib_sover 3
%define docs 0
Name: fwupd
Version: 1.9.23
Version: 2.0.4+4
Release: 0
Summary: Device firmware updater daemon
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@ -50,12 +50,6 @@ Source: %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056
Patch1: fwupd-bsc1130056-change-shim-path.patch
# PATCH-FIX-OPENSUSE fwupd-jscSLE-11766-close-efidir-leap-gap.patch jsc#SLE-11766 qkzhu@suse.com -- Set SLE and openSUSE esp os dir at runtime
Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch
# PATCH-FEATURE-OPENSUSE harden_fwupd-offline-update.service.patch -- Harden services
Patch3: harden_fwupd-offline-update.service.patch
# PATCH-FEATURE-OPENSUSE harden_fwupd-refresh.service.patch -- Harden services
Patch4: harden_fwupd-refresh.service.patch
BuildRequires: dejavu-fonts
BuildRequires: fdupes
@ -76,6 +70,7 @@ BuildRequires: pkgconfig
BuildRequires: procps
BuildRequires: python3-Pillow
BuildRequires: python3-cairo
BuildRequires: python3-dbusmock
BuildRequires: python3-gobject-Gdk
BuildRequires: python3-setuptools
BuildRequires: python3-xml
@ -106,6 +101,7 @@ BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libcbor)
BuildRequires: pkgconfig(libcurl) >= 7.62.0
BuildRequires: pkgconfig(libdrm_amdgpu)
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libgcab-1.0) >= 1.0
BuildRequires: pkgconfig(libprotobuf-c)
@ -136,7 +132,9 @@ Requires: shim >= 11
Requires: udisks2
%endif
%endif
Requires: (fwupd-efi if shim)
%if %{with efi_fw_update}
Requires: fwupd-efi
%endif
%description
fwupd is a daemon to allows session software to update device firmware on
@ -227,13 +225,12 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE"
# Synaptics requires Dell support, i.e. x86 only
%meson \
-Dlaunchd=disabled \
-Dplugin_amdgpu=disabled \
-Dplugin_amdgpu=enabled \
-Dpassim=disabled \
%if %{with efi_fw_update}
-Dplugin_uefi_capsule=enabled \
-Dplugin_uefi_pk=enabled \
-Defi_binary=false \
-Dcompat_cli=true \
%else
-Dplugin_uefi_capsule=false \
-Dplugin_uefi_pk=false \
@ -256,6 +253,8 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE"
-Ddocs=enabled \
-Dsupported_build=enabled \
-Dtests=false \
-Dvalgrind=disabled \
-Dvendor_ids_dir=/usr/share/hwdata \
%ifarch s390x ppc64le
-Dplugin_flashrom=disabled \
%endif
@ -269,11 +268,6 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE"
%install
%meson_install
# Add SUSE specific rcfoo service symlink
mkdir -p %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcfwupd-offline-update
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcfwupd-refresh
%find_lang %{name}
%fdupes -s %{buildroot}%{_datadir}/doc
@ -297,38 +291,28 @@ rm -fr %{buildroot}%{_datadir}/fish
%ldconfig_scriptlets -n libfwupd%{shlib_sover}
%preun
%service_del_preun %{name}.service fwupd-offline-update.service fwupd-refresh.service
%service_del_preun %{name}.service fwupd-refresh.service
%pre
%service_add_pre %{name}.service fwupd-offline-update.service fwupd-refresh.service
%service_add_pre %{name}.service fwupd-refresh.service
%post
%udev_rules_update
%service_add_post %{name}.service fwupd-offline-update.service fwupd-refresh.service
%service_add_post %{name}.service fwupd-refresh.service
%postun
%service_del_postun %{name}.service fwupd-offline-update.service fwupd-refresh.service
%service_del_postun %{name}.service fwupd-refresh.service
%files
%license COPYING
%doc README.md
%{_unitdir}/fwupd.service
%{_unitdir}/fwupd-offline-update.service
%dir %{_unitdir}/system-update.target.wants/
%{_unitdir}/system-update.target.wants/fwupd-offline-update.service
%{_unitdir}/fwupd-refresh.service
%{_unitdir}/fwupd-refresh.timer
%{_libexecdir}/fwupd
%{_bindir}/fwupdmgr
%{_bindir}/fwupdtool
%if %{with efi_fw_update}
%{_bindir}/fwupdagent
%{_bindir}/fwupdate
%endif
%{_bindir}/dbxtool
%{_sbindir}/rc%{name}
%{_sbindir}/rcfwupd-offline-update
%{_sbindir}/rcfwupd-refresh
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
@ -376,7 +360,6 @@ rm -fr %{buildroot}%{_datadir}/fish
%dir %{_sysconfdir}/grub.d
%{_sysconfdir}/grub.d/35_fwupd
%endif
%{_udevrulesdir}/90-fwupd-devices.rules
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
%{_datadir}/icons/hicolor/*
@ -392,14 +375,6 @@ rm -fr %{buildroot}%{_datadir}/fish
%{_datadir}/%{name}/quirks.d/builtin.quirk.gz
%_sysusersdir/fwupd.conf
%if %{with efi_fw_update}
%files -n dfu-tool
%{_bindir}/dfu-tool
%if 0%{?docs}
%{_mandir}/man1/dfu-tool.1%{?ext_man}
%endif
%endif
%files -n libfwupd%{shlib_sover}
%{_libdir}/libfwupd.so.*
@ -410,7 +385,7 @@ rm -fr %{buildroot}%{_datadir}/fish
%{_datadir}/gir-1.0/Fwupd-2.0.gir
%{_datadir}/vala/vapi/fwupd.deps
%{_datadir}/vala/vapi/fwupd.vapi
%{_includedir}/fwupd-1/
%{_includedir}/fwupd-3/
%{_libdir}/pkgconfig/fwupd.pc
%{_libdir}/libfwupd.so

View File

@ -1,21 +0,0 @@
Index: fwupd-1.7.2/data/fwupd-offline-update.service.in
===================================================================
--- fwupd-1.7.2.orig/data/fwupd-offline-update.service.in
+++ fwupd-1.7.2/data/fwupd-offline-update.service.in
@@ -8,6 +8,16 @@ After=sysinit.target system-update-pre.t
Before=shutdown.target system-update.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=oneshot
ExecStart=@libexecdir@/fwupd/fwupdoffline
FailureAction=reboot

View File

@ -1,18 +0,0 @@
Index: fwupd-1.9.10/data/motd/fwupd-refresh.service.in
===================================================================
--- fwupd-1.9.10.orig/data/motd/fwupd-refresh.service.in
+++ fwupd-1.9.10/data/motd/fwupd-refresh.service.in
@@ -14,5 +14,13 @@ SystemCallFilter=~@mount
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictRealtime=yes
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelLogs=true
+# end of automatic additions
SuccessExitStatus=2
ExecStart=@bindir@/fwupdmgr refresh