On 09/07/2012 01:52 PM, Khem Raj wrote:
On Fri, Sep 7, 2012 at 11:17 AM, Saul Wold <[email protected]> wrote:
+ for i in ${IMAGE_FEATURES};
+ do
+ if [ ${i} = "debug-tweaks" ]; then
+ sed -i -e "s/^#PermitRootLogin/PermitRootLogin/"
${D}${sysconfdir}/ssh/sshd_config
+ sed -i -e "s/^#PermitEmptyPasswords no/PermitEmptyPasswords
yes/" ${D}${sysconfdir}/ssh/sshd_config
+ fi
+ done
instead of looping could you apply same logic as in dropbear to do this thing ?
dropbear seems to do it as a patch, not in the do_install_append, also
looking at dropbear it may be possible to simplify that it seems like
it's a 2 step process that could be done in one step. I think
DISTRO_TYPE is only used in dropbear.
I guess its possible to export a variable that can be read by the
install_append(), I will give it a test.
Sau!
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core