summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/unicens/unicens_0.1.bb
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-12-20 14:14:12 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-20 22:36:08 +0000
commit7c4c88192f1223a69ffd6fa9675ff81fe2f86454 (patch)
treed867c4e0f6838a510975f0bc98537e112795249e /recipes-demo-hmi/unicens/unicens_0.1.bb
parentb1d9059f2f64688729db80cbd05bd29f7067de36 (diff)
recipes-demo-hmi: remove deprecated MostNetworkManager
This patch removes the network manager that was used to control a MOST network. It is needed because Unicens v2 replaces this application. Change-Id: I878df40a914e0cace63634f942ce4076d744442b Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Diffstat (limited to 'recipes-demo-hmi/unicens/unicens_0.1.bb')
-rw-r--r--recipes-demo-hmi/unicens/unicens_0.1.bb49
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-demo-hmi/unicens/unicens_0.1.bb b/recipes-demo-hmi/unicens/unicens_0.1.bb
deleted file mode 100644
index 4f289c619..000000000
--- a/recipes-demo-hmi/unicens/unicens_0.1.bb
+++ /dev/null
@@ -1,49 +0,0 @@
-DESCRIPTION = "Build NetworkManager"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-#LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
-# "
-
-PV = "0.1"
-
-DEPENDS += "libxml2"
-
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/unicens;protocol=https;branch=${AGL_BRANCH}"
-SRC_URI += "file://0001-Fix-cross-compilation-with-yocto.patch"
-SRC_URI += "file://0001-Support-booting-by-systemd.patch \
- file://most-network-startup.service \
- file://most-network-manager.service"
-
-S = "${WORKDIR}/git"
-#SRCREV = "8c5f2324d7aa61669324aec1a0ad091fe1379489"
-SRCREV = "${AGL_DEFAULT_REVISION}"
-
-do_install() {
- install -m 0755 -d ${D}/usr/AGL/most
- install -m 0755 ${S}/NetworkManager ${D}/usr/AGL/most/MostNetworkManager
- install -m 0644 ${S}/scripts/config-agl.xml ${D}/usr/AGL/most/
- install -m 0644 ${S}/scripts/camera-os88122-ts.script ${D}/usr/AGL/most/
- install -m 0644 ${S}/scripts/i2c-slim-amplifier-v2.3.script ${D}/usr/AGL/most/
- install -m 0644 ${S}/scripts/i2c-uda1388-v2.3.script ${D}/usr/AGL/most
- install -m 0755 ${S}/scripts/loadDriver.sh ${D}/usr/AGL/most
-
- # Install MOST network startup systemd service (user)
- if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
- install -m 644 -p -D ${WORKDIR}/most-network-startup.service ${D}${systemd_user_unitdir}/most-network-startup.service
- install -m 644 -p -D ${WORKDIR}/most-network-manager.service ${D}${systemd_user_unitdir}/most-network-manager.service
-
- # Execute install manually for root user on behalf of systemctl script
- # because it doesn't support user mode of systemd.
- install -m 0755 -d ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/
- ln -sf ${systemd_user_unitdir}/most-network-startup.service ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-startup.service
- ln -sf ${systemd_user_unitdir}/most-network-manager.service ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-manager.service
- fi
-}
-
-FILES_${PN} += " \
- /usr/AGL/most \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/most-network-startup.service', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/most-network-manager.service', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-startup.service', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ROOT_HOME}/.config/systemd/user/default.target.wants/most-network-manager.service', '', d)} \
- "