Commit Graph

134 Commits

Author SHA1 Message Date
Gyorgy Sarvari 95afb29339 acpitool: update SRC_URI
The old SRC_URI stopped working (its certificate expired), and the recipe
defaulted to OE mirrors.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0b2deaab02)
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2026-01-26 11:11:48 +05:30
Leonard Anderweit 154b5010be lmsensors: Fix build without sensord
When building with sensord disabled (PACKAGECONFIG = ""), do_install
would fail because it tried to build sensord which was skiped in
do_compile.
Error log:
make: *** No rule to make target 'rrd.h', needed by 'prog/sensord/rrd.rd'. Stop.

Avoid building sensord in do_install by explicitly setting PROG_EXTRA.

(master rev: fc88c96c4e)

Fixes: 86b20b84ec (lmsensors: Clean stale files for sensord to avoid
incorrect GCC header dependencies)

Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-06-23 16:52:32 -04:00
Haixiao Yan e92d0173a8 lmsensors: Clean stale files for sensord to avoid incorrect GCC header dependencies
After upgrading GCC—for example, from 14.1.0 to 14.2.0—building lmsensors that
was previously compiled with GCC 14.1.0 may fail with an error like:
lmsensors/3.6.0/recipe-sysroot-native/usr/lib/x86_64-wrs-linux/gcc/x86_64-wrs-linux/
14.1.0/include/stddef.h can't find, which is needed by 'prog/sensord/args.rd'.

This occurs because prog/sensord/args.rd still references stale headers from the
older GCC version.
The root cause is that stale *.rd and *.ro files under prog/sensord are not
properly cleaned during do_configure. This patch ensures those files are removed
to prevent broken dependencies when GCC is upgraded.
Also remove the same statement in do_compile.

(master rev: 86b20b84ec)

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-04-16 20:33:56 -04:00
Mikko Rapeli e22b652012 fwupd: skip buildpaths errors
Test binaries are embeddding build paths and can't easily
figure out why. Thus ignore the errors in these binaries
for now.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e77f9f2feb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-08-10 11:21:20 -04:00
Martin Jansa 41e250fc40 bolt: package systemd_system_unitdir correctly
* ${libdir}/systemd doesn't work on multilib builds, where libdir might be something
  else than ${nonarch_base_libdir}

  fixes:
  ERROR: QA Issue: lib32-bolt: Files/directories were installed but not shipped in any package:
    /usr/lib/systemd
    /usr/lib/systemd/system
    /usr/lib/systemd/system/bolt.service

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-07-23 15:22:38 -04:00
Mikko Rapeli 0beb0b6c5e fwupd: fix uefi capsule update build error
plugin_uefi_capsule_splash does not provide "enabled" or "disabled"
options but only basic bool "true" and "false". Fixes do_configure()
failure with
PACKAGECONFIG:append = " plugin_tpm plugin_uefi_pk plugin_uefi_capsule ":

| ../fwupd-1.9.18/meson.build:1:0: ERROR: Value disabled is not boolean (true or false).

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-06-02 14:57:06 -04:00
Khem Raj 5e3b83ba99 fwupd: Upgrade to 1.9.18 release
Drop patch which is already upstreamed in this release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-30 11:00:33 -07:00
Khem Raj 2de9cb6ec7 i2cdev: Include libgen.h on musl
This helps in getting prototype for basename() and fix build errors
on clang-18+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-25 18:52:52 -07:00
Martin Jansa e722be5fac recipes: Drop remaining PR values from recipes
* as oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab

* when people are have to maintain own PRs for recipes in oe-core, they
  might add them for meta-oe recipes at the same time when upgrading
  to next LTS

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:10 -07:00
Christophe Vu-Brugier b0d1ba544a nvme-cli: upgrade 2.7.1 -> 2.8
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-14 12:59:18 -08:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Khem Raj 8f479b898a i2cdev: Set PV correctly
based on https://github.com/costad2/i2cdev/blob/master/version.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-27 09:48:30 -08:00
Jörg Sommer 072dd00d97 i2cdev: Fix MUSL build
Building the recipe with MUSL fails, because it uses error.h which isn't
supported by MUSL. Because the usage is only in one expression, it's easy to
rewrite this.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-12 08:51:12 -08:00
Christophe Vu-Brugier 7c4f3f1e3e nvme-cli: upgrade 2.6 -> 2.7.1
Keep nvme-cli in sync with libnvme which was upgraded from 1.6 to
1.7.1 by the following commit:

 * 7a6ca59ab libnvme: upgrade 1.6 -> 1.7.1

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-09 10:05:02 -08:00
Fabio Estevam 3f166bfbb7 i2cdev_git: Remove AUTHOR field
The AUTHOR field is no longer used in generating packages.

It may also create a possible confusion with the recipe maintainer
name, so let's remove it.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-02 08:24:09 -08:00
Jörg Sommer 813fb0def8 i2cdev: New recipe with i2c tools
The main part is the tool lsi2c to scan the i2c bus, like lspci and lsusb
do.

This recipe also ships a static library *libi2cdev.a*. Because this library
contains the file *smbus.c* which is *GPL v2+,* and a static library can't
be linked dynamically to satisfy the LGPL, the whole recipe is marked
as *GPL-2.0-or-later.*

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-29 09:04:22 -08:00
Alexander Kanavin 3f82f85200 bolt: package systemd units
This wasn't seen because the recipe is enabled only
when systemd and polkit are both in distro features.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-27 00:15:54 -08:00
Khem Raj 5e1ddd1e7f ledmon: Fix systemd unit install
Use confgure knob to emable systemd service unitfile generation.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-19 19:47:47 -08:00
alperak f13feb0adf ledmon: upgrade 0.93 -> 0.97
* Added 0001-fix-build-with-clang.patch to fix build error caused by missing 'value' initializer

* License changed GPL-2.0-only -> LGPL-2.0-only

  - LIC_FILES_CHKSUM changed COPYING -> COPYING.LIB for LGPL-2.0-only
  - Changed license headers in required source files.
  - Changed copyright years to 2022 in modified files.

* 0001-Don-t-build-with-Werror-to-fix-compile-error.patch removed because fixed in the new version.

* libpci was added as depends following this error -> configure: error: Package requirements (libpci) were not met: No package 'libpci' found

* pkgconfig added as inherit following this error -> PKG_PROG_PKG_CONFIG: command not found

Changelog:

It can be followed here: https://github.com/intel/ledmon/releases

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-18 08:45:56 -08:00
alperak 3029554ceb bolt: upgrade 0.9.5 -> 0.9.6
Changelog:

* The compiler warnings caused by the incorrect data type declaration
  were fixed.

* The log message `boltd[123]: [93B blob data]` was fixed. The sysfs path
  will be printed when the domain can't be found.

* CI: Replaced the docker command with podman and fixed the DNS issues for
  podman.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-15 13:13:16 -08:00
Khem Raj da92fbe33b lsscsi: upgrade 0.32 -> 030
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:15 -08:00
Christophe Vu-Brugier 7190422289 nvme-cli: upgrade 2.5 -> 2.6
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-07 17:53:55 -07:00
Jeffrey Pautler c1ea15792b bolt: change product name used for CVE checking
This bolt product does not currently have an entry in the CVE database.
However, the default cve-check logic that maps recipes to products in
the CVE database is incorrectly matching this package to a different
bolt product made by bolt-cms. As a result, CVE checking incorrectly
reports CVEs for that product for this package.

Signed-off-by: Jeffrey Pautler <jeffrey.pautler@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-04 16:40:05 -07:00
Jeffrey Pautler 722c4f16eb bolt: disable CVE checking for this recipe
This bolt product does not currently have an entry in the CVE database.
However, the default cve-check logic that maps recipes to products in
the CVE database is incorrectly matching this package to a different
bolt product made by bolt-cms. As a result, CVE checking incorrectly
reports CVEs for that product for this package.

Signed-off-by: Jeffrey Pautler <jeffrey.pautler@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-29 10:54:06 -07:00
Chaitanya Vadrevu c9b486869a bolt: Add recipe
bolt is used for managing thunderbolt devices.

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-15 14:24:44 -07:00
Khem Raj 3b2f72f31a pcmciautils: Pass LD=CC via Make cmdline
This ensures that LD is always consistent in Makefile and it is computed
independent of LD variable setting order in metadata e.g. when using
meta-clang with lld the LD var maybe set to ld.ldd and this will be
wrong here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-05 09:29:56 -07:00
Michael Opdenacker 6b2b98e52d remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-03 09:14:20 -07:00
Christophe Vu-Brugier 54d25dc202 nvme-cli: upgrade 1.13 -> 2.5
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27 13:57:41 -07:00
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Beniamin Sandu c07fe3639a 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>
2023-06-08 09:37:46 -07:00
Bhargav Das f3cdc9d7ee 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>
2023-05-03 08:45:24 -07:00
Khem Raj 62a3fa25e4 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>
2023-04-17 11:51:16 -07: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