Skip to content

Commit

Permalink
opentrons-ssh-keys: only install default ssh rsa keys for non-release…
Browse files Browse the repository at this point in the history
… builds (#106)
  • Loading branch information
vegano1 authored Sep 19, 2023
1 parent fbf65d4 commit 9b2e484
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ SRC_URI = "file://opentrons-flex.pub"

do_install () {
install -m 700 -d ${D}/home/root/.ssh
install -m 644 ${WORKDIR}/opentrons-flex.pub ${D}/home/root/.ssh/authorized_keys
if [[ "${OT_BUILD_TYPE}" =~ "develop" ]]; then
bbnote "Installing default ssh rsa key"
install -m 644 ${WORKDIR}/opentrons-flex.pub ${D}/home/root/.ssh/authorized_keys
fi
}

FILES_${PN} += "/home/root/.ssh/authorized_keys"

0 comments on commit 9b2e484

Please sign in to comment.