mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
nvme-cli: Use install-spec target
install target build install-hostparams as well, which tries to run nvme tool during build, we defer that to runtime post_install anyway so we can ignore building it during install task package systemd unit files Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
01b55a8a55
commit
329554e01f
|
|
@ -15,7 +15,7 @@ S = "${WORKDIR}/git"
|
|||
inherit bash-completion systemd
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D} PREFIX=${prefix} \
|
||||
oe_runmake install-spec DESTDIR=${D} PREFIX=${prefix} \
|
||||
UDEVDIR=${nonarch_base_libdir}/udev SYSTEMDDIR=${systemd_unitdir}
|
||||
}
|
||||
|
||||
|
|
@ -25,5 +25,6 @@ pkg_postinst_ontarget_${PN}() {
|
|||
|
||||
PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion"
|
||||
|
||||
FILES_${PN} += "${systemd_system_unitdir}"
|
||||
FILES_${PN}-dracut = "${libdir}/dracut/dracut.conf.d"
|
||||
FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user