diff options
author | Anton Blanchard <anton@ozlabs.org> | 2021-08-17 08:51:27 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-08-17 17:51:56 +0300 |
commit | 782d7195eac9bb9e05f86477b9537dbbee26930c (patch) | |
tree | 459a1d60da8a54ccc7eec4c5dd8b5e8a6c664bb7 /meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend | |
parent | 3f248dc32aa8c8f9c294d955fe0f19d8c8c4579a (diff) | |
download | openbmc-782d7195eac9bb9e05f86477b9537dbbee26930c.tar.xz |
Fix path to udev rules files
Use nonarch_base_libdir instead of base_libdir, because the files are
always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the
files end up in the wrong spot.
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
Diffstat (limited to 'meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend')
-rw-r--r-- | meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend index 5231622da..e38befbb6 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend @@ -8,7 +8,7 @@ do_install:append:olympus-nuvoton() { install -m 0644 ${WORKDIR}/${BPN}.conf ${D}${sysconfdir}/ ln -sr ${D}${sysconfdir}/${BPN}.conf ${D}${sysconfdir}/${BPN}/server.ttyS2.conf - install -d ${D}/lib/udev/rules.d - rm -f ${D}/lib/udev/rules.d/80-obmc-console-uart.rules - install -m 0644 ${WORKDIR}/80-olympus-nuvoton-sol.rules ${D}/lib/udev/rules.d + install -d ${D}/${nonarch_base_libdir}/udev/rules.d + rm -f ${D}/${nonarch_base_libdir}/udev/rules.d/80-obmc-console-uart.rules + install -m 0644 ${WORKDIR}/80-olympus-nuvoton-sol.rules ${D}/${nonarch_base_libdir}/udev/rules.d } |