diff options
| author | Alistair Francis <alistair23@gmail.com> | 2025-04-08 14:15:22 +1000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-07 23:33:19 -0700 |
| commit | 788c27a84621cd9d05f6074922543c07bc82efde (patch) | |
| tree | 0914c87bc5facc3be492f12fb6b2ed916959c50c /meta-oe/recipes-bsp | |
| parent | 36bf5dea7e4f9a3fdaaf5e759a352435b9f5f790 (diff) | |
| download | meta-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.patch | 39 | ||||
| -rw-r--r-- | meta-oe/recipes-bsp/nvme-cli/nvme-cli/0002-plugins-netapp-add-include-of-libgen.h-for-basename-.patch | 34 | ||||
| -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 @@ | |||
| 1 | From 9444ce03a27b8d423f8170cf75f56d48d8a0a659 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Daniel=20N=C3=A9ri?= <dne+commits@rb67.eu> | ||
| 3 | Date: Mon, 11 Nov 2024 23:06:03 +0100 | ||
| 4 | Subject: [PATCH] nvme-print: add fallback for non-standard locale category | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | LC_MEASUREMENT is a GNU (libc) extension - fall back to LC_ALL if it's | ||
| 10 | not defined. | ||
| 11 | |||
| 12 | Fixes build with musl libc | ||
| 13 | |||
| 14 | Signed-off-by: Daniel Néri <dne+commits@rb67.eu> | ||
| 15 | |||
| 16 | Upstream-Status: Backport [https://github.com/linux-nvme/nvme-cli/commit/9444ce03a27b8d423f8170cf75f56d48d8a0a659] | ||
| 17 | Signed-off-by: Ryosuke Saito <ryosuke.saito@linaro.org> | ||
| 18 | --- | ||
| 19 | nvme-print.c | 4 ++++ | ||
| 20 | 1 file changed, 4 insertions(+) | ||
| 21 | |||
| 22 | diff --git a/nvme-print.c b/nvme-print.c | ||
| 23 | index 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 | -- | ||
| 38 | 2.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 @@ | |||
| 1 | From ac4818952c872ba465a2d0f48634f9a79aae064f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Daniel=20N=C3=A9ri?= <dne+commits@rb67.eu> | ||
| 3 | Date: Mon, 11 Nov 2024 22:34:57 +0100 | ||
| 4 | Subject: [PATCH] plugins/netapp: add include of libgen.h for basename(3) | ||
| 5 | prototype | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | Fixes build with musl libc. | ||
| 11 | |||
| 12 | Signed-off-by: Daniel Néri <dne+commits@rb67.eu> | ||
| 13 | |||
| 14 | Upstream-Status: Backport [https://github.com/linux-nvme/nvme-cli/commit/ac4818952c872ba465a2d0f48634f9a79aae064f] | ||
| 15 | Signed-off-by: Ryosuke Saito <ryosuke.saito@linaro.org> | ||
| 16 | --- | ||
| 17 | plugins/netapp/netapp-nvme.c | 1 + | ||
| 18 | 1 file changed, 1 insertion(+) | ||
| 19 | |||
| 20 | diff --git a/plugins/netapp/netapp-nvme.c b/plugins/netapp/netapp-nvme.c | ||
| 21 | index 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 | -- | ||
| 33 | 2.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" |
| 8 | DEPENDS = "json-c libnvme" | 8 | DEPENDS = "json-c libnvme" |
| 9 | SRCREV = "9f34fcb12e3ab098e9b30e0f31e92cefb497cc42" | 9 | SRCREV = "71fa5d9310d6b41a69e844593423ac91b1453472" |
| 10 | |||
| 11 | SRC_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 | ||
| 11 | SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https" | ||
| 15 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 16 | 13 | ||
| 17 | inherit bash-completion meson pkgconfig systemd | 14 | inherit bash-completion meson pkgconfig systemd |
