diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-05-23 10:21:50 -0400 |
---|---|---|
committer | jenkins-dontreply@build.automotivelinux.org <collab-it+agl-jobbuilder@linuxfoundation.org> | 2024-08-17 12:37:34 +0000 |
commit | 62c27830707e134dfe18662fb304c5905ead49af (patch) | |
tree | 776975c7a0eaf09b5ccdc4a0c8d8879d2dbd1a21 /recipes-core/udev/demo-i2c-udev-conf_1.0.bb | |
parent | da95381c1a7f3ad1455cd0da8da48d34b187186b (diff) |
Update recipes for transition to UNPACKDIRnext
Update recipes to handle the transition to using UNPACKDIR as the
destination for unpacked files. For recipes that had been using
S = WORKDIR, the approach used in meta-openembedded has been
followed, i.e. using UNPACKDIR in tasks for consistency.
Bug-AGL: SPEC-5147
Change-Id: I42b2b474be163c66e11a449de6eec7d748e00fbb
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-core/udev/demo-i2c-udev-conf_1.0.bb')
-rw-r--r-- | recipes-core/udev/demo-i2c-udev-conf_1.0.bb | 15 |
1 files changed, 9 insertions, 6 deletions
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 7707df60a..11f95469f 100644 --- 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 \ " +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + do_compile[noexec] = "1" do_install() { install -d ${D}${sysconfdir}/xdg/AGL - install -m 0644 ${WORKDIR}/agl-service-hvac-leds.conf.in ${D}${sysconfdir}/xdg/AGL + install -m 0644 ${UNPACKDIR}/agl-service-hvac-leds.conf.in ${D}${sysconfdir}/xdg/AGL install -d ${D}${sbindir} - install -m 0755 ${WORKDIR}/hvac-conf-in-rewrite.sh ${D}${sbindir} - install -m 0755 ${WORKDIR}/rtc-i2c-attach.sh ${D}${sbindir} + install -m 0755 ${UNPACKDIR}/hvac-conf-in-rewrite.sh ${D}${sbindir} + install -m 0755 ${UNPACKDIR}/rtc-i2c-attach.sh ${D}${sbindir} if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/hvac-conf-in-rewrite@.service ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/rtc-i2c-attach@.service ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/hvac-conf-in-rewrite@.service ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/rtc-i2c-attach@.service ${D}${systemd_system_unitdir} install -d ${D}${sysconfdir}/udev/rules.d - install -m 0644 ${WORKDIR}/99-agl-led-rtc.rules ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${UNPACKDIR}/99-agl-led-rtc.rules ${D}${sysconfdir}/udev/rules.d/ fi } |