diff options
author | Christophe Vu-Brugier <christophe.vu-brugier@seagate.com> | 2023-10-06 17:57:44 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-10-07 17:53:55 -0700 |
commit | 719042228998484b9022676a2726002d10593343 (patch) | |
tree | 2484517f7d68d41584f780280bb28b2fddd541e1 /meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.6.bb | |
parent | 29644952a6555849274b8ef8a8bd9fba2658dd76 (diff) | |
download | meta-openembedded-719042228998484b9022676a2726002d10593343.tar.gz |
nvme-cli: upgrade 2.5 -> 2.6
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/nvme-cli/nvme-cli_2.6.bb')
-rw-r--r-- | meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.6.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.6.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.6.bb new file mode 100644 index 0000000000..0d8923f342 --- /dev/null +++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.6.bb @@ -0,0 +1,30 @@ +SUMMARY = "NVMe management command line interface" +HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" +SECTION = "console/utils" +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 = "bd2f882a49a14b0e21a94c928128b1979e4316fd" + +SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https" + +S = "${WORKDIR}/git" + +inherit bash-completion meson pkgconfig systemd + +EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system" + +pkg_postinst_ontarget:${PN}() { + ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn + ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid +} + +PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" + +FILES:${PN} += "${systemd_system_unitdir}" +FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d" +FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" + +RDEPENDS:${PN} = "util-linux-uuidgen" |