Commit Graph

154 Commits

Author SHA1 Message Date
Gyorgy Sarvari c166308bc9 i2cdev: fix LICENSE
Only the library code (libi2cdev.h) is covered by GPL-2.0.
Otherwise the main license is LGPL-2.1

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-19 09:36:17 -08:00
Ryosuke Saito 29d4127753 nvme-cli: Fix musl build erros for v2.11
Backport two patches from https://github.com/linux-nvme/nvme-cli to
resolve musl build errors in v2.11:

  - 0001-nvme-print-add-fallback-for-non-standard-locale-cate.patch
  - 0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch

Signed-off-by: Ryosuke Saito <ryosuke.saito@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:36 -08:00
Wang Mingyu 426cacacea nvme-cli: upgrade 2.10.2 -> 2.11
Changelog:
 https://github.com/linux-nvme/nvme-cli/releases/tag/v2.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
J. S. d2f631c763 Drop unnecessary SRC_URI md5sum from the recipes in meta-oe.
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 19:19:22 -08:00
Wang Mingyu 3d77340f38 fwupd: upgrade 1.9.24 -> 1.9.25
Changelog:
=========
Bug fix:
---------
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

Add support:
-----------
Algoltek devices supporting sector erase
Dell K2 dock
Intel USB4 hub 5787
More MediaTek scaler devices
Nordic HID devices supporting DFUv1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:22 -07:00
Markus Volk 84d6e138cb cleanup after polkit fix
This commit removes the need to fix polkit permissions:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1

That allows to do some cleanup

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-01 15:54:30 -07:00
Wang Mingyu 5febf58a8c fwupd: upgrade 1.9.22 -> 1.9.24
Changelog:
=========
Bugfix:
---------
- 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

Add suppoert:
-------------
- More Mediatek scaler devices
- Parade USB hubs

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:30 -07:00
Christophe Vu-Brugier 9e12c17edc nvme-cli: upgrade 2.9.1 -> 2.10.2
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 16:02:49 -07:00
Wang Mingyu 415c1ce60f fwupd: upgrade 1.9.18 -> 1.9.22
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:13 -07:00
Alexandre Truong e7a0337eee firmwared: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN status
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:08 -07:00
Alexandre Truong 20e90414c2 cpufrequtils: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN status
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:07 -07:00
Alexandre Truong 5ea24c9cfb con2fbmap: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN status
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:07 -07:00
Mikko Rapeli e77f9f2feb 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>
2024-07-26 09:51:39 -07:00
Alexandre Truong 7125ce1aae fwupd: include UPSTREAM_CHECK_REGEX to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status
from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:33 -07:00
Alexandre Truong e8c65dbad4 acpitool: include UPSTREAM_CHECK_URI to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI fix UNKNOWN_BROKEN status from
running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:29 -07:00
Tymoteusz Burak ec3dc9a9fd dediprog-flasher: Add recipe
This patch adds the dpcmd utility recipe. It provides software for
Dediprog SF100 and SF600 SPI flash programmers.

Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-22 11:02:32 -07:00
Martin Jansa 7351e62015 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>
2024-07-09 08:51:11 -07:00
Martin Jansa 772e3c8746 recipes: ignore various issues fatal with gcc-14 (for 32bit MACHINEs)
Recipes included here are
openldap microsoft-gsl scsirastools pam-ssh-agent-auth sblim-sfcb ckermit nvme-cli xfstests

* these are reproducible only with 32bit MACHINEs and probably related
  to time64.inc
  http://errors.yoctoproject.org/Errors/Build/183154/

* and microsoft-gsl only with 32bit arm MACHINEs:
  http://errors.yoctoproject.org/Errors/Build/183157/

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-08 08:40:43 -07:00
Mike Looijmans 79caf62321 nvme-cli: Support read-only systems
Attempting to install nvme-cli on a read-only system fails because of
the post-install script that creates /etc/nvme/hostnqn and hostid.
These files aren't actually needed for 99% of nvme-cli functionality.

Split the postinstall into a separate package, nvme-cli-user and also
move the unwanted util-linux-uuidgen dependency to that package.

This allows to install and use nvme-cli on a read-only rootfs. If
someone wants to run nvme-stas it will need a dependency on nvme-cli-user
to create the files.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-14 10:23:10 -07:00
Khem Raj 10fc3fa15f fwupd-efi: Upgrade to 1.6
Drop cc settings patch this code piece has been removed upstream
Add a patch to use native python
Disable incompatible-pointer-types warning as error with gcc-14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-09 22:43:45 -07:00
Dmitry Baryshkov 6a8650ac4b lmsensors: fix building with GCC 14
GCC 14 is more strict regarding const pointers conversion. Fix
conversion to let lmsensors build with GCC 14.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-06 21:45:26 -07:00
Khem Raj c33cfad1b0 recipes: Switch away from S = WORKDIR
Make it dependent on UNPACKDIR instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Khem Raj ffc64e9c6f recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Khem Raj 11ca5bc261 nvme-cli: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-21 14:15:10 -07:00
Christophe Vu-Brugier 9cd8c54392 nvme-cli: upgrade 2.8 -> 2.9.1
Keep nvme-cli in sync with libnvme which was upgraded from 1.8 to
1.9 by the following commit:

 * f3b2cfa3e libnvme: upgrade 1.8 -> 1.9

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-20 10:58:12 -07:00
Mikko Rapeli 80719a61a5 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>
2024-05-03 07:23:44 -07:00
Khem Raj 25e1917a44 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-29 11:11:51 -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