1 SUMMARY = "USB attached I2C demo hardware udev configuration"
3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5 SRC_URI = "file://hvac-conf-in-rewrite.sh \
6 file://rtc-i2c-attach.sh \
7 file://hvac-conf-in-rewrite@.service \
8 file://rtc-i2c-attach@.service \
9 file://99-agl-led-rtc.rules \
10 file://agl-service-hvac-leds.conf.in \
13 S = "${WORKDIR}/sources"
16 do_compile[noexec] = "1"
19 install -d ${D}${sysconfdir}/xdg/AGL
20 install -m 0644 ${UNPACKDIR}/agl-service-hvac-leds.conf.in ${D}${sysconfdir}/xdg/AGL
22 install -d ${D}${sbindir}
23 install -m 0755 ${UNPACKDIR}/hvac-conf-in-rewrite.sh ${D}${sbindir}
24 install -m 0755 ${UNPACKDIR}/rtc-i2c-attach.sh ${D}${sbindir}
26 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
27 install -d ${D}${systemd_system_unitdir}
28 install -m 0644 ${UNPACKDIR}/hvac-conf-in-rewrite@.service ${D}${systemd_system_unitdir}
29 install -m 0644 ${UNPACKDIR}/rtc-i2c-attach@.service ${D}${systemd_system_unitdir}
31 install -d ${D}${sysconfdir}/udev/rules.d
32 install -m 0644 ${UNPACKDIR}/99-agl-led-rtc.rules ${D}${sysconfdir}/udev/rules.d/
36 FILES:${PN} += "${systemd_unitdir}"
38 RDEPENDS:${PN} += "bash"