From 79fd8bc6035a354e32bb4db83c574f385a433e46 Mon Sep 17 00:00:00 2001 From: Max Tomago Date: Tue, 5 Nov 2019 18:47:31 +0000 Subject: 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 (cherry picked from commit 2ed82aa378099d18db268c146d9a53756c5f2890) --- meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-agl-profile-core/recipes-core/systemd/systemd_%.bbappend') 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 -- cgit 1.2.3-korg