Patchwork [meta-oe,v2] 12/22] cronie: remove unneeded systemd code

login
register
mail settings
Submitter Andreas Müller
Date Feb. 16, 2012, 2:03 a.m.
Message ID <1329357796-27398-13-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/21329/
State Superseded, archived
Headers show

Comments

Andreas Müller - Feb. 16, 2012, 2:03 a.m.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../recipes-extended/cronie/cronie_1.4.8.bbappend  |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)
Otavio Salvador - Feb. 16, 2012, 10:06 a.m.
Acked-by: Otavio Salvador <otavio@ossystems.com.br>

On Thu, Feb 16, 2012 at 00:03, Andreas Müller
<schnitzeltony@googlemail.com>wrote:

> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  .../recipes-extended/cronie/cronie_1.4.8.bbappend  |   12 +-----------
>  1 files changed, 1 insertions(+), 11 deletions(-)
>
> diff --git a/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
> b/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
> index e0b9fb9..5aedb21 100644
> --- a/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
> +++ b/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
> @@ -1,7 +1,7 @@
>  # look for files in the layer first
>  FILESEXTRAPATHS := "${THISDIR}/${PN}"
>
> -PRINC = "1"
> +PRINC = "2"
>
>  inherit systemd
>
> @@ -9,13 +9,3 @@ SYSTEMD_PACKAGES = "${PN}-systemd"
>  SYSTEMD_SERVICE_${PN}-systemd = "crond.service"
>
>  SRC_URI += "file://crond.service"
> -
> -do_install_append() {
> -    install -d ${D}${base_libdir}/systemd/system
> -    install -m 644 ${WORKDIR}/crond.service
> ${D}${base_libdir}/systemd/system
> -}
> -
> -PACKAGES =+ "${PN}-systemd"
> -
> -FILES_${PN}-systemd += "${base_libdir}/systemd"
> -RDEPENDS_${PN}-systemd = "${PN}"
> --
> 1.7.4.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend b/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
index e0b9fb9..5aedb21 100644
--- a/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
+++ b/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend
@@ -1,7 +1,7 @@ 
 # look for files in the layer first
 FILESEXTRAPATHS := "${THISDIR}/${PN}"
 
-PRINC = "1"
+PRINC = "2"
 
 inherit systemd
 
@@ -9,13 +9,3 @@  SYSTEMD_PACKAGES = "${PN}-systemd"
 SYSTEMD_SERVICE_${PN}-systemd = "crond.service"
 
 SRC_URI += "file://crond.service"
-
-do_install_append() {
-    install -d ${D}${base_libdir}/systemd/system
-    install -m 644 ${WORKDIR}/crond.service ${D}${base_libdir}/systemd/system
-}
-
-PACKAGES =+ "${PN}-systemd"
-
-FILES_${PN}-systemd += "${base_libdir}/systemd"
-RDEPENDS_${PN}-systemd = "${PN}"