[oe] [PATCH meta-networking] ntp: fix 60-ntpd.list path

Joe MacDonald joe at deserted.net
Tue Nov 26 17:53:27 UTC 2013


Almost forgot about this one.  Also merged earlier today.  Thanks.

-J.

[[oe] [PATCH meta-networking] ntp: fix 60-ntpd.list path] On 13.11.08 (Fri 13:08) rongqing.li at windriver.com wrote:

> From: Roy Li <rongqing.li at windriver.com>
> 
> 60-ntpd.list should be installed into the same path as ntp systemd service
> file, like Fedora core; Orignal path refers
> http://www.freedesktop.org/wiki/Software/systemd/timedated/, but where
> systemd_unitdir is assumed as /usr/lib/systemd, not /lib/systemd
> 
> Signed-off-by: Roy Li <rongqing.li at windriver.com>
> ---
>  meta-networking/recipes-support/ntp/ntp.inc |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
> index 65d90de..9ea24e9 100644
> --- a/meta-networking/recipes-support/ntp/ntp.inc
> +++ b/meta-networking/recipes-support/ntp/ntp.inc
> @@ -67,9 +67,8 @@ do_install_append() {
>      install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/
>      install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/
>  
> -    # see http://www.freedesktop.org/wiki/Software/systemd/timedated/
> -    install -d ${D}${libdir}/systemd/ntp-units.d
> -    install -m 0644 ${WORKDIR}/ntpd.list ${D}${libdir}/systemd/ntp-units.d/60-ntpd.list
> +    install -d ${D}${systemd_unitdir}/ntp-units.d
> +    install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list
>  }
>  
>  PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20131126/a32476c1/attachment-0002.sig>


More information about the Openembedded-devel mailing list