From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/4] [v3] openssh: Add systemd support
Date: Mon, 19 Aug 2013 11:18:44 +0500 [thread overview]
Message-ID: <5211B8C4.7070601@mentor.com> (raw)
In-Reply-To: <CAMKF1srCL2f+Cxb+2xvLY4_+oikJgXtj0vcR3=9h0tbDf1jGSg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]
On 08/16/2013 10:47 PM, Khem Raj wrote:
>
>
>
> On Fri, Aug 16, 2013 at 10:27 AM, Shakeel, Muhammad
> <muhammad_shakeel@mentor.com <mailto:muhammad_shakeel@mentor.com>> wrote:
>
> From: Muhammad Shakeel <muhammad_shakeel@mentor.com
> <mailto:muhammad_shakeel@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@.service
> + sed -i 's,/usr/sbin/,${sbindir}/,g'
> ${D}${systemd_unitdir}/system/sshd@.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
[-- Attachment #2: Type: text/html, Size: 3361 bytes --]
next prev parent reply other threads:[~2013-08-19 6:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 17:27 [PATCH 1/4] [v3] openssh: Add systemd support Shakeel, Muhammad
2013-08-16 17:27 ` [PATCH 2/4] [v3] lighttpd: " Shakeel, Muhammad
2013-08-16 17:27 ` [PATCH 3/4] [v3] rpcbind: " Shakeel, Muhammad
2013-08-16 17:27 ` [PATCH 4/4] [v3] nfs-utils: " Shakeel, Muhammad
2013-08-16 17:47 ` [PATCH 1/4] [v3] openssh: " Khem Raj
2013-08-19 6:18 ` Muhammad Shakeel [this message]
2013-08-19 6:40 ` Khem Raj
2013-08-19 21:00 ` Saul Wold
2013-08-20 6:54 ` Muhammad Shakeel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5211B8C4.7070601@mentor.com \
--to=muhammad_shakeel@mentor.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox