All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/1] SystemD support for dhcp server
@ 2011-11-07 14:33 Otavio Salvador
  2011-11-07 14:33 ` [meta-oe][PATCH 1/1] dhcp: add system support to dhcp-server Otavio Salvador
  2011-11-07 15:49 ` [meta-oe][PATCH 0/1] SystemD support for dhcp server Koen Kooi
  0 siblings, 2 replies; 4+ messages in thread
From: Otavio Salvador @ 2011-11-07 14:33 UTC (permalink / raw)
  To: openembedded-devel

The following changes since commit 81a402b1f62a2d0cdbf6713c11ae5c6d6c22346f:

  ca-certificates: update to 20111025 and clean up packaging (2011-11-07 11:52:31 +0100)

are available in the git repository at:
  git://github.com/OSSystems/meta-oe master
  https://github.com/OSSystems/meta-oe/tree/master

Otavio Salvador (1):
  dhcp: add system support to dhcp-server

 .../recipes-connectivity/dhcp/dhcp_4.2.0.bbappend  |   19 +++++++++++++++++++
 .../recipes-connectivity/dhcp/files/dhcpd.service  |   12 ++++++++++++
 2 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
 create mode 100644 meta-oe/recipes-connectivity/dhcp/files/dhcpd.service

-- 
1.7.2.5




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [meta-oe][PATCH 1/1] dhcp: add system support to dhcp-server
  2011-11-07 14:33 [meta-oe][PATCH 0/1] SystemD support for dhcp server Otavio Salvador
@ 2011-11-07 14:33 ` Otavio Salvador
  2011-11-07 18:05   ` Paul Menzel
  2011-11-07 15:49 ` [meta-oe][PATCH 0/1] SystemD support for dhcp server Koen Kooi
  1 sibling, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2011-11-07 14:33 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../recipes-connectivity/dhcp/dhcp_4.2.0.bbappend  |   19 +++++++++++++++++++
 .../recipes-connectivity/dhcp/files/dhcpd.service  |   12 ++++++++++++
 2 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
 create mode 100644 meta-oe/recipes-connectivity/dhcp/files/dhcpd.service

diff --git a/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend b/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
new file mode 100644
index 0000000..d47f1ce
--- /dev/null
+++ b/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
@@ -0,0 +1,19 @@
+# look for files in the layer first
+FILESEXTRAPATHS := "${THISDIR}/files"
+
+inherit systemd
+
+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"
diff --git a/meta-oe/recipes-connectivity/dhcp/files/dhcpd.service b/meta-oe/recipes-connectivity/dhcp/files/dhcpd.service
new file mode 100644
index 0000000..70beee9
--- /dev/null
+++ b/meta-oe/recipes-connectivity/dhcp/files/dhcpd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Dynamic Host Configuration Protocol (DHCP)
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/dhcpd.pid
+EnvironmentFile=-/etc/default/dhcp-server
+ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -q $INTERFACES
+
+[Install]
+WantedBy=multi-user.target
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH 0/1] SystemD support for dhcp server
  2011-11-07 14:33 [meta-oe][PATCH 0/1] SystemD support for dhcp server Otavio Salvador
  2011-11-07 14:33 ` [meta-oe][PATCH 1/1] dhcp: add system support to dhcp-server Otavio Salvador
@ 2011-11-07 15:49 ` Koen Kooi
  1 sibling, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2011-11-07 15:49 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 07-11-11 15:33, Otavio Salvador schreef:
> The following changes since commit
> 81a402b1f62a2d0cdbf6713c11ae5c6d6c22346f:
> 
> ca-certificates: update to 20111025 and clean up packaging (2011-11-07
> 11:52:31 +0100)

FWIW, systemd is spelled 'systemd', not 'systemD'


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFOt/4eMkyGM64RGpERAvnCAKCb+JLJp22J5DK16e15GkkoTRmbaACfbqp0
Uwm9UE5WfpCYZ789xzutMzk=
=mN0/
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oe][PATCH 1/1] dhcp: add system support to dhcp-server
  2011-11-07 14:33 ` [meta-oe][PATCH 1/1] dhcp: add system support to dhcp-server Otavio Salvador
@ 2011-11-07 18:05   ` Paul Menzel
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Menzel @ 2011-11-07 18:05 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

Dear Otavio,


thank you for the patch. system*d* in the commit summary.

Am Montag, den 07.11.2011, 14:33 +0000 schrieb Otavio Salvador:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  .../recipes-connectivity/dhcp/dhcp_4.2.0.bbappend  |   19 +++++++++++++++++++
>  .../recipes-connectivity/dhcp/files/dhcpd.service  |   12 ++++++++++++
>  2 files changed, 31 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend
>  create mode 100644 meta-oe/recipes-connectivity/dhcp/files/dhcpd.service

[…]

> diff --git a/meta-oe/recipes-connectivity/dhcp/files/dhcpd.service b/meta-oe/recipes-connectivity/dhcp/files/dhcpd.service
> new file mode 100644
> index 0000000..70beee9
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/dhcp/files/dhcpd.service
> @@ -0,0 +1,12 @@
> +[Unit]
> +Description=Dynamic Host Configuration Protocol (DHCP)
> +After=syslog.target network.target
> +
> +[Service]
> +Type=forking
> +PIDFile=/var/run/dhcpd.pid
> +EnvironmentFile=-/etc/default/dhcp-server
> +ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -q $INTERFACES
> +
> +[Install]
> +WantedBy=multi-user.target

Did you write this yourself or did you get it from somewhere? Is
upstream aware of this?


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-07 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-07 14:33 [meta-oe][PATCH 0/1] SystemD support for dhcp server Otavio Salvador
2011-11-07 14:33 ` [meta-oe][PATCH 1/1] dhcp: add system support to dhcp-server Otavio Salvador
2011-11-07 18:05   ` Paul Menzel
2011-11-07 15:49 ` [meta-oe][PATCH 0/1] SystemD support for dhcp server Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.