summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-07 08:22:51 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-09 08:13:10 +0900
commit211ddbdf4143da9509c8c747485bc87b2ab49ba9 (patch)
tree7933879f4445f585fe2509319265f756fb5539c4 /meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb
parent8b34a041b3d5599ec83dad23cfeea3ad39160db3 (diff)
Add CH57x keyboard based UI for container demo
Container exchange user interface using CH57x keyboard. This UI based on mock container manager for AGL CES2023 demo. That is contributed by Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Bug-AGL: SPEC-4766 Change-Id: I3654bb0fd22787c66af554db71fc3adb82440702 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb')
-rw-r--r--meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb b/meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb
new file mode 100644
index 00000000..845ef46d
--- /dev/null
+++ b/meta-agl-ic-container/recipes-demo/momikey/momikey_0.1.bb
@@ -0,0 +1,39 @@
+SUMMARY = "CH57x keyboard based UI for container demo"
+DESCRIPTION = "Container exchange user interface using CH57x keyboard. \
+ This UI based on mock container manager for AGL CES2023 demo."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SRC_URI += " \
+ file://momikey.sh \
+ file://momikey.service \
+ file://momikey.rules \
+"
+
+inherit systemd
+
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE:${PN} = "momikey.service"
+SYSTEMD_AUTO_ENABLE:${PN} = "disable"
+
+do_install:append () {
+ install -d ${D}/usr/bin
+ install -m 0755 ${WORKDIR}/momikey.sh ${D}/usr/bin/momikey.sh
+
+ install -d ${D}${systemd_system_unitdir}
+ install -m 0644 ${WORKDIR}/momikey.service ${D}${systemd_system_unitdir}
+
+ install -d ${D}${sysconfdir}/udev/rules.d
+ install -m 644 ${WORKDIR}/momikey.rules ${D}${sysconfdir}/udev/rules.d/
+}
+
+FILES:${PN} += " \
+ /usr/bin/momikey.sh \
+ ${systemd_system_unitdir} \
+ ${sysconfdir}/udev/rules.d/ \
+"
+
+RDEPENDS:${PN} := " \
+ bash \
+ evtest \
+"