[oe-commits] Andreas Müller : dhcp: remove unneeded systemd code

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 17:02:32 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 55745d1aecea580fc4a7d178f8fdb425eacead4d
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=55745d1aecea580fc4a7d178f8fdb425eacead4d

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Thu Feb 16 02:03:12 2012 +0000

dhcp: remove unneeded systemd code

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../recipes-connectivity/dhcp/dhcp_4.2.0.bbappend  |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend b/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
index 4344eaa..829ad3c 100644
--- a/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
+++ b/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
@@ -3,19 +3,9 @@ FILESEXTRAPATHS := "${THISDIR}/files"
 
 inherit systemd
 
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
 
 SYSTEMD_PACKAGES = "dhcp-server-systemd"
 SYSTEMD_SERVICE_dhcp-server-systemd = "dhcpd.service"
 
 SRC_URI += "file://dhcpd.service"
-
-do_install_append() {
-    install -d ${D}${base_libdir}/systemd/system
-    install -m 644 ${WORKDIR}/dhcpd.service ${D}${base_libdir}/systemd/system
-}
-
-PACKAGES =+ "dhcp-server-systemd"
-
-FILES_dhcp-server-systemd += "${base_libdir}/systemd"
-RDEPENDS_dhcp-server-systemd += "dhcp-server"





More information about the Openembedded-commits mailing list