Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robot Stack Release 8.2.0 #175

Open
wants to merge 14 commits into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Google DNS is not available in China so we alternative.

[Resolve]
DNS=8.8.8.8 2001:da8::666
FallbackDNS=1.1.1.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Google NTP is not available in China so we use alternative.

[Time]
NTP=time.google.com time.cloudflare.com ntp.tencent.com
FallbackNTP=pool.ntp.org
21 changes: 21 additions & 0 deletions layers/meta-opentrons/recipes-core/systemd/systemd_%.bbappend
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# xz support was present on older builds and must be present now to read journal files
# from before the upgrade
PACKAGECONFIG:append = " xz "
FILESEXTRAPATHS:append := "${THISDIR}/files:"

SRC_URI += " \
file://dns-fallback.conf \
file://ntp-fallback.conf \
"

do_install:append() {
# Google DNS + NTP servers are not reachable from China so use alternatives.
install -d 0755 ${D}${sysconfdir}/systemd/resolved.conf.d
install -d 0755 ${D}${sysconfdir}/systemd/timesyncd.conf.d
install -m 0644 ${WORKDIR}/dns-fallback.conf ${D}${sysconfdir}/systemd/resolved.conf.d/
install -m 0644 ${WORKDIR}/ntp-fallback.conf ${D}${sysconfdir}/systemd/timesyncd.conf.d/
}

FILES:${PN} += " \
${sysconfdir}/systemd/resolved.conf.d \
${sysconfdir}/systemd/timesyncd.conf.d \
${sysconfdir}/systemd/resolved.conf.d/ntp-fallback.conf \
${sysconfdir}/systemd/timesyncd.conf.d/dns-fallback.conf \
"
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ TEMPERATURE_MODULE_FILENAME="temperature-module@${TEMPERATURE_MODULE_VERSION}.he
TEMPERATURE_MODULE_URL="temperature-module/${TEMPERATURE_MODULE_VERSION}/${TEMPERATURE_MODULE_SOURCE}"
SRC_URI += "${BASE_URL}/${TEMPERATURE_MODULE_URL};sha256sum=4e4ef00b44a320fe461265dbd0484d90247a13f405125657be8915c8ea214408"

THERMOCYCLER-GEN2_MODULE_VERSION="v1.0.5"
THERMOCYCLER-GEN2_MODULE_VERSION="v1.0.6"
THERMOCYCLER-GEN2_MODULE_SOURCE="thermocycler-gen2@${THERMOCYCLER-GEN2_MODULE_VERSION}.bin"
THERMOCYCLER-GEN2_MODULE_URL="thermocycler-gen2/${THERMOCYCLER-GEN2_MODULE_VERSION}/${THERMOCYCLER-GEN2_MODULE_SOURCE}"
SRC_URI += "${BASE_URL}/${THERMOCYCLER-GEN2_MODULE_URL};sha256sum=e457eafad0c8f326d85c1a66e843f50745bfb56b0ccfe01ff580ddecb81b39bf"
SRC_URI += "${BASE_URL}/${THERMOCYCLER-GEN2_MODULE_URL};sha256sum=afa9d01df377b16b68e49116c4df5ac8cce243e497e507329a9dd42381220072"

HEATER-SHAKER_MODULE_VERSION="v1.0.4"
HEATER-SHAKER_MODULE_SOURCE="heater-shaker@${HEATER-SHAKER_MODULE_VERSION}.bin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ FILES:${PN}:append = " ${systemd_system_unitdir/opentrons-robot-server.service.d
${sysconfdir}/release-notes.md \
"

RDEPENDS:${PN} += " udev python3-numpy python3-systemd nginx python-can python3-pyzmq libgpiod-python python-aionotify mosquitto python-byonoy"
RDEPENDS:${PN} += " udev python3-numpy python3-systemd nginx python-can python3-pyzmq libgpiod-python python-aionotify mosquitto python-byonoy python3-pyusb"

inherit pipenv_app_bundle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ DESCRIPTION = "Installs Byonoy Python library and firmware files."
LICENSE = "CLOSED"

FILESEXTRAPATHS:prepend = "${THISDIR}/files:"
SRC_URI += "file://pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \
SRC_URI += "file://byonoy_devices.so \
file://libbyonoy_device_library.so \
file://[email protected] \
file://[email protected] \
file://[email protected] \
"
FIRMWARE_DIR="${libdir}/firmware"

Expand All @@ -23,18 +22,16 @@ FILES_SOLIBSDEV = ""

do_install:append() {
# install the python library to /usr/lib/python3.10/site-packages
install -m 755 ${WORKDIR}/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so ${D}${libdir}/python3.10/site-packages
install -m 755 ${WORKDIR}/byonoy_devices.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}/[email protected] ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/[email protected] ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/[email protected] ${D}${FIRMWARE_DIR}
}

RDEPENDS:${PN} += "hidapi"

FILES:${PN} += "${libdir}/libbyony_device_library.so \
${libdir}/firmware/[email protected] \
${libdir}/firmware/[email protected] \
${libdir}/python3.10/site-packages/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \
${libdir}/firmware/[email protected] \
${libdir}/python3.10/site-packages/byonoy_devices.so \
"
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fb997454c8d62aa6a47f07a8cd48b006"
PV = "1.17.1"

SRC_URI = "\
git://github.com/c-ares/c-ares.git;branch=master;protocol=https \
git://github.com/c-ares/c-ares.git;branch=main;protocol=https \
file://cmake-install-libcares.pc.patch \
file://0001-fix-configure-error-mv-libcares.pc.cmakein-to-libcar.patch \
"
Expand Down
Loading