On 19 February 2014 09:46:12 Koen Kooi <[email protected]> wrote:
+++ b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb
@@ -82,6 +82,8 @@ do_install_append () {
if [ "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam"
]; then
install -d ${D}${sysconfdir}/pam.d
install -m 0755 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd
I'd rephrase the above to use one install -D and pass both files below to
just one sed.
thanks,
+ sed -i -e 's:#UsePAM no:UsePAM yes:' ${WORKDIR}/sshd_config
+ sed -i -e 's:#UsePAM no:UsePAM yes:'
${D}${sysconfdir}/ssh/sshd_config
fi
install -d ${D}${sysconfdir}/init.d
--
1.8.4.2
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Sent with AquaMail for Android
http://www.aqua-mail.com
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core