summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp
diff options
context:
space:
mode:
authorChristophe Vu-Brugier <christophe.vu-brugier@seagate.com>2023-07-27 22:53:09 +0200
committerKhem Raj <raj.khem@gmail.com>2023-07-27 13:57:41 -0700
commit54d25dc2025313aeedcb4340329b564ecd6d1105 (patch)
treefd09241b7be6adc8c533275e0df7aaeedbfffc86 /meta-oe/recipes-bsp
parent297018672c5b27f1c731a134c591039672b16258 (diff)
downloadmeta-openembedded-54d25dc2025313aeedcb4340329b564ecd6d1105.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-bsp')
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb (renamed from meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.13.bb)18
1 files changed, 8 insertions, 10 deletions
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.13.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb
index 1055fa42a..dd273e24d 100644
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.13.bb
+++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb
@@ -2,22 +2,20 @@ SUMMARY = "NVMe management command line interface"
2AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>" 2AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>"
3HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" 3HOMEPAGE = "https://github.com/linux-nvme/nvme-cli"
4SECTION = "console/utils" 4SECTION = "console/utils"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only & CC0-1.0 & MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \
7DEPENDS = "util-linux" 7 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
8PV .= "+git${SRCPV}" 8 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
9DEPENDS = "json-c libnvme"
10SRCREV = "d6c07e0de9be777009ebb9ab7475bee1ae3e0e95"
9 11
10SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https"
11SRCREV = "f0e9569df9289d6ee55ba2c23615cc7c73a9b088"
12 13
13S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
14 15
15inherit bash-completion systemd 16inherit bash-completion meson pkgconfig systemd
16 17
17do_install() { 18EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system"
18 oe_runmake install-spec DESTDIR=${D} PREFIX=${prefix} \
19 UDEVDIR=${nonarch_base_libdir}/udev SYSTEMDDIR=${systemd_unitdir}
20}
21 19
22pkg_postinst_ontarget:${PN}() { 20pkg_postinst_ontarget:${PN}() {
23 ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn 21 ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn