summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp
diff options
context:
space:
mode:
authorAlistair Francis <alistair23@gmail.com>2025-04-08 14:15:22 +1000
committerKhem Raj <raj.khem@gmail.com>2025-04-07 23:33:19 -0700
commit788c27a84621cd9d05f6074922543c07bc82efde (patch)
tree0914c87bc5facc3be492f12fb6b2ed916959c50c /meta-oe/recipes-bsp
parent36bf5dea7e4f9a3fdaaf5e759a352435b9f5f790 (diff)
downloadmeta-openembedded-788c27a84621cd9d05f6074922543c07bc82efde.tar.gz
nvme-cli: Update to 1.12
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-bsp')
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-print-add-fallback-for-non-standard-locale-cate.patch39
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli/0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch34
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.12.bb (renamed from meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.11.bb)7
3 files changed, 2 insertions, 78 deletions
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-print-add-fallback-for-non-standard-locale-cate.patch b/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-print-add-fallback-for-non-standard-locale-cate.patch
deleted file mode 100644
index 981acb1b81..0000000000
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-print-add-fallback-for-non-standard-locale-cate.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 9444ce03a27b8d423f8170cf75f56d48d8a0a659 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Daniel=20N=C3=A9ri?= <dne+commits@rb67.eu>
3Date: Mon, 11 Nov 2024 23:06:03 +0100
4Subject: [PATCH] nvme-print: add fallback for non-standard locale category
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9LC_MEASUREMENT is a GNU (libc) extension - fall back to LC_ALL if it's
10not defined.
11
12Fixes build with musl libc
13
14Signed-off-by: Daniel Néri <dne+commits@rb67.eu>
15
16Upstream-Status: Backport [https://github.com/linux-nvme/nvme-cli/commit/9444ce03a27b8d423f8170cf75f56d48d8a0a659]
17Signed-off-by: Ryosuke Saito <ryosuke.saito@linaro.org>
18---
19 nvme-print.c | 4 ++++
20 1 file changed, 4 insertions(+)
21
22diff --git a/nvme-print.c b/nvme-print.c
23index 170e5c12fb22..5b1f2e827aef 100644
24--- a/nvme-print.c
25+++ b/nvme-print.c
26@@ -797,6 +797,10 @@ static bool is_fahrenheit_country(const char *country)
27 return false;
28 }
29
30+#ifndef LC_MEASUREMENT
31+#define LC_MEASUREMENT LC_ALL
32+#endif
33+
34 static bool is_temperature_fahrenheit(void)
35 {
36 const char *locale, *underscore;
37--
382.47.0
39
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch b/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch
deleted file mode 100644
index 42ca7f5340..0000000000
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From ac4818952c872ba465a2d0f48634f9a79aae064f Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Daniel=20N=C3=A9ri?= <dne+commits@rb67.eu>
3Date: Mon, 11 Nov 2024 22:34:57 +0100
4Subject: [PATCH] plugins/netapp: add include of libgen.h for basename(3)
5 prototype
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Fixes build with musl libc.
11
12Signed-off-by: Daniel Néri <dne+commits@rb67.eu>
13
14Upstream-Status: Backport [https://github.com/linux-nvme/nvme-cli/commit/ac4818952c872ba465a2d0f48634f9a79aae064f]
15Signed-off-by: Ryosuke Saito <ryosuke.saito@linaro.org>
16---
17 plugins/netapp/netapp-nvme.c | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/plugins/netapp/netapp-nvme.c b/plugins/netapp/netapp-nvme.c
21index 5c2e3d4989b8..9f05ffc5d97e 100644
22--- a/plugins/netapp/netapp-nvme.c
23+++ b/plugins/netapp/netapp-nvme.c
24@@ -22,6 +22,7 @@
25 #include <unistd.h>
26 #include <errno.h>
27 #include <string.h>
28+#include <libgen.h>
29
30 #include "common.h"
31 #include "nvme.h"
32--
332.47.0
34
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.11.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.12.bb
index 7c030cd847..7ab244f3cc 100644
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.11.bb
+++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.12.bb
@@ -6,12 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \
6 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \ 6 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
7 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2" 7 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
8DEPENDS = "json-c libnvme" 8DEPENDS = "json-c libnvme"
9SRCREV = "9f34fcb12e3ab098e9b30e0f31e92cefb497cc42" 9SRCREV = "71fa5d9310d6b41a69e844593423ac91b1453472"
10
11SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https \
12 file://0001-nvme-print-add-fallback-for-non-standard-locale-cate.patch \
13 file://0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch"
14 10
11SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https"
15S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
16 13
17inherit bash-completion meson pkgconfig systemd 14inherit bash-completion meson pkgconfig systemd