I use Yocto Zeus to build an embedded Linux for my board. So far I need to replace the /etc/ssh/sshd_config
with my custom one.
Unfortunately I couldn't find any useful information about that. Just found some help on the Internet. I've created a custom layer and add an recipe as following:
sources
mylayer
mylayer-recipes
recipes-connectivity
openssh
openssh_%.bbappend
openssh
sshd_config
openssh_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://sshd_config"
after this I've try to rebuild the image
`bitbake core-image-minimal`
But nothing happens. No error and no change of the sshd_config file in the image.
What I do wrong? Actually I only want to replace the system /etc/ssh/sshd_config
with the custom one, nothing else.