On 08/16/2013 10:47 PM, Khem Raj wrote:
On Fri, Aug 16, 2013 at 10:27 AM, Shakeel, Muhammad
<[email protected] <mailto:[email protected]>> wrote:
From: Muhammad Shakeel <[email protected]
<mailto:[email protected]>>
-Remove dependency on meta-systemd
+[Service]
+ExecStart=-/usr/sbin/sshd -i
it would be nice if it was using libdir/bindir instead of hardcoded paths
coudld be achieved by generating the unit files from some sort of .in
files at build time so it could benefit
the distros which dont use /usr e.g.
+ sed -i 's,/bin/,${base_bindir}/,g'
${D}${systemd_unitdir}/system/sshd.socket
${D}${systemd_unitdir}/system/[email protected]
+ sed -i 's,/usr/sbin/,${sbindir}/,g'
${D}${systemd_unitdir}/system/[email protected]
+ sed -i 's,/usr/bin/,${bindir}/,g'
${D}${systemd_unitdir}/system/sshdgenkeys.service
/usr/sbin/ is being sed'ed with ${sbindir} in do_install_append of the
respective recipe file. /usr/bin/ and /bin/ is also taken care of.
Regards
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core