Commit Graph

105 Commits

Author SHA1 Message Date
Beniamin Sandu 75cf318cef lmsensors: do not pull in unneeded perl modules for run-time dependencies
Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-08-03 16:46:11 -04:00
Khem Raj 46b6acbe4f fwupd: Do not emit build time paths into generated headers
Fixes
WARNING: fwupd-1.8.9-r0 do_package_qa: QA Issue: File /usr/src/debug/fwupd/1.8.9-r0/src/fu-plugin-builtin.h in package fwupd-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 62a3fa25e4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:24:46 -04:00
Bhargav Das a26497d464 pointercal: Add native & nativestdk package support
Add support for building native and nativesdk variants.

Signed-off-by: Bhargav Das <bhargav.das@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f3cdc9d7ee)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:16:21 -04:00
Markus Volk 4c1f83d272 fwupd: fix polkit rules.d permissions
This fixes:

Error: Transaction test error:
  file /usr/share/polkit-1/rules.d conflicts between attempted installs of fwupd-1.8.9-r0.intel_corei7_64 and polkit-122-r0.corei7_64
  file /usr/share/polkit-1/rules.d conflicts between attempted installs of flatpak-1.15.1-r0.corei7_64 and fwupd-1.8.9-r0.intel_corei7_64

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-13 14:35:35 -08:00
Richard Hughes d42d733990 fwupd: Upgrade to 1.8.9
Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-16 10:32:40 -08:00
Wang Mingyu d8e50a9507 flashrom: upgrade 1.2 -> 1.2.1
0001-typecast-enum-conversions-explicitly.patc
removed since it's included in 1.2.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 15:33:58 -08:00
Robert Joslyn 2ab46bac63 fwupd: Fix plugin_gpio PACKAGECONFIG
Trying to disable the gpio plugin results in an error

	ERROR: Option 'plugin_gpio' must have a value separated by equals sign.

Correct the PACKAGECONFIG for this option so it can be disabled.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-23 22:10:01 -07:00
Khem Raj ca7447990d fwupd: Replace python3.7 patch with upstreamed one
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-21 06:36:46 -07:00
Khem Raj 5ce4505210 fwupd: Drop sqlite3 from default deps
sqlite support is controlled by a packageconfig which will add it when
needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-14 21:33:38 -07:00
Khem Raj 8e295e4e1e fwupd: Fix tostring() call to not have xml_declaration param
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-12 11:29:53 -07:00
Khem Raj 0eca35be06 fwupd: Upgrade to 1.8.4
Remove packageconfig for thunderbolt, its not a plugin anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-11 20:42:05 -07:00
Khem Raj 538612afdc con2fbmap: Include string.h for strerror
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
wangmy a368124938 fwupd: upgrade 1.7.6 -> 1.8.1
Changelog:
=========
new features:
--------------
    Add archive writing support for devices with composite firmware
    Add a way to read device composite firmware in fwupdtool
    Allow clients to opt-in to showing updates with user-solvable problems
    Allow the device to pause polling when writing firmware
    Export the system and device battery levels on the D-Bus interface
    Log errors and warnings to the win32 eventlog when required
    Add X-UsbReceiver as an update category with icon usb-receiver

fixes bugs:
-------------
    Accurately return the last-set status to client tools
    Allow dumping flashrom firmware using fwupdtool
    Allow specifying a non-file D-Bus transport
    Allow to request post actions from fwupdtool
    Always be arch-explicit when installing OS deps
    Be more resilient when restarting the Redfish BMC
    Do not mark all Redfish updates as UPDATABLE
    Do not use 'dongle' to describe USB receiver hardware
    Download in-process when using fwupdtool
    Fix a critical warning on failed modem update
    Fix regression when probing PS175 devices
    Hardcode the Redfish filedata name to firmware.bin
    Set the Bluetooth version if REV has been set
    Switch the Windows installer from NSIS to MSI
    Use StartServiceCtrlDispatcherA for the daemon on Windows
    Use the native certificate store on Windows

new support:
------------
    Corsair KATAR PRO XT, SABRE PRO and KATAR PRO Wireless
    HP Thunderbolt Dock G4
    Lenovo ThinkPad Universal USB-C Dock
    More PixArt wireless devices
    More SunplusIT USB cameras
    Some UFS devices
    Steelseries Aerox 3 Wireless and Rival 3 Wireless

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 00:08:14 -04:00
wangmy 33167569ef fwupd-efi: upgrade 1.2 -> 1.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
wangmy 4812d74acc lsscsi: upgrade 0.31 -> 0.32
Changelog for released lsscsi-0.32 [20210505] [svn: r167]
  - improve NVMe device parsing (e.g. /dev/nvme0c1n2)
  - print nr_hw_queues when available for SCSI hosts
  - Remove blank line after NVMe device name with -HL
  - collect_disk_wwn_nodes: Fix WWN string copy
  - make WWN printing for NVMe more consistent with
    output from SCSI devices (e.g. with -u and -t)
  - logic to select best SCSI id (--scsi_id) to output
  - clean up warnings for gcc-10
  - build with autoconf 2.70

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 11:00:43 -07:00
Khem Raj 1fa927eba9 fwupd: Enable build with musl
It does not fail anymore as the qemu options has been sorted

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 11:00:43 -07:00
Davide Gardenal bcb6af4c10 fwupd: add COMPATIBLE_HOST to match dependency
Add COMPATIBLE_HOST to fix build error when musl is enabled,
this will match efivar requirements.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-06 20:25:34 -04:00
Randy MacLeod 9a7d42ec20 edac-utils: update to latest git head
Add a DESCRIPTION.

Commits added:
   1c57818 etc/labels.db: add MiTAC HAWK layout
   d98769e Merge pull request #13 from musicinmybrain/fsf-address
   edf15c8 Update obsolete FSF postal addresses
   556ebce Merge pull request #6 from paulmenzel/remove-blank-lines-at-eof-in-labels.db
   55865fb etc/labels.db: Remove blank lines at end of file

The COPYING license file was changed in:
   edf15c8 Update obsolete FSF postal addresses
In addition to changing the address, the file indentation was also changed.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Richard Hughes 5c5a21112d fwupd: New release
New features:
- Add a flag to indicate the device has a signed or unsigned payload
- Add a plugin to set a GPIO pin for the duration of an update
- Add a simple plugin to enumerate (but not update) SCSI hardware
- Add two more instance IDs to the MTD devices
- Add X-BaseboardManagementController as an update category
- Allow assigning issues to devices for known high priority problems
- Parse the MTD firmware version using the defined GType

Fixed bugs:
- Modify the AT retry behavior to fix getting the firmware branch
- Do not show a warning if the TPM eventlog does not exist
- Do not show TSS2 warning messages by default
- Fix a critical warning when loading an empty TPM eventlog item
- Fix the error handling when updating USB4 retimers
- Show the user when devices are not updatable due to inhibits
- Skip probing the Dell DA300 device to avoid a warning
- Try harder to convert to a version into a correct semver
- Use multiple checksums when there are no provided artifacts

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-07 09:27:53 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Ross Burton 880defa729 fwupd-efi: upgrade to 1.2
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03 08:44:32 -08:00
Richard Hughes 4b51cf81df fwupd: Update to 1.7.3
New features:
 - Add a sync-bkc subcommand to ensure a known set of firmware versions
 - Make Upower and powerd support optional

Fixed bugs:
 - Check the value range when parsing the quirk keys
 - Do not wait for a USB runtime if will-disappear is set
 - Enable the MOTD integration when using pam_motd
 - Ignore a USB error for STM32 attach when the device goes away
 - Make the HSI tests optional for embedded targets
 - Make the plugin startup order deterministic
 - Use endian-safe version functions when enumerating Logitech hardware

Adding support for the following hardware:
 - Most Nordic Semiconductor nRF Secure devices

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-14 08:13:53 -08:00
Ross Burton 8936585e28 cpufrequtils: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 21:20:01 -08:00
Ross Burton 236822433d fwupd: fix dependency typo
lzma was the PACKAGECONFIG name, not the recipe name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-24 09:35:40 -08:00
Ross Burton 03c5f64174 fwupd: upgrade to 1.7.2
PACKAGECONFIG changes:
- Rename bluez to bluetooth
- Remove plugin_altos as the plugin was removed upstream
- Move lzma to intel-spi as that's the only user so far
- Disable AMT and Thunderbolt on non-x86
- Add offline option and enable it in systemd builds
- Add disabled options for compat-cli, fish-completion, and metainfo.

Also drop upstreamed patches.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-23 10:33:05 -08:00
Ross Burton 786a317182 fwupd: add new recipe
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 11:23:54 -08:00
Ross Burton 2a46c9947c fwupd-efi: add new recipe
This is the EFI executable that is used by fwupd when building EFI
capsules.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 06:53:02 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
LiweiSong 8c7eb54dde Revert "chipsec: platform security assessment framework"
This reverts commit ae1705aad5.

move chipsec to meta-security.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-08 09:23:16 -07:00
LiweiSong ae1705aad5 chipsec: platform security assessment framework
Add chipsec, tools to dump and analyzing hardware, system firmware
components, like PCH register, ioport or iomem configuration space.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-29 07:23:22 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 8910327c6a flashrom: Fix build with clang
Fixes
warning: implicit declaration of function 'asm' is invalid in C99 [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:33:07 -07:00
Khem Raj e024a4c708 flashrom: Add remaining RISCV support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
2021-03-30 15:36:17 -07:00
Ross Burton 401364d06f flashrom: recipe cleanup
Use Meson to build instead of the bare Makefiles, as the Meson build also
generates pkgconfig files which are needed fwupd.

Add PACKAGECONFIG options for the platform dependencies (libpci, libusb,
libftdi).  Add a patch to the meson.build to ensure that these options
work as intended.

Fix LICENSE, as this is GPLv2-or-later.

Replace 0001-typecast-enum-conversions-explicitly.patch with upstreamed
patch.

Drop 0001-Makefile-Check-for-last-line-only-from-preprocessed-.patch as
this is only needed for the Makefile build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 12:38:55 -07:00
Robert Karszniewicz 38ef5f5bf0 firmwared: add recipe
This program is needed for loading external firmware via Linux' fallback
mechanism.

Signed-off-by: Robert Karszniewicz <r.karszniewicz@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-09 10:14:57 -08:00
Zang Ruochen d52551d4ec nvme-cli: upgrade 1.12 -> 1.13
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Qi.Chen@windriver.com 27657cac27 lmsensors: use /run instead of /var/run for systemd service
Backport patch to use /run instead of /var/run for systemd service
files.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-16 09:21:54 -07:00
Oleksandr Kravchuk 16f141efa3 lsscsi: update to 0.31
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:52:14 -07:00
Oleksandr Kravchuk 19948fa670 nvme-cli: update to 1.12
Removed patch is included in this version.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Khem Raj f16aa16e91 flashrom: Fix build failure with glibc 2.32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:15 -07:00
lumag 428d4e6885 lmsensors: do not depend on lmsensors-isatools on non-x86
lmsensors will build isadump and isaset only on x86 architecture.
Depending on this package breaks lmsensors on all non-x86 machines. Fix
this by enabling ${PN}-isatools dependency only on x86.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-22 08:46:33 -07:00
Khem Raj 50592776d6 con2fbmap: Add recipe
con2fbmap is handy for debugging OS bringup on
TFT/LCD displays

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-06 16:12:39 -07:00
Pierre-Jean Texier e4a1287bf1 nvme-cli: upgrade 1.9 -> 1.10.1
Also backport a patch to fix a build failure
with the mucl libc.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20 07:44:29 -07:00
Khem Raj 802f9127b1 flashrom: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 18:05:25 -07:00
Pierre-Jean Texier c8a84d27cc flashrom: upgrade 1.1 -> 1.2
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 16:36:28 -07:00
Changqing Li d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00
Paul Barker 5674b0a9e8 lmsensors: Fix sensord dependencies
If sensord is removed from PACKAGECONFIG, the recipe should not depend
on rrdtool and the lmsensors package should not depend on
lmsensors-sensord.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-28 07:02:18 -08:00
Khem Raj bd2ad24d7b recipes: Make powerpc64le overrides
The existing conditions for ppc64/be are applicable for le as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19 02:20:59 -08:00
Khem Raj bdba4d00d6 rwmem: Upgrade to latest
gets gcc10 fixes for missing #include <stdexcept>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-02 09:40:34 -08:00
Khem Raj 02fca7f87c nvme-cli: Use nonarch libdir for dracut config files
Fixes packaging errors where libdir != nonarch_libdir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00