diff options
| -rw-r--r-- | meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb | 5 |
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 6133b3a270..92c902b750 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" | |||
| 4 | SECTION = "console/utils" | 4 | SECTION = "console/utils" |
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" |
| 7 | DEPENDS = "util-linux util-linux-native" | 7 | DEPENDS = "util-linux" |
| 8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/linux-nvme/nvme-cli.git" | 10 | SRC_URI = "git://github.com/linux-nvme/nvme-cli.git" |
| @@ -21,6 +21,7 @@ do_install() { | |||
| 21 | 21 | ||
| 22 | pkg_postinst_ontarget_${PN}() { | 22 | pkg_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 | ||
| 26 | PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" | 27 | PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" |
| @@ -28,3 +29,5 @@ PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" | |||
| 28 | FILES_${PN} += "${systemd_system_unitdir}" | 29 | FILES_${PN} += "${systemd_system_unitdir}" |
| 29 | FILES_${PN}-dracut = "${libdir}/dracut/dracut.conf.d" | 30 | FILES_${PN}-dracut = "${libdir}/dracut/dracut.conf.d" |
| 30 | FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions" | 31 | FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions" |
| 32 | |||
| 33 | RDEPENDS_${PN} = "util-linux-uuidgen" | ||
