mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
35 lines
1.4 KiB
BlitzBasic
35 lines
1.4 KiB
BlitzBasic
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 = "71fa5d9310d6b41a69e844593423ac91b1453472"
|
|
|
|
SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https"
|
|
|
|
inherit bash-completion meson pkgconfig systemd
|
|
|
|
EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system"
|
|
|
|
pkg_postinst_ontarget:${PN}-user () {
|
|
${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn
|
|
${bindir}/uuidgen > ${sysconfdir}/nvme/hostid
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion ${PN}-user"
|
|
|
|
FILES:${PN} += "${systemd_system_unitdir}"
|
|
FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d"
|
|
FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"
|
|
ALLOW_EMPTY:${PN}-user = "1"
|
|
|
|
RDEPENDS:${PN}-user = "util-linux-uuidgen"
|
|
|
|
# This one is reproducible only on 32bit MACHINEs
|
|
# http://errors.yoctoproject.org/Errors/Details/766964/
|
|
# git/plugins/virtium/virtium-nvme.c:205:63: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
CFLAGS += "-Wno-error=incompatible-pointer-types"
|