summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb')
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb
index 6133b3a27..92c902b75 100644
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb
+++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/linux-nvme/nvme-cli"
4SECTION = "console/utils" 4SECTION = "console/utils"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022"
7DEPENDS = "util-linux util-linux-native" 7DEPENDS = "util-linux"
8PV .= "+git${SRCPV}" 8PV .= "+git${SRCPV}"
9 9
10SRC_URI = "git://github.com/linux-nvme/nvme-cli.git" 10SRC_URI = "git://github.com/linux-nvme/nvme-cli.git"
@@ -21,6 +21,7 @@ do_install() {
21 21
22pkg_postinst_ontarget_${PN}() { 22pkg_postinst_ontarget_${PN}() {
23 ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn 23 ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn
24 ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid
24} 25}
25 26
26PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" 27PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion"
@@ -28,3 +29,5 @@ PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion"
28FILES_${PN} += "${systemd_system_unitdir}" 29FILES_${PN} += "${systemd_system_unitdir}"
29FILES_${PN}-dracut = "${libdir}/dracut/dracut.conf.d" 30FILES_${PN}-dracut = "${libdir}/dracut/dracut.conf.d"
30FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions" 31FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions"
32
33RDEPENDS_${PN} = "util-linux-uuidgen"