gpsd: workaround for .so file at wrong place

install shared object files to expected place.

BugzID: 57162

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
Ramon Moesching 2020-01-10 11:08:21 +01:00
parent af6384d512
commit 2f99551809
1 changed files with 6 additions and 0 deletions

View File

@ -26,3 +26,9 @@ do_install_append () {
sed -i 's|DEVICES=""|DEVICES="${TTY_DEVICE}"|g' ${D}/etc/default/gpsd.default
sed -i 's|USBAUTO="true"|USBAUTO="${USBAUTO_STATE}"|g' ${D}/etc/default/gpsd.default
}
# workaround for receipe backport: gpsd 3.19 is installing shared object files in different
# place than expect.
do_install_append() {
install -p ${D}/usr/lib/gps/*.so ${D}/usr/lib/python2.7/site-packages/gps/
}