Commit b2f3407b authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

eddie: cleanup and simplify eddie recipe



We do not need the special name, clone dir and dest handling for the git
repo. The eddie repo is setup simply enough to go with the defaults.
Signed-off-by: Stefan Schmidt's avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent e3f5a35e
......@@ -6,27 +6,19 @@ SUMMARY = "Eddie blueprint: enabling distributed intelligence in Oniro"
DESCRIPTION = "Enabling distributed intelligence in Oniro"
LICENSE = "Apache-2.0"
SRC_OPT_PROTO = "protocol=https"
SRC_OPT_NAME = "name=eddie"
SRC_OPT_BRANCH = "branch=main"
SRC_OPT_CLONE_DIR = "git/apps/eddie"
SRC_OPT_DEST = "destsuffix=${SRC_OPT_CLONE_DIR}"
SRC_OPTIONS = "${SRC_OPT_PROTO};${SRC_OPT_DEST};${SRC_OPT_NAME};${SRC_OPT_BRANCH}"
SRC_URI += "git://gitlab.eclipse.org/eclipse/oniro-core/eddie.git;${SRC_OPTIONS} \
file://eddie-server.service"
LIC_FILES_CHKSUM = "file://LICENSES/Apache-2.0.txt;md5=ef3dabb8f39493f4ea410bebc1d01755"
DEPENDS += "coap"
SRCREV_eddie = "9ba361241aabb6fe383e44e64b9f16d3f3740a63"
SRC_URI += "git://gitlab.eclipse.org/eclipse/oniro-core/eddie.git;protocol=https;branch=main \
file://eddie-server.service"
S = "${WORKDIR}/${SRC_OPT_CLONE_DIR}"
SRCREV = "9ba361241aabb6fe383e44e64b9f16d3f3740a63"
LIC_FILES_CHKSUM = "file://${S}/LICENSES/Apache-2.0.txt;md5=ef3dabb8f39493f4ea410bebc1d01755"
S = "${WORKDIR}/git"
inherit cmake pkgconfig systemd
DEPENDS += "coap"
REQUIRED_DISTRO_FEATURES = "systemd"
SYSTEMD_SERVICE:${PN} = "eddie-server.service"
do_install:append() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment