Skip to content

Commit

Permalink
python-byonoy: update the python shared library and set correct permi…
Browse files Browse the repository at this point in the history
…ssions.
  • Loading branch information
vegano1 committed Jul 23, 2024
1 parent 20b4338 commit 87f9b5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DESCRIPTION = "installs Byonoy Python library and firmware files"
DESCRIPTION = "Installs Byonoy Python library and firmware files."
LICENSE = "CLOSED"

FILESEXTRAPATHS:prepend = "${THISDIR}/files:"
Expand All @@ -23,8 +23,8 @@ FILES_SOLIBSDEV = ""

do_install:append() {
# install the python library to /usr/lib/python3.10/site-packages
install -m 644 ${WORKDIR}/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so ${D}${libdir}/python3.10/site-packages
install -m 644 ${WORKDIR}/libbyonoy_device_library.so ${D}${libdir}
install -m 755 ${WORKDIR}/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so ${D}${libdir}/python3.10/site-packages
install -m 755 ${WORKDIR}/libbyonoy_device_library.so ${D}${libdir}
# install the firmware files to /usr/lib/firmware
install -d ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96-v1.0.0.byoup ${D}${FIRMWARE_DIR}
Expand Down

0 comments on commit 87f9b5a

Please sign in to comment.