diff options
author | Christophe Vu-Brugier <christophe.vu-brugier@seagate.com> | 2023-07-27 22:53:09 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-07-27 13:57:41 -0700 |
commit | 54d25dc2025313aeedcb4340329b564ecd6d1105 (patch) | |
tree | fd09241b7be6adc8c533275e0df7aaeedbfffc86 /meta-oe/recipes-bsp | |
parent | 297018672c5b27f1c731a134c591039672b16258 (diff) | |
download | meta-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 1055fa42a9..dd273e24d0 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" AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>" HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" SECTION = "console/utils" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" -DEPENDS = "util-linux" -PV .= "+git${SRCPV}" +LICENSE = "GPL-2.0-only & CC0-1.0 & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \ + file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \ + file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2" +DEPENDS = "json-c libnvme" +SRCREV = "d6c07e0de9be777009ebb9ab7475bee1ae3e0e95" SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https" -SRCREV = "f0e9569df9289d6ee55ba2c23615cc7c73a9b088" S = "${WORKDIR}/git" -inherit bash-completion systemd +inherit bash-completion meson pkgconfig systemd -do_install() { - oe_runmake install-spec DESTDIR=${D} PREFIX=${prefix} \ - UDEVDIR=${nonarch_base_libdir}/udev SYSTEMDDIR=${systemd_unitdir} -} +EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system" pkg_postinst_ontarget:${PN}() { ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn |