Code Review
/
AGL
/
meta-agl-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update recipes for transition to UNPACKDIR
[AGL/meta-agl-demo.git]
/
recipes-core
/
udev
/
demo-i2c-udev-conf_1.0.bb
diff --git
a/recipes-core/udev/demo-i2c-udev-conf_1.0.bb
b/recipes-core/udev/demo-i2c-udev-conf_1.0.bb
index
332c698
..
11f9546
100644
(file)
--- a/
recipes-core/udev/demo-i2c-udev-conf_1.0.bb
+++ b/
recipes-core/udev/demo-i2c-udev-conf_1.0.bb
@@
-2,31
+2,34
@@
SUMMARY = "USB attached I2C demo hardware udev configuration"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-SRC_URI = "file://hvac-
json
-in-rewrite.sh \
+SRC_URI = "file://hvac-
conf
-in-rewrite.sh \
file://rtc-i2c-attach.sh \
file://rtc-i2c-attach.sh \
- file://hvac-
json
-in-rewrite@.service \
+ file://hvac-
conf
-in-rewrite@.service \
file://rtc-i2c-attach@.service \
file://99-agl-led-rtc.rules \
file://rtc-i2c-attach@.service \
file://99-agl-led-rtc.rules \
- file://
hvac.json
.in \
+ file://
agl-service-hvac-leds.conf
.in \
"
"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
do_compile[noexec] = "1"
do_install() {
do_compile[noexec] = "1"
do_install() {
- install -d ${D}${sysconfdir}
- install -m 0644 ${
WORKDIR}/hvac.json.in ${D}${sysconfdir}
+ install -d ${D}${sysconfdir}
/xdg/AGL
+ install -m 0644 ${
UNPACKDIR}/agl-service-hvac-leds.conf.in ${D}${sysconfdir}/xdg/AGL
install -d ${D}${sbindir}
install -d ${D}${sbindir}
- install -m 0755 ${
WORKDIR}/hvac-json
-in-rewrite.sh ${D}${sbindir}
- install -m 0755 ${
WOR
KDIR}/rtc-i2c-attach.sh ${D}${sbindir}
+ install -m 0755 ${
UNPACKDIR}/hvac-conf
-in-rewrite.sh ${D}${sbindir}
+ install -m 0755 ${
UNPAC
KDIR}/rtc-i2c-attach.sh ${D}${sbindir}
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}
- install -m 0644 ${
WORKDIR}/hvac-json
-in-rewrite@.service ${D}${systemd_system_unitdir}
- install -m 0644 ${
WOR
KDIR}/rtc-i2c-attach@.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${
UNPACKDIR}/hvac-conf
-in-rewrite@.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${
UNPAC
KDIR}/rtc-i2c-attach@.service ${D}${systemd_system_unitdir}
install -d ${D}${sysconfdir}/udev/rules.d
install -d ${D}${sysconfdir}/udev/rules.d
- install -m 0644 ${
WOR
KDIR}/99-agl-led-rtc.rules ${D}${sysconfdir}/udev/rules.d/
+ install -m 0644 ${
UNPAC
KDIR}/99-agl-led-rtc.rules ${D}${sysconfdir}/udev/rules.d/
fi
}
fi
}