diff mbox series

[meta-oe,21/39] nvme-cli: upgrade 3.2 -> 3.3

Message ID 20261127003543.2167775-22-khem.raj@oss.qualcomm.com
State New
Headers show
Series Source fixes, upgrades and build fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:35 a.m. UTC
- Incompatible: the 80 bit ELBT of Copy source range formats 1h and 3h
  are now little endian; libnvme no longer installs the udev rule
  70-nvmf-registry.rules; "nvme disconnect" honors the ownership
  registry; JSON output keeps integers past 32 bits.
- Plugins and top-level commands are now loadable modules installed in
  <libdir>/nvme-cli/<version>/plugins (new plugin-modules option).
- libarchive and libkmod are loaded at runtime (dlopen) instead of
  being linked.
- libnvme applies per-vendor defaults (I/O policy, ctrl_loss_tmo) from
  vendor.d files after connecting; nvme-discoverd and nvmf-autoconnect
  service fixes; KX-HMAC-CHAP secrets support in nvme-keysd.

Package the new /usr/lib/nvme/vendor.d files and the plugin module debug
files, and add runtime dependencies for the now dlopen()ed libarchive
and libkmod, which the shlibs scan can no longer see. libnvme is still
bundled as libnvme3, so the standalone libnvme recipe is not affected.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../nvme-cli/{nvme-cli_3.2.bb => nvme-cli_3.3.bb}        | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-bsp/nvme-cli/{nvme-cli_3.2.bb => nvme-cli_3.3.bb} (92%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.3.bb
similarity index 92%
rename from meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb
rename to meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.3.bb
index 95365e17e7..7944806d87 100644
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb
+++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.3.bb
@@ -11,7 +11,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \
 NO_GENERIC_LICENSE[Gary-S-Brown-CRC32] = "LICENSES/LicenseRef-Gary-S-Brown-CRC32.txt"
 
 DEPENDS = "json-c"
-SRCREV = "ce55132af26607e1904a0f449f94eeae028cfee5"
+SRCREV = "c19af560d1869636104de5ab4e41420cbfdef395"
 
 SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https;tag=v${PV}"
 
@@ -22,9 +22,9 @@  inherit bash-completion meson pkgconfig systemd
 PACKAGECONFIG ??= "keyutils openssl"
 PACKAGECONFIG[discoverd] = "-Dnvme-discoverd=enabled,-Dnvme-discoverd=disabled,systemd"
 PACKAGECONFIG[keyutils] = "-Dkeyutils=enabled,-Dkeyutils=disabled,keyutils"
-PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
+PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive,libarchive"
 PACKAGECONFIG[libdbus] = "-Dlibdbus=enabled,-Dlibdbus=disabled,dbus"
-PACKAGECONFIG[libkmod] = "-Dlibkmod=enabled,-Dlibkmod=disabled,kmod"
+PACKAGECONFIG[libkmod] = "-Dlibkmod=enabled,-Dlibkmod=disabled,kmod,libkmod"
 PACKAGECONFIG[liburing] = "-Dliburing=enabled,-Dliburing=disabled,liburing"
 PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
 
@@ -44,7 +44,8 @@  pkg_postinst_ontarget:${PN}-user () {
 PACKAGES =+ "libnvme3 ${PN}-dracut ${PN}-zsh-completion ${PN}-user"
 
 FILES:libnvme3 = "${libdir}/libnvme3${SOLIBS}"
-FILES:${PN} += "${systemd_system_unitdir} ${nonarch_libdir}/NetworkManager"
+FILES:${PN} += "${systemd_system_unitdir} ${nonarch_libdir}/NetworkManager ${nonarch_libdir}/nvme"
+FILES:${PN}-dbg += "${libdir}/${BPN}/*/plugins/.debug"
 FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d"
 FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"
 ALLOW_EMPTY:${PN}-user = "1"