Skip to content

Commit

Permalink
meta-ros-common: joystick: respect nonarch_base_libdir to fix usrmerg…
Browse files Browse the repository at this point in the history
…e QA issue

* fixes:
  ERROR: QA Issue: joystick package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]

Signed-off-by: Martin Jansa <martin.jansa@lge.com>
  • Loading branch information
shr-project committed Jul 3, 2020
1 parent 30f183d commit 9fbfe41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta-ros-common/recipes-extended/joystick/joystick_1.6.1.bb
Expand Up @@ -12,6 +12,8 @@ S = "${WORKDIR}/linuxconsoletools-${PV}"
do_compile_prepend() {
# drop ffmvforce so that we don't need libsdl
sed '/^PROGRAMS/s/ffmvforce *//g' -i ${S}/utils/Makefile
# respect nonarch_base_libdir path to keep QA check happy
sed 's#DESTDIR)/lib/udev#DESTDIR)/${nonarch_base_libdir}/udev#g' -i ${S}/utils/Makefile
}

do_install() {
Expand Down

0 comments on commit 9fbfe41

Please sign in to comment.