Skip to content
Snippets Groups Projects
Commit 864f2426 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

demo: Remove guf-show-demo2

Removed guf-show-demo2 package since we do not use it anymore. If we need
an additional demo instance again, we should use an additional systemd unit
file instead of adding a complete package.

BCS 746-000810

(cherry picked from commit 4606414f)
parent 2f66e92f
No related branches found
No related tags found
2 merge requests!418Integrate gitlab-ci/fix-gitlab-ci-integration and 6 more,!414demo: Remove guf-show-demo2
...@@ -34,10 +34,6 @@ IMAGE_INSTALL_SECONORTH += " \ ...@@ -34,10 +34,6 @@ IMAGE_INSTALL_SECONORTH += " \
packagegroup-seconorth-small \ packagegroup-seconorth-small \
" "
IMAGE_INSTALL_SECONORTH:seco-mx8mp += " \
guf-show-demo2 \
"
IMAGE_INSTALL_MULTIMEDIA += " \ IMAGE_INSTALL_MULTIMEDIA += " \
packagegroup-seconorth-multimedia \ packagegroup-seconorth-multimedia \
" "
......
SUMMARY = "SECO Northern Europe Demo Application 219 Design"
HOMEPAGE = "https://git.seco.com/seco-ne/tools/guf-show-demo"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://guf-show-demo.service "
inherit systemd
FILESEXTRAPATHS:prepend := "${THISDIR}:"
do_configure () {
sed -i -e "s/guf-show-demo$/guf-show-demo2/" ${WORKDIR}/guf-show-demo.service
}
do_install () {
#Systemd unit
install -d ${D}${systemd_system_unitdir}/
install -D -p -m0644 ${WORKDIR}/guf-show-demo.service ${D}${systemd_system_unitdir}/guf-show-demo2.service
}
pkg_postinst_ontarget:${PN}() {
# The second instance needs to be a hardlink rather then a softlink
ln /usr/bin/guf-show-demo /usr/bin/guf-show-demo2
}
FILES:${PN} = " \
${systemd_system_unitdir}/guf-show-demo2.service \
"
SYSTEMD_SERVICE:${PN} = "guf-show-demo2.service"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment