mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00

Use of the systemddir variable was removed from the diod repository in commit c081e851744d33025ff2626029a9ac2a5f9ccf8d. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
35 lines
1.2 KiB
BlitzBasic
35 lines
1.2 KiB
BlitzBasic
SUMMARY = "Diod is a user space server for the kernel v9fs client."
|
|
DESCRIPTION = "\
|
|
Diod is a user space server for the kernel v9fs client (9p.ko, 9pnet.ko). \
|
|
Although the kernel client supports several 9P variants, diod only supports \
|
|
9P2000.L, and only in its feature-complete form, as it appeared in 2.6.38."
|
|
SECTION = "console/network"
|
|
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|
|
|
PV = "1.0.24+git"
|
|
SRCREV = "54d1325fc435d14a6f5c161c88dac79b016b0061"
|
|
SRC_URI = "git://github.com/chaos/diod.git;protocol=https;branch=master \
|
|
file://diod \
|
|
file://diod.conf \
|
|
file://0001-build-Find-lua-with-pkg-config.patch \
|
|
"
|
|
DEPENDS = "libcap ncurses lua"
|
|
|
|
EXTRA_OECONF = "--disable-auth \
|
|
--with-systemdsystemunitdir=${systemd_unitdir}/system"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools pkgconfig systemd
|
|
|
|
do_install:append () {
|
|
# install our init based on start-stop-daemon
|
|
install -D -m 0755 ${UNPACKDIR}/diod ${D}${sysconfdir}/init.d/diod
|
|
# install a real(not commented) configuration file for diod
|
|
install -m 0644 ${UNPACKDIR}/diod.conf ${D}${sysconfdir}/diod.conf
|
|
}
|
|
|
|
FILES:${PN} += "${systemd_unitdir}"
|