فهرست منبع

swupdate: fix location of tmpfiles.d for multilib

tmpfiles.d is always in /usr/lib, so ${nonarch_libdir}/tmpfiles.d
is now used instead of ${libdir}/tmpfiles.d.

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Christian Taedcke 2 سال پیش
والد
کامیت
669d80c4ec
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      recipes-support/swupdate/swupdate.inc

+ 3 - 3
recipes-support/swupdate/swupdate.inc

@@ -70,7 +70,7 @@ FILES:${PN}-tools-ipc = " \
     ${bindir}/swupdate-ipc \
 "
 FILES:${PN} += " \
-    ${libdir}/tmpfiles.d \
+    ${nonarch_libdir}/tmpfiles.d \
     ${libdir}/swupdate/* \
     ${systemd_system_unitdir}/swupdate.socket \
     ${systemd_system_unitdir}/swupdate.service \
@@ -289,8 +289,8 @@ do_install () {
     install -m 644 ${WORKDIR}/swupdate-progress.service ${D}${systemd_system_unitdir}
 
     if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-        install -d ${D}${libdir}/tmpfiles.d
-        install -m 0644 ${WORKDIR}/tmpfiles-swupdate.conf ${D}${libdir}/tmpfiles.d/swupdate.conf
+        install -d ${D}${nonarch_libdir}/tmpfiles.d
+        install -m 0644 ${WORKDIR}/tmpfiles-swupdate.conf ${D}${nonarch_libdir}/tmpfiles.d/swupdate.conf
         install -d ${D}${sysconfdir}/udev/rules.d
         install -m 0644 ${WORKDIR}/swupdate-usb.rules ${D}${sysconfdir}/udev/rules.d/
     else