Skip to content
Draft
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
10 changes: 10 additions & 0 deletions layers/meta-opentrons/classes/opentrons-externalsrc.bbclass
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# opentrons-externalsrc.bbclass: externalsrc for shared checkout trees.
#
# Yocto's default EXTERNALSRC_SYMLINKS creates oe-workdir and oe-logs under
# EXTERNALSRC. Opentrons CI builds many recipes against one monorepo (or
# firmware) checkout; parallel do_configure tasks then race recreating the
# same oe-workdir symlink and fail with FileExistsError / FileNotFoundError.

inherit externalsrc

EXTERNALSRC_SYMLINKS = ""
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

inherit externalsrc
inherit opentrons-externalsrc
EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

LICENSE = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

inherit externalsrc
inherit opentrons-externalsrc
EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

LICENSE = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

inherit externalsrc
inherit opentrons-externalsrc
EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

LICENSE = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DESCRIPTION = "builds and installs the update binaries for the ot3 firmware."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

inherit externalsrc pkgconfig cmake
inherit opentrons-externalsrc pkgconfig cmake

FIRMWARE_DIR="${libdir}/firmware"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit externalsrc
inherit opentrons-externalsrc

EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

inherit externalsrc
inherit opentrons-externalsrc
EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

LICENSE = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

inherit externalsrc
inherit opentrons-externalsrc
EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

LICENSE = "Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit externalsrc
inherit opentrons-externalsrc

EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit externalsrc
inherit opentrons-externalsrc

EXTERNALSRC = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir, os.pardir, "opentrons"))}"

Expand Down