Skip to content

Commit

Permalink
etcd: Allow etcd to run on arm64
Browse files Browse the repository at this point in the history
The etcd maintainers have yet to declare arm64 "officially"
supported. Even though they make binaries available and are aware of
folks using etcd on arm64 targets they still have you "sign the dotted
line" to say you are aware of the lack of support.

See etcd-io/etcd#9077 for some related
discussions.

We update the install to add the ETCD_UNSUPPORTED_ARCH environment
setting to allow etcd to run on arm64.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
  • Loading branch information
masselstine authored and zeddii committed Oct 19, 2019
1 parent 16b91b7 commit 97683be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions meta-cube/recipes-connectivity/etcd/etcd_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,10 @@ do_install() {
sed -i '/User/s/^/#/' ${D}${systemd_unitdir}/system/etcd.service
}

do_install_append_aarch64() {
# ARM64 support isn't official for etcd, yet it is used a lot
# https://github.com/etcd-io/etcd/issues/9077
sed -i '/Environment=ETCD_NAME/aEnvironment=ETCD_UNSUPPORTED_ARCH=arm64' ${D}${systemd_unitdir}/system/etcd.service
}

deltask compile_ptest_base

0 comments on commit 97683be

Please sign in to comment.