SHA256
1
0
forked from pool/fwupd

Accepting request 855909 from home:gary_lin:branches:Base:System

remove Block.HintSystem from ESP filtering (bsc#1179790)

OBS-URL: https://build.opensuse.org/request/show/855909
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=95
This commit is contained in:
Marcus Meissner 2020-12-15 06:27:21 +00:00 committed by Git OBS Bridge
parent d362126c9e
commit 6db12316c2
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,21 @@
commit c60e58b2cfa277950cce80c3a4d33a0faaa90f20
Author: Richard Hughes <richard@hughsie.com>
Date: Mon Dec 14 09:36:46 2020 +0000
Do not use the Block.HintSystem boolean for ESP filtering
Fixes https://github.com/fwupd/fwupd/issues/2676
diff --git a/libfwupdplugin/fu-common.c b/libfwupdplugin/fu-common.c
index a3cc2d82..2e25095f 100644
--- a/libfwupdplugin/fu-common.c
+++ b/libfwupdplugin/fu-common.c
@@ -2463,8 +2463,6 @@ fu_common_get_esp_default (GError **error)
g_autofree gchar *type = fu_volume_get_id_type (vol);
if (type == NULL)
continue;
- if (!fu_volume_is_internal (vol))
- continue;
if (g_strcmp0 (type, "vfat") == 0)
g_ptr_array_add (volumes_vfat, vol);
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 14 09:58:47 UTC 2020 - Gary Ching-Pang Lin <glin@suse.com>
- Add fwupd-bsc1179790-disable-hintsystem.patch to remove
Block.HintSystem from ESP filtering (bsc#1179790)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 09 07:53:07 UTC 2020 - glin@suse.com Wed Dec 09 07:53:07 UTC 2020 - glin@suse.com

View File

@ -44,6 +44,8 @@ Source: %{name}-%{version}.tar.xz
Patch1: fwupd-bsc1130056-change-shim-path.patch 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 # 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 Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch
# PATCH-FIX-UPSTREAM fwupd-bsc1179790-disable-hintsystem.patch bsc#1179790 glin@suse.com Do not use the Block.HintSystem boolean for ESP filtering
Patch3: fwupd-bsc1179790-disable-hintsystem.patch
BuildRequires: dejavu-fonts BuildRequires: dejavu-fonts
%if %{with fish_support} %if %{with fish_support}