Skip to content

Commit

Permalink
dropbear: Copy localoptions.h to build directory
Browse files Browse the repository at this point in the history
Per the dropbear documentation, the localoptions.h file needs to be
copied to its build directory to take effect.

This file can later be renamed to src/distrooptions.h once the following
dropbear change is merged:
mkj/dropbear#274

Tested:

Before change:
$ ssh -vv p10bmc
...
debug2: MACs ctos: hmac-sha1,hmac-sha2-256
debug2: MACs stoc: hmac-sha1,hmac-sha2-256

After change:
$ ssh -vv p10bmc
...
debug2: MACs ctos: hmac-sha1,hmac-sha2-256,hmac-sha2-512
debug2: MACs stoc: hmac-sha1,hmac-sha2-256,hmac-sha2-512

Change-Id: I1a4b108d1a87831f4623c7e3e1e2beb0b8655441
Signed-off-by: Adriana Kobylak <[email protected]>
  • Loading branch information
anoo1 authored and rfrandse committed Mar 18, 2024
1 parent 616ce54 commit f94a025
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta-phosphor/recipes-core/dropbear/dropbear_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ SRC_URI += "file://dropbearkey.service \
file://dropbear.default \
"

do_configure:append() {
install -m 0644 ${WORKDIR}/localoptions.h ${B}
}

# pull in OpenSSH's /usr/libexec/sftp-server so we don't have to rely
# on the crufty old scp protocol for file transfer
RDEPENDS:${PN} += "openssh-sftp-server"

0 comments on commit f94a025

Please sign in to comment.