blob: 73abdb1c6b69d598286b2eea89b6f6c05472eda1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
SUMMARY = "Diagnostic Log and Trace"
DESCRIPTION = "This component provides a standardised log and trace interface, based on \
thestandardised protocol specified in the AUTOSAR standard 4.0 DLT.This \
component can be used by GENIVI components and other applications aslogging \
facility providing \
- the DLT shared library \
- the DLT daemon, including startup scripts \
- the DLT daemon adaptors- the DLT client console utilities \
- the DLT test applications \
"
HOMEPAGE = "https://www.genivi.org/"
SECTION = "console/utils"
inherit gzipnative
LICENSE = "MPLv2"
LIC_FILES_CHKSUM = " \
file://LICENSE.txt;md5=99ba60c3fad7eaf8c56bca6dd75cba09 \
file://MPL.txt;md5=ccdb2761cef70c8b2612624c323f89dc \
"
DEPENDS = "zlib"
SRCREV = "6ab10c022d4464628fc2b848b5a56bf1eaafe857"
PR = "r2"
SRC_URI = "git://git.projects.genivi.org/${PN}.git \
file://modify_systemd_config_dir.patch \
file://0001-Fix-build-with-systemd-209.patch \
"
S = "${WORKDIR}/git"
inherit autotools gettext cmake
FILES_${PN}-doc += "/usr/share/*"
FILES_${PN}-systemd += "${systemd_unitdir}/system/"
PACKAGES =+ "${PN}-systemd"
EXTRA_OECMAKE = "-DWITH_SYSTEMD=ON"
# Remove "User=genivi" option from systemd services
# as there is no such username
do_install_append() {
sed -i '/User/d' ${D}/${systemd_unitdir}/system/*.service
if [ ${@base_contains('EXTRA_OECMAKE', '-DWITH_SYSTEMD=ON', 'yes', 'no', d)} = yes ]; then
# Install the required systemd services links
install -d ${D}${base_libdir}/systemd/system/basic.target.wants
ln -sf ../dlt.service ${D}${base_libdir}/systemd/system/basic.target.wants/dlt.service
ln -sf ../dlt-system.service ${D}${base_libdir}/systemd/system/basic.target.wants/dlt-system.service
fi
}
|