diff options
| -rw-r--r-- | meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb index 842403c311..9b4288ff89 100644 --- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb +++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb | |||
| @@ -19,15 +19,16 @@ inherit bash-completion meson pkgconfig systemd | |||
| 19 | 19 | ||
| 20 | EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system" | 20 | EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system" |
| 21 | 21 | ||
| 22 | pkg_postinst_ontarget:${PN}() { | 22 | pkg_postinst_ontarget:${PN}-user () { |
| 23 | ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn | 23 | ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn |
| 24 | ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid | 24 | ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" | 27 | PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion ${PN}-user" |
| 28 | 28 | ||
| 29 | FILES:${PN} += "${systemd_system_unitdir}" | 29 | FILES:${PN} += "${systemd_system_unitdir}" |
| 30 | FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d" | 30 | FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d" |
| 31 | FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" | 31 | FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" |
| 32 | ALLOW_EMPTY:${PN}-user = "1" | ||
| 32 | 33 | ||
| 33 | RDEPENDS:${PN} = "util-linux-uuidgen" | 34 | RDEPENDS:${PN}-user = "util-linux-uuidgen" |
