SHA256
1
0
forked from pool/fwupd

Accepting request 703101 from Base:System

OBS-URL: https://build.opensuse.org/request/show/703101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2019-05-25 11:14:15 +00:00 committed by Git OBS Bridge
commit 975ea00237
8 changed files with 256 additions and 217 deletions

View File

@ -4,11 +4,11 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
<param name="revision">refs/tags/1.2.3</param> <param name="revision">refs/tags/1.2.8</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">xz</param>
</service> </service>
<service name="set_version" mode="disabled"/> <service name="set_version" mode="disabled"/>
</services> </services>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/hughsie/fwupd.git</param> <param name="url">https://github.com/hughsie/fwupd.git</param>
<param name="changesrevision">36a5b8f7a26b881dd41cca2466618d5a29796a45</param></service></servicedata> <param name="changesrevision">828c913e37ef9af283afb7f13b04459cd199c887</param></service></servicedata>

View File

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

3
fwupd-1.2.8.tar.xz Normal file
View File

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

View File

@ -1,74 +0,0 @@
From 89552eec34eccda2d119465370d07be9fa53092e Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Thu, 28 Mar 2019 16:20:22 +0800
Subject: [PATCH] uefi: add a new option to specify the os name
fu_uefi_get_esp_path_for_os() generates the path to the OS directory
based on "ID" in /etc/os-release, and it may not work for some distros.
Take openSUSE as an example, the "ID" for openSUSE Leap is
"opensuse-leap" and that for openSUSE Tumbleweed is "opensuse-tumbleweed".
However, both of them use the same OS directory in the ESP, i.e.
"/EFI/opensuse".
This commit adds a new build option, efi_os_dir, to allow the packager to
specify the name of OS directory at build time instead of the runtime
detection.
Signed-off-by: Gary Lin <glin@suse.com>
---
meson_options.txt | 1 +
plugins/uefi/fu-uefi-common.c | 4 ++++
plugins/uefi/meson.build | 5 +++++
3 files changed, 10 insertions(+)
diff --git a/meson_options.txt b/meson_options.txt
index 889a888e..5d4163e8 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -28,3 +28,4 @@ option('efi-ld', type : 'string', value : 'ld', description : 'the linker to use
option('efi-libdir', type : 'string', description : 'path to the EFI lib directory')
option('efi-ldsdir', type : 'string', description : 'path to the EFI lds directory')
option('efi-includedir', type : 'string', value : '/usr/include/efi', description : 'path to the EFI header directory')
+option('efi_os_dir', type: 'string', description : 'the name of OS directory in ESP')
diff --git a/plugins/uefi/fu-uefi-common.c b/plugins/uefi/fu-uefi-common.c
index aa1d1105..fadb469f 100644
--- a/plugins/uefi/fu-uefi-common.c
+++ b/plugins/uefi/fu-uefi-common.c
@@ -246,6 +246,7 @@ gchar *
fu_uefi_get_esp_path_for_os (const gchar *esp_path)
{
const gchar *os_release_id = NULL;
+#ifndef EFI_OS_DIR
g_autoptr(GError) error_local = NULL;
g_autoptr(GHashTable) os_release = fwupd_get_os_release (&error_local);
if (os_release != NULL) {
@@ -255,6 +256,9 @@ fu_uefi_get_esp_path_for_os (const gchar *esp_path)
}
if (os_release_id == NULL)
os_release_id = "unknown";
+#else
+ os_release_id = EFI_OS_DIR;
+#endif
return g_build_filename (esp_path, "EFI", os_release_id, NULL);
}
diff --git a/plugins/uefi/meson.build b/plugins/uefi/meson.build
index fd1b3976..8b742864 100644
--- a/plugins/uefi/meson.build
+++ b/plugins/uefi/meson.build
@@ -3,6 +3,11 @@ subdir('efi')
cargs = ['-DG_LOG_DOMAIN="FuPluginUefi"']
cargs += '-DEFI_APP_LOCATION_BUILD="' + app.full_path() + '"'
+efi_os_dir = get_option('efi_os_dir')
+if efi_os_dir != ''
+ cargs += '-DEFI_OS_DIR="' + efi_os_dir + '"'
+endif
+
install_data(['uefi.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
--
2.21.0

View File

@ -14,16 +14,15 @@ diff --git a/plugins/uefi/fu-uefi-bootmgr.c b/plugins/uefi/fu-uefi-bootmgr.c
index 7bec311..22357d4 100644 index 7bec311..22357d4 100644
--- a/plugins/uefi/fu-uefi-bootmgr.c --- a/plugins/uefi/fu-uefi-bootmgr.c
+++ b/plugins/uefi/fu-uefi-bootmgr.c +++ b/plugins/uefi/fu-uefi-bootmgr.c
@@ -319,7 +319,8 @@ fu_uefi_bootmgr_bootnext (const gchar *esp_path, FuUefiBootmgrFlags flags, GErro @@ -322,7 +322,8 @@
return FALSE; return FALSE;
/* test to make sure shim is there if we need it */ /* test to make sure shim is there if we need it */
- shim_app = fu_uefi_get_esp_app_path (esp_path, "shim", error); - shim_app = fu_uefi_get_esp_app_path (esp_path, "shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi", + shim_app = g_strdup_printf ("%s/shim.efi",
+ fu_uefi_get_esp_path_for_os (esp_path)); + fu_uefi_get_esp_path_for_os (esp_path));
if (shim_app == NULL) if (shim_app == NULL)
return FALSE; return FALSE;
if (!g_file_test (shim_app, G_FILE_TEST_EXISTS)) { if (g_file_test (shim_app, G_FILE_TEST_EXISTS)) {
--
2.21.0 2.21.0

View File

@ -1,3 +1,243 @@
-------------------------------------------------------------------
Wed May 8 10:39:24 UTC 2019 - Maurizio Galli <maurizio.galli@gmail.com>
- Update to version 1.2.8:
* Don't upload reports when the user has configured their system in a broken way
* Allow setting the daemon verbose domains at runtime
* Allow fwupdmgr to modify the daemon config
* Do not compare version formats when the release format is unknown
* Do not fall back integers to a plain version format
* Use the device version format when converting the release version
* Set the VersionFormat using the metadata or the UEFI quirk
- Changes from version 1.2.7:
* l10n: Create Lithuanian translation file
* l10n: Update LINGUAS
* Updated: Add support for 8BitDo M30.
* modem-manager: increase the timeout to wait for modem after uninhibited
* modem-manager: implement qmi pdc active config selection as attach()
* fu-engine: When removing activation flag match the correct version
* Require --force to install a release with a different version format
* Match the old or new version number when setting NEEDS_REBOOT
* Make an error message clearer when there are no updates available
* Add support for the not-child extension from Logitech
* thunderbolt: Set require-ac for Thunderbolt devices
(Fixes: gh#hughsie/fwupd#1142)
* Fix some typos spotted using codespell
* Add a component categories to express the firmware type
* fu-tool: Port get-history command to fwupdtool
* Recreate the history database if migration failed
* Move the core built-in 'fwupd' remote over to the dell-esrt plugin
* snap: Add a custom systemd unit to call activation on shutdown
(Fixes: gh#hughsie/fwupd#1125)
* ata: Flush cache before standby and activate
* synapticsmst: blacklist plugin when using amdgpu
(Fixes: gh#hughsie/fwupd#1121)
* uefi: add a new option to specify the os name
* Return the newest device when using fu_history_get_device_by_id()
* uefi: More carefully check the output from tpm2_pcrlist
* uefi: Don't overwrite CustomFlags if set from a quirk
* Shut down the daemon if the on-disk binary is replaced
* ata: Correct activation functionality
* Fix version comparisons after reboot for some formats
* fu-tool: save history from stuff installed with `fwupdtool`
- Changes from version 1.2.6:
* ata: send ATA standby immediate when activating firmware
* offline: Be more graceful when dealing with Plymouth failures
* Save the new version in the history database for offline updates
* Show the DeviceID when showing the updates list
* Allow forcing an offline-only update on a live system using --force
* Do not schedule an update on battery power if it requires AC power
* superio: Add InstallDuration default value
* superio: Add support for writing new e-flash contents
* superio: Fix reading the attestation checksum
* superio: Add support for reading the device checksum
* superio: Use the chipset ID in the device name
* superio: Move the device flush before getting the register map
* superio: Move all the IT89xx code to a subclassed device object
* superio: Move all the IT85xx code to a subclassed device object
* superio: Split and export fu_superio_device_ec_writeX()
* superio: Remove the port from fu_superio_device_ec_read()
* superio: Move the register read/write into the FuSuperioDevice object
* superio: Check the IOBAD0 is usable during setup
* superio: Use fu_device_set_firmware_size()
* superio: Move some constants out to the common header
* superio: Use GObject properties in FuSuperioDevice
* superio: Convert FuSuperioDevice to be derivable
* Update Plymouth when updating pending firmware
* Ask to reboot after scheduling an offline firmware update
* Do not fail when scheduling more than one update to be run offline
* Allow running offline updates when in system-update.target
* Fix the location of fwupdoffline in the service file
* Add optional vfuncs to allow detaching and attaching verify()
* superio: Add list of SPI commands for future usage
* Add a verify-update command to fwupdtool
* uefi: Actually upload the UPDATE_INFO entry for the UX capsule
* superio: Get the chip size from the EC rather than hardcoding
* uefi: Check the error code of QueryCapsuleCapabilities() correctly
* Update the UEFI UX Capsule Header checksum when needed.
* uefi: Copy the shimx64.efi binary for known broken firmware
* Correctly get the check the new version for devices that replug
* Add a simple script to add a capsule header
* Ensure the PKCS-7 client certificate exists at startup
* fix makecab directive options
* fwpup.service: use display-manager.service instead of gdm.service
* Allow signing the fwupd report with the client certificate
* Add a D-Bus method to generate a signature using the self-signed client certificate
* Allow signing and verifying data using a PKCS-7 self-signed client certificate
* Fix a critical warning when loading a PKCS-7 certificate with no DN
* Include all device checksums in the LVFS report
* modem-manager: Fix a trivial build warning
* superio: Fix a trivial build warning
* Move out the offline update functionality to a new binary
* Do not reboot when failing to start fwupd during offline updates
* Do not write the schema version to the db when loading
* Do not recreate XbSilo caches when running on a readonly filesystem
* Add the fwupdagent binary for use in shell scripts
* Allow restricting firmware updates for enterprise use
* standalone-installer: new --allow-older and --allow-reinstall options
* Show the upgrade and downgrade flags when getting releases for a device
* Rename FwupdRelease:trust-flags to FwupdRelease:flags
* fu-tool: Save device state to @LOCALSTATEDIR@/lib/fwupd/state.json on actions
* modem-manager: implement support for qmi-pdc
* Add a plugin to support ModemManager hardware
* fu-tool: Don't let failing to find dbus prevent engine from starting
* ata: Support delayed activation
* dell-dock: Use activation when calling fwupdtool activate
* Add a support for delayed activation
* uefi: Fix the self tests when running on Fedora SilverBlue
* Do not fail to start the daemon if tpm2_pcrlist hangs
* po/make-images.sh: quote LOCALEDIR and PYTHON3
* meson: print stderr of python3 command instead of stdout
* Revert "contrib/debian: Switch to debian unstable"
* Add elogind support
- Changes from version 1.2.5:
* uefi: fix segfault in fwup_set_update_statuses
* Show in Flathub correctly
* debian: explicitly depend on shared-mime-info
* superio: Implement detach() and attach()
* superio: Correct the names of some constants and improve debugging support
* dell-dock: Filter the last supported payloads of certain board 4 SKUs
* circleci: Manage the lifecycle of the snap
* Add support to run snap build in CircleCI
* wacom-usb: Use the correct buffer format for the touch module
* wacom-usb: Set the install duration for each device type
* wacom-usb: Return with an error if there were too many retries
* wacom-usb: Make updating less verbose
* Convert all child instance IDs when converting the parent
* uefi: Allow devices to create more complete fake UEFI devices
* unifying: Fix regression when recovering from failed flash
* Ensure libxmlb dir exists for LGTM.com
* Add C build configuration for LGTM.com
* Use G_BEGIN_DECLS correctly for internal headers
* standalone-installer: Fix issue found by LGTM
* Use '#pragma once' to avoid a lot of boilerplate
* Force LGTM to see Python 3
* fwupd: Hide firmware-packager behind meson option`
* fu-common-cab: Correct handling of CAB files w/ nested directories and older libgcab
* Fix a regression in using the InstanceIDs for quirk matching
* thunderbolt: Convert the instance IDs as we never open the device
* udev: Manally call fu_device_setup() to convert the instance IDs
* fu-tool: Correct a crash caused by calling fwupdtool update
* fu-tool: Don't fail if dbus is unavailable
* contrib/debian: Switch to debian unstable
* wacom-usb: Record the block number when failing
* wacom-usb: The touch address is big endian
* wacom-usb: Accept a non-binary IHEX file for the touch update
* wacom-usb: Only poll when the device status is 'busy'
* wacom-usb: Only reboot the device when all composite devices have been updated
* wacom-usb: Fix flashing failure with latest Intuos Pro tablet
* dfu: Fill holes when reading SREC files
* Add fwupd_guid_from_string() to drop dep on uuid
* wacom-raw: Check the InstanceID rather than GUID
* Defer the InstanceID->GUID hashing until after setup
* ata: Check for USB enclosures as well
* Do not use efivar just to print a mixed endian GUID
* Add fu_device_add_instance_id() and prefer explicit conversion
* Report the DeviceInstanceIDs to `fwupdmgr get-updates`
* Export some of the GUID functionality
* Allow a plugin to set _ANOTHER_WRITE_REQUIRED to run more than one plugin
* nvme: Add an extra check for Dell plugins to avoid false positives
* ata: Add support for detecting Dell GUIDs
* Fix the self tests when using glib2 >=2.59.0
* Add support to call composite prepare and cleanup using fwupdtool
* uefi: Disable -Wno-address-of-packed-member
* uefi: Don't unconditionally enable Werror for the EFI binary
* Disable -Wno-address-of-packed-member
- Changes from version 1.2.4:
* Remove the autogenerated headers in the gettext files
* ata: Default to the non-activation 0xE subcommand
* fastboot: Use a much longer timeout as the removal delay
* fu-progressbar: be more quiet when running non-interactive
* fu-tool: Show UpdateMessage if applicable for install command
* dfu: Simplify the SREC parser to avoid a crash with an invalid file
* wacom-raw: Use the correct error codes when the panel is not supported
* wacom-usb: Add some more information to the README
* fu-keyring-utils: Don't fail missing PKI directory when compiled with GPG/PKCS7
* dell: Check that the flash interface command is available
* wacom-usb: Fix the plugin name to allow devices to be updated
* fastboot: flash the partition after downloading the file
* uefi: Add a quirk to use the legacy bootmgr description
* ata: Mark all devices as needing a reboot
* ata: Add a new plugin to upgrade firmware on ATA/ATAPI hardware
* udev-device: Add a utility function for debugging
* udev-device: Set the firmware revision automatically
* udev-device: Set the serial number automatically
* udev-device: Fall back to non-database model and vendor values
* udev-device: Fix critical warning if the device has no parent
* dell-dock: Add support for a passive flow
* Add support for an `UpdateMessage` and display it in tools
* fu-tool: Port the `get-updates` command over
* When using `directory` remote type automatically generate metadata
* libfwupd: Add support for new remote type "directory"
* Ensure cabinet archives always have a container checksum
* Add support for a per-release source and details URL
* When generating a CAB Silo use the prefix "components"
* uefi: Add a trivial debugging statement to debug a UX capsule failure
* uefi: Use fwup_new0() to allocate the updates table array
* nitrokey: Correct Nitrokey Storage invalid firmware version read
* dell-dock: Add support for flashing Thunderbolt over I2C
* wacom-raw: Add a plugin to update Wacom embedded EMR and AES panels
* fu-util/fu-tool: sync up reboot and shutdown behavior
* dfu: Ignore the SUB ASCII value
* dfu: Fix the parser to support extended segment addresses
* dfu: Support ihex files with leading comments
don't show an error
* uefi: Correct a boot order creation bug (Fixes: gh#hughsie/fwupd#956)
* uefi: Remove all variable length arrays
* uefi: Fix a logic bug in fwup_search_file()
* uefi: Use _cleanup_free in one more place
* uefi: Do not pass required attrs to fwup_delete_variable()
* uefi: Delete the old Linux-Firmware-Updater boot entry
* uefi: Use the GNU-EFI BOOL type
* Check if plugin changed after the device attaches or detaches
* uefi: Refactor and simplify the EFI loader
* Show a console warning if loading an out-of-tree plugin
* UEFI: Do the UX checksum calculation in fwupd
* wacom-usb: Add two more Intuos tablets
* nvme: Add the needs-shutdown quirk to Phison NVMe drives
* Add _NEEDS_SHUTDOWN flag for devices
* Use GCC __cleanup__ features in the EFI loader
* nvme: Add flag to support manually aligning the firmware to the FWUG value
* nvme: Support FGUID to get the SKU GUID
* nvme: Support FWUG to get the write block size
* nvme: Add trivial comment to clarify address bitshifting
* uefi: Do not check the BGRT status before uploading a UX capsule
* dfu: Fix flashing various Jabra devices
* upower: Add support for checking battery percentage
* nvme: Check the return code of the admin passthru ioctl
* fu-tool: Add support for an 'update' command to fwupdtool
* dell-dock: Set minimum board to board 4
* dell-dock: Workaround a manufacturing bug for board level 4
* dell-dock: Wait longer for re-enumeration on TBT SKU
* superio: Support IT89xx devices
* fu-main: remove incompatible locale error message
* Add a new plugin checklist (Fixes: gh#hughsie/fwupd#899)
- Dropped obsolete patch: fwupd-bsc1130056-change-esp-os-name.patch
(upstream PR: gh#hughsie/fwupd#1119
- Fixed fwupd-bsc1130056-change-shim-path.patch so that it works
with the new files
- Cleaned up changelog
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 3 15:53:17 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> Fri May 3 15:53:17 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
@ -24,27 +264,18 @@ Thu Jan 10 09:14:45 UTC 2019 - bjorn.lie@gmail.com
- Update to version 1.2.3: - Update to version 1.2.3:
* Correctly migrate the history database * Correctly migrate the history database
* trivial: Add some debugging data to wacom-usb
- Changes from version 1.2.2: - Changes from version 1.2.2:
* Log an error if started with an incompatible locale * Log an error if started with an incompatible locale
* Fix building with -Wl,-z,defs * Fix building with -Wl,-z,defs
* ebitdo: Fix the reported version number if the daemon locale is * ebitdo: Fix the reported version number if the daemon locale is
not C.UTF-8 not C.UTF-8
* Add Dell TB18DC to the known devices list * Add Dell TB18DC to the known devices list
* trivial: Don't show 'Update Duration: 49710 days'
* Allow replacing the last byte in the image when using 'dfu-tool * Allow replacing the last byte in the image when using 'dfu-tool
replace-data' replace-data'
* trivial: Fix an error code if a search string is unfound
* trivial: Fix a memory leak if dfu-tool returns with an error
* trivial: Check the GUID length before attempting to parse it
* Check the device checksum as well as the content checksum * Check the device checksum as well as the content checksum
during verify during verify
* Submit the device firmware checksum and update protocol in the * Submit the device firmware checksum and update protocol in the
submitted report submitted report
* trivial: Don't invalidate the current checksums for fw that
requries a reboot
* trivial: Clear the device checksums only if the plugin
implements verify()
* Include the device checksum and update protocol in the * Include the device checksum and update protocol in the
historydb historydb
* uefi: Add the PCR0 value as the device checksum for system * uefi: Add the PCR0 value as the device checksum for system
@ -53,124 +284,67 @@ Thu Jan 10 09:14:45 UTC 2019 - bjorn.lie@gmail.com
* Allow plugins to define support for a 'well-known' protocol * Allow plugins to define support for a 'well-known' protocol
* uefi: When adding headers set the header size to 4k * uefi: When adding headers set the header size to 4k
* uefi: Append the header on capsules without headers from Linux * uefi: Append the header on capsules without headers from Linux
* trivial: uefi: correct a logic error in setting variable
* trivial: dell-dock: Correct variable for turning off HDCP 2.2
* flashrom: Ensure the quirks database is set on the new object * flashrom: Ensure the quirks database is set on the new object
* uefi: Do not add devices with invalid GUIDs * uefi: Do not add devices with invalid GUIDs
* Do not allow a GUID of zero * Do not allow a GUID of zero
* Add shared functionality for reading and writing with * Add shared functionality for reading and writing with
O_NONBLOCK O_NONBLOCK
* Only run attach and detach if the device is in the wrong mode * Only run attach and detach if the device is in the wrong mode
* trivial: snap: move to efivar 37
* trivial: Add fu_common_dump_raw()
* Sanitize the version if the version format has been specified * Sanitize the version if the version format has been specified
* wacom-usb: Remove the DTH generation hardware as it will not * wacom-usb: Remove the DTH generation hardware as it will not
work with fwupd work with fwupd
* trivial: Add a snap badge for fwupd
* trivial: dell-dock: reverse MST update order for I2C
* thunderbolt: Remove a superfluous boundary condition when * thunderbolt: Remove a superfluous boundary condition when
verifying update verifying update
* Add a plugin to update hardware that supports fastboot * Add a plugin to update hardware that supports fastboot
* trivial: Speed up daemon startup
* Fix a regression when doing GetReleases on unsupported hardware * Fix a regression when doing GetReleases on unsupported hardware
* trivial: Document the expected plugin firmware formats
* dfu: Require a specific USB class and subclass for DFU mode * dfu: Require a specific USB class and subclass for DFU mode
* Correctly parse format the version numbers correctly using old * Correctly parse format the version numbers correctly using old
metadata metadata
* trivial: Correctly calculate the erase length for all locales
* amt: Fix a crash if AMT returns an empty response * amt: Fix a crash if AMT returns an empty response
* Check plugins set error on failure * Check plugins set error on failure
* contrib: Add a simple python3 client * contrib: Add a simple python3 client
* trivial: Allow loading archives ignoring the path
* installed-tests: Adjust to actually use a remote for installed * installed-tests: Adjust to actually use a remote for installed
tests tests
* Add more standard USB identifier GUIDs * Add more standard USB identifier GUIDs
* wacomhid: Rename to wacom-usb * wacomhid: Rename to wacom-usb
* trivial: Allow calling fu_device_has_guid() with non-GUID text
* trivial: Don't ask translators to translate the release notes
* trivial: Update two release note typos
* Provide a way for plugins to decompress a custom archive to ram * Provide a way for plugins to decompress a custom archive to ram
- Changes from version 1.2.1: - Changes from version 1.2.1:
* trivial: dell-dock: Set EC version to daemon before EC reset
* trivial: dell-dock: fail when EC indicates flashing an
invalid/unsigned image
* trivial: Fix regression when switching to indexed strings
* Remove DaemonVersionFormat=quad * Remove DaemonVersionFormat=quad
* Shut down the daemon after 2h of inactivity * Shut down the daemon after 2h of inactivity
* Create a silo index to speed up GUID queries * Create a silo index to speed up GUID queries
* trivial: Move the release descriptions to the metainfo.xml file
* Fix flashing the 8bitdo SF30 * Fix flashing the 8bitdo SF30
* trivial: Do a single query when getting a component by a set of
GUIDs
* trivial: Add InstallDuration values for 8bitdo devices
* trivial: Add InstallDuration values for Unifying devices
* trivial: Add InstallDuration values for ColorHug devices
* Speed up fwupd startup by loading less thunderbolt firmware * Speed up fwupd startup by loading less thunderbolt firmware
* trivial: Fix some function prefixes for Thunderbolt
* trivial: Do not show all the HWIDs at daemon startup
* Query the XbSilo when calling fu_plugin_check_supported() * Query the XbSilo when calling fu_plugin_check_supported()
* trivial: Remove unused functionality
* trivial: Mark GParamSpec values as static to reduce RSS
* Guess the version format when it is not provided * Guess the version format when it is not provided
* Fix a use-after-free when using valgrind and --immediate-exit * Fix a use-after-free when using valgrind and --immediate-exit
* trivial: Add quirk documentation
* Add per-release install duration values * Add per-release install duration values
* trivial: Create an empty tree before tests start
* trivial: Fix a possible critical warning when parsing invalid
metadata
* Fix showing the custom remote agreements * Fix showing the custom remote agreements
* trivial: Only include a single language in the metainfo silo
* Be more explicit setting the update state * Be more explicit setting the update state
* Include the os-release information in the release metadata * Include the os-release information in the release metadata
* trivial: Store the AppStream component metadata correctly
* trivial: ci: fix flatpak build
* trivial: Drop the libxmlb insertion into the flathub manifest
* trivial: Relax the timing requirements on the FuDevice poll
test
* trivial: Document the GUID generation scheme
* trivial: Sync example spec file with downstream
* trivial: Bump meson dependency to 0.47.0
* trivial: post release version bump
- Changes from version 1.2.0: - Changes from version 1.2.0:
* trivial: Fix some NULL/FALSE confusion
* trivial: Fix a typo in the verification store export
* ebitdo: remove SF30/SN30 pro device ids * ebitdo: remove SF30/SN30 pro device ids
* dell-dock: Drop delayed MST callback routine * dell-dock: Drop delayed MST callback routine
* trivial: Fix some NULL/FALSE confusion
* synapticsmst: Adjust EVB board handling * synapticsmst: Adjust EVB board handling
* synapticsmst: Remove the content checking of firmware * synapticsmst: Remove the content checking of firmware
* synapticsmst: Access Board ID through memory instead In * synapticsmst: Access Board ID through memory instead In
firmware images HDCP 2.2 will be enabled by default,so access firmware images HDCP 2.2 will be enabled by default,so access
to flash region will fail. to flash region will fail.`
* trivial: fu-tool: Try to stop systemd even if not compiled with
systemd
* trivial: fu-tool: use `g_variant_unref` instead of
`g_object_clear`
* contrib: Adjust flatpak build for moving to flathub * contrib: Adjust flatpak build for moving to flathub
* dell-dock: Prefer to flash VMM5331 via I2C instead of DP aux * dell-dock: Prefer to flash VMM5331 via I2C instead of DP aux
* trivial: fu-engine: Increase the priority on a device if it has
children
* trivial: fu-device-list: Return devices by priority
* Use HTTPS_PROXY if set * Use HTTPS_PROXY if set
* firmware-packager: Make it clearer to use * firmware-packager: Make it clearer to use
* Sort the firmware sack by component priority * Sort the firmware sack by component priority
* flatpak: Update gnu-efi to latest version * flatpak: Update gnu-efi to latest version
* trivial: dell-dock: Lower MST communication speed to 400 KHz
* trivial: debian: Make control file statement more generic
* trivial: snap: Use libxmlb subproject instead
* amt: Set the full device version including the BuildNum * amt: Set the full device version including the BuildNum
* fwupdmgr/fwupdtool: Move monitor command to fwupdtool * fwupdmgr/fwupdtool: Move monitor command to fwupdtool
* fwupdmgr/fwupdtool: Move firmware builder from fwupdmgr to * fwupdmgr/fwupdtool: Move firmware builder from fwupdmgr to
fwupdtool fwupdtool
* trivial: Add VersionFormat to the fu_device_to_string() output
* Add version format quirks for several Lenovo machines * Add version format quirks for several Lenovo machines
* uefi: Set the quirks on created devices * uefi: Set the quirks on created devices
* trivial: Add yet another version encoding
* dell_dock: Use correct offset for finding version of MST * dell_dock: Use correct offset for finding version of MST
* dell-dock: Add missing unlock call for MST via dell_dock plugin * dell-dock: Add missing unlock call for MST via dell_dock plugin
* Support the Intel ME version format * Support the Intel ME version format
* Port from libappstream-glib to libxmlb * Port from libappstream-glib to libxmlb
* trivial: Rename a function to better explain what it does
* Bump requirement to meson 0.46.0 * Bump requirement to meson 0.46.0
* fu-main: Catch SIGTERM while update is in progress * fu-main: Catch SIGTERM while update is in progress
* fu-tool: Stop any running daemon over dbus before loading * fu-tool: Stop any running daemon over dbus before loading
@ -181,109 +355,49 @@ Thu Jan 10 09:14:45 UTC 2019 - bjorn.lie@gmail.com
* Readme Updated: Added KDE Discover as one more graphical * Readme Updated: Added KDE Discover as one more graphical
front-end available for fwupd. front-end available for fwupd.
* dell-dock: Correct a situation that error wasn't propagating * dell-dock: Correct a situation that error wasn't propagating
* trivial: snap: drop the stable symlink
* trivial: snap: Swap the type of snap/snapcraft.yaml to be a
real file
* trivial: bump master to 1.2.0
* Don't segfault if a plugin returns FALSE from UpdateFunc with * Don't segfault if a plugin returns FALSE from UpdateFunc with
no error set no error set
* dell-dock: Use different debug strings for each device type * dell-dock: Use different debug strings for each device type
* trivial: Remove some pretty intense debugging that crept in
* dell-dock: Don't use the VLA feature in the new dock * dell-dock: Don't use the VLA feature in the new dock
* trivial: Do not allow VLA features in plugins
* Add a plugin for an upcoming Dell USB-C dock * Add a plugin for an upcoming Dell USB-C dock
* contrib: Add information on how to use debugging scripts * contrib: Add information on how to use debugging scripts
* trivial: Hardcode the AppStream-glib version
* trivial: Don't care so much about the AppStream-glib version
* Allow setting the version format from a quirk entry * Allow setting the version format from a quirk entry
* Don't use AppStream-glib for string helpers * Don't use AppStream-glib for string helpers
* Don't use AppStream-glib for version helpers * Don't use AppStream-glib for version helpers
* Don't use AppStream-glib for the GUID helpers * Don't use AppStream-glib for the GUID helpers
* trivial: Don't use AppStream-glib in libfwupd
* trivial: Remove unused header
* fu-device: Ensure that parent ID is created before creating * fu-device: Ensure that parent ID is created before creating
quirked children quirked children
* trivial: libfwupd: correct documentation for
fwupd_device_set_install_duration
* trivial: correct a memory leak of the FuDevice when replugging
* Update all sub-devices for a composite update * Update all sub-devices for a composite update
* Stop showing the current release during updates in fwupdmgr * Stop showing the current release during updates in fwupdmgr
* uefi: Move the TPM unlocking functionality from the Dell to * uefi: Move the TPM unlocking functionality from the Dell to
UEFI plugin UEFI plugin
* Run the Dell plugin initialization after the UEFI plugin * Run the Dell plugin initialization after the UEFI plugin
* trivial: Add ESP path into fu_uefi_device_to_string()
* thunderbolt-power: Fix possible linker problem * thunderbolt-power: Fix possible linker problem
* trivial: Sync the flatpak manifest with the one from flathub
* trivial: Be more explicit when building the snap packages
* trivial: Include libuuid specifically on Centos
* trivial: Be more explicit when building on Centos
* trivial: Be more explicit when building the Arch package
* trivial: nvme: Allow quirking the NVME write block size
* Allow firmware files to depend on versions from other devices * Allow firmware files to depend on versions from other devices
* trivial: fu-engine: downgrade couldn't find new device message
to debug
* trivial: Show a critical warning rather than crashing
* fu-debug: Redirect all debugging output to stderr instead of * fu-debug: Redirect all debugging output to stderr instead of
stdout stdout
* trivial: synapticsmst: clarify some error flows
* synapticsmst: Adjust panamera ESM update routine for some * synapticsmst: Adjust panamera ESM update routine for some
reported issues reported issues
* trivial: synapticsmst: downgrade remote control retry statement
to debug
* trivial: Update FU_DEVICE_REMOVE_DELAY_USER_REPLUG from 20s to
40s
* fu-engine: Optionally wait for replug before updating a device * fu-engine: Optionally wait for replug before updating a device
* fu-device-list: Use delayed device removal when removing the * fu-device-list: Use delayed device removal when removing the
tree tree
* thunderbolt: Use replugging from the daemon * thunderbolt: Use replugging from the daemon
* trivial: device-list: Correct a minor logic error
* Add support for devices to show an estimated flash time * Add support for devices to show an estimated flash time
* Marked some CL options for translation * Marked some CL options for translation
* trivial: uefi: Only set EFI variables on real systems
* trivial: wacom: correct some errors caught by static analysis
* trivial: dell: Assert true in self tests
* trivial: amt: correct a situation that might overwrite error
* trivial: amt: correct a potential lack of error
* ci: Run clang static analysis for Ubuntu build rather than just * ci: Run clang static analysis for Ubuntu build rather than just
clang compiler clang compiler
* trivial: standalone: Check argument make sense with command
* trivial: standalone: If missing flatpak dependencies, download
them
* trivial: Fix a tiny memory leak on startup
* nvme: Initialize the buffer before reading the contents * nvme: Initialize the buffer before reading the contents
* trivial: thunderbolt: don't reuse GError error_local in update
function
* trivial: Do not use AsProfile
* trivial: nvme: Remove quirk for Hynix SSD
* contrib: Add a standalone installer creation script * contrib: Add a standalone installer creation script
* trivial: fu-util/fu-tool: Move --version into a common shared
function
* rts54hid: Add support for Realtek USB devices using vendor HID * rts54hid: Add support for Realtek USB devices using vendor HID
commands commands
* fu-engine: Don't show devices pending a reboot in GetUpgrades * fu-engine: Don't show devices pending a reboot in GetUpgrades
* Add FuMutex helper to make various parts of the daemon * Add FuMutex helper to make various parts of the daemon
thread-safe thread-safe
* trivial: Return reference counted devices from FuDeviceList
* rts54hub: Add support for Realtek USB devices using vendor HUB * rts54hub: Add support for Realtek USB devices using vendor HUB
commands commands
* uefi: Check the amount of free space on the ESP * uefi: Check the amount of free space on the ESP
* fu-tool: Import debugging options from fu-debug like fu-main * fu-tool: Import debugging options from fu-debug like fu-main
* trivial: Skip debugging messages for skipped releases
* dell: Stop showing errors when no dock plugged in
* trivial: Allow specifying --daemon-verbose to set the log
handler
* trivial: Add the components to the daemon store in one
operation
* trivial: Only show the number of loaded components at startup
* trivial: Remove overzealous debugging
* trivial: Set a log domain for each file
* trivial: Remove an assert statement from the daemon
* superio: Set the physical and logical IDs * superio: Set the physical and logical IDs
* trivial: Use a fixed GUID for superio
* trivial: snap: fix TLS communications in classic snap
* trivial: snap: sync up some missing changes in master snap
* trivial: snap: Correct bash completion path
* trivial: snap: Install dbus service in classic snap
- Add pkgconfig(xmlb) BuildRequires: New dependency. - Add pkgconfig(xmlb) BuildRequires: New dependency.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -28,17 +28,15 @@
%global efidir sles %global efidir sles
%endif %endif
Name: fwupd Name: fwupd
Version: 1.2.3 Version: 1.2.8
Release: 0 Release: 0
Summary: Device firmware updater daemon Summary: Device firmware updater daemon
License: GPL-2.0-or-later AND LGPL-2.1-or-later License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Management Group: System/Management
URL: https://fwupd.org/ URL: https://fwupd.org/
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM fwupd-bsc1130056-change-esp-os-name.patch bsc#1130056
Patch1: fwupd-bsc1130056-change-esp-os-name.patch
# PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056 # PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056
Patch2: fwupd-bsc1130056-change-shim-path.patch Patch1: fwupd-bsc1130056-change-shim-path.patch
BuildRequires: dejavu-fonts BuildRequires: dejavu-fonts
BuildRequires: docbook-utils-minimal BuildRequires: docbook-utils-minimal
BuildRequires: gcab BuildRequires: gcab
@ -144,7 +142,6 @@ the local machine.
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1
for file in $(grep -l %{_bindir}/env . -r); do for file in $(grep -l %{_bindir}/env . -r); do
sed -i "s|%{_bindir}/env python3|%{_bindir}/python3|" $file sed -i "s|%{_bindir}/env python3|%{_bindir}/python3|" $file
done done
@ -256,6 +253,9 @@ fi
%dir %{_localstatedir}/lib/%{name}/ %dir %{_localstatedir}/lib/%{name}/
%{_datadir}/bash-completion/completions/fwupdmgr %{_datadir}/bash-completion/completions/fwupdmgr
%{_datadir}/bash-completion/completions/fwupdtool %{_datadir}/bash-completion/completions/fwupdtool
%{_datadir}/bash-completion/completions/fwupdagent
%{_datadir}/icons/hicolor/*
%{_prefix}/lib/systemd/system-shutdown/fwupd.shutdown
%files -n dfu-tool %files -n dfu-tool
%{_bindir}/dfu-tool %{_bindir}/dfu-tool