[OE-core] [PATCH 1/4] [v3] openssh: Add systemd support
Muhammad Shakeel
muhammad_shakeel at mentor.com
Mon Aug 19 06:18:44 UTC 2013
On 08/16/2013 10:47 PM, Khem Raj wrote:
>
>
>
> On Fri, Aug 16, 2013 at 10:27 AM, Shakeel, Muhammad
> <muhammad_shakeel at mentor.com <mailto:muhammad_shakeel at mentor.com>> wrote:
>
> From: Muhammad Shakeel <muhammad_shakeel at mentor.com
> <mailto:muhammad_shakeel at mentor.com>>
>
> -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/sshd at .service
> + sed -i 's,/usr/sbin/,${sbindir}/,g'
> ${D}${systemd_unitdir}/system/sshd at .service
> + 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130819/71ddb8e0/attachment-0002.html>
More information about the Openembedded-core
mailing list