diff options
| -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" | |||
| 2 | AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>" | 2 | AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>" |
| 3 | HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" | 3 | HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" |
| 4 | SECTION = "console/utils" | 4 | SECTION = "console/utils" |
| 5 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only & CC0-1.0 & MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \ |
| 7 | DEPENDS = "util-linux" | 7 | file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \ |
| 8 | PV .= "+git${SRCPV}" | 8 | file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2" |
| 9 | DEPENDS = "json-c libnvme" | ||
| 10 | SRCREV = "d6c07e0de9be777009ebb9ab7475bee1ae3e0e95" | ||
| 9 | 11 | ||
| 10 | SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https" | 12 | SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https" |
| 11 | SRCREV = "f0e9569df9289d6ee55ba2c23615cc7c73a9b088" | ||
| 12 | 13 | ||
| 13 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 14 | 15 | ||
| 15 | inherit bash-completion systemd | 16 | inherit bash-completion meson pkgconfig systemd |
| 16 | 17 | ||
| 17 | do_install() { | 18 | EXTRA_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 | ||
| 22 | pkg_postinst_ontarget:${PN}() { | 20 | pkg_postinst_ontarget:${PN}() { |
| 23 | ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn | 21 | ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn |
