From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- .../recipes-extended/diod/diod_1.0.24.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 external/meta-virtualization/recipes-extended/diod/diod_1.0.24.bb (limited to 'external/meta-virtualization/recipes-extended/diod/diod_1.0.24.bb') diff --git a/external/meta-virtualization/recipes-extended/diod/diod_1.0.24.bb b/external/meta-virtualization/recipes-extended/diod/diod_1.0.24.bb new file mode 100644 index 00000000..bb5707e5 --- /dev/null +++ b/external/meta-virtualization/recipes-extended/diod/diod_1.0.24.bb @@ -0,0 +1,33 @@ +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 = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" + +PV = "1.0.24+git${SRCPV}" +SRCREV = "0ea3fe3d829b5085307cd27a512708d99ef48199" +SRC_URI = "git://github.com/chaos/diod.git;protocol=git \ + file://diod \ + file://diod.conf \ + file://0001-build-allow-builds-to-work-with-separate-build-dir.patch \ + file://0002-auto.diod.in-remove-bashisms.patch \ + file://0001-diod-ops.c-add-header-file-for-makedev.patch \ + " +DEPENDS = "libcap ncurses tcp-wrappers lua" + +S = "${WORKDIR}/git" + +inherit autotools systemd + +do_install_append () { + # install our init based on start-stop-daemon + install -D -m 0755 ${WORKDIR}/diod ${D}${sysconfdir}/init.d/diod + # install a real(not commented) configuration file for diod + install -m 0644 ${WORKDIR}/diod.conf ${D}${sysconfdir}/diod.conf +} + +FILES_${PN} += "${systemd_unitdir}" -- cgit 1.2.3-korg