summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Tomago <max.tomago@codethink.co.uk>2019-11-05 18:47:31 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-11-26 17:07:16 +0000
commit79fd8bc6035a354e32bb4db83c574f385a433e46 (patch)
treed1b3928f0ad0c2cceb55625e9849aecdb8a002f1
parent8f310e549f15f7d9d5c5e566f60aceb6bc07cd19 (diff)
systemd: Install canbus network script in nonarch_base_libdir
This is the directory where systemd keeps network scripts (e.g /lib rather than /lib64). Installing them in base_libdir breaks the build for multilib targets. Bug-AGL: SPEC-2966 Change-Id: If1f780a8cfed29f22f46b9ff1d08f36dee3296ee Signed-off-by: Max Tomago <max.tomago@codethink.co.uk> (cherry picked from commit 2ed82aa378099d18db268c146d9a53756c5f2890)
-rw-r--r--meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend b/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend
index 8c7da4390..2d1427366 100644
--- a/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend
@@ -16,7 +16,7 @@ do_install_append() {
install -m 644 -p -D ${WORKDIR}/e2fsck.conf ${D}${sysconfdir}/e2fsck.conf
# Install canbus network script
- install -m 0644 ${WORKDIR}/canbus-can.network ${D}${base_libdir}/systemd/network/60-canbus-can.network
+ install -m 0644 ${WORKDIR}/canbus-can.network ${D}${nonarch_base_libdir}/systemd/network/60-canbus-can.network
if ${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','systemd','true','false',d)}; then
# Install DHCP configuration for Ethernet adapters