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
7707df6
..
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
@@
-10,23
+10,26
@@
SRC_URI = "file://hvac-conf-in-rewrite.sh \
file://agl-service-hvac-leds.conf.in \
"
file://agl-service-hvac-leds.conf.in \
"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
do_compile[noexec] = "1"
do_install() {
install -d ${D}${sysconfdir}/xdg/AGL
do_compile[noexec] = "1"
do_install() {
install -d ${D}${sysconfdir}/xdg/AGL
- install -m 0644 ${
WOR
KDIR}/agl-service-hvac-leds.conf.in ${D}${sysconfdir}/xdg/AGL
+ install -m 0644 ${
UNPAC
KDIR}/agl-service-hvac-leds.conf.in ${D}${sysconfdir}/xdg/AGL
install -d ${D}${sbindir}
install -d ${D}${sbindir}
- install -m 0755 ${
WOR
KDIR}/hvac-conf-in-rewrite.sh ${D}${sbindir}
- install -m 0755 ${
WOR
KDIR}/rtc-i2c-attach.sh ${D}${sbindir}
+ install -m 0755 ${
UNPAC
KDIR}/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 ${
WOR
KDIR}/hvac-conf-in-rewrite@.service ${D}${systemd_system_unitdir}
- install -m 0644 ${
WOR
KDIR}/rtc-i2c-attach@.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${
UNPAC
KDIR}/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
}