[oe] [meta-networking][PATCH 1/3] netcf: upgrade 0.2.3 -> 0.2.8

Joe MacDonald Joe_MacDonald at mentor.com
Thu Aug 6 15:11:51 UTC 2015


[[oe] [meta-networking][PATCH 1/3] netcf: upgrade 0.2.3 -> 0.2.8] On 15.07.27 (Mon 17:18) Li xin wrote:

> Add "--with-sysinit=systemd" to support for systemd init script.
> 
> Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
> ---
>  meta-networking/recipes-support/netcf/netcf_git.bb | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)
> 
> diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb
> index 0e88b30..1a571b3 100644
> --- a/meta-networking/recipes-support/netcf/netcf_git.bb
> +++ b/meta-networking/recipes-support/netcf/netcf_git.bb
> @@ -6,8 +6,8 @@ LICENSE = "LGPLv2.1"
>  
>  LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
>  
> -SRCREV = "b8a19dc860b38c97c42115d8a559b78853452a4b"
> -PV = "0.2.3+git${SRCPV}"
> +SRCREV = "9158278ad35b46ce9a49b2e887483c6d8c287994"
> +PV = "0.2.8+git${SRCPV}"
>  
>  SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
>  "
> @@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
>  
>  inherit gettext autotools-brokensep pkgconfig
>  
> -EXTRA_OECONF_append_class-target = " --with-driver=redhat"
> +EXTRA_OECONF_append_class-target = " --with-driver=redhat --with-sysinit=systemd"

Does this bring in a hard dependency on systemd?

-J.

>  do_configure_prepend() {
>  	cd ${S}
>  	rm -f .gitmodules
> @@ -26,6 +26,9 @@ do_configure_prepend() {
>  }
>  
>  do_install_append() {
> -     mv ${D}${sysconfdir}/rc.d/init.d/ ${D}${sysconfdir}
> -     rm -rf ${D}${sysconfdir}/rc.d/
> +    install -d ${D}${systemd_unitdir}/system
> +    mv ${D}${libdir}/systemd/system/ ${D}${systemd_unitdir}/system
> +    rm -rf ${D}${libdir}/systemd/
>  }
> +
> +FILES_${PN} += "${systemd_unitdir}"
> -- 
> 1.8.4.2
> 
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150806/4b296779/attachment-0002.sig>


More information about the Openembedded-devel mailing list