* [meta-oe/meta-systemd][PATCH 0/4] Tidy up for recent OE-Core changes
@ 2014-09-17 14:41 Paul Eggleton
2014-09-17 14:41 ` [meta-oe][PATCH 1/4] libunwind: remove as recipe is now in OE-Core Paul Eggleton
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-09-17 14:41 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit 28e26a9b0ad37d0c92ba42b2727215eef1edf5a2:
tcpslice: add recipe under tcpdump (2014-09-09 10:32:51 -0400)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib paule/cleanup5
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/cleanup5
Paul Eggleton (4):
libunwind: remove as recipe is now in OE-Core
dhcp: remove parts now merged into OE-Core recipe
portmap: systemd support now in OE-Core
keymaps: systemd support now in OE-Core
meta-oe/recipes-support/libunwind/libunwind.inc | 30 ----------------------
meta-oe/recipes-support/libunwind/libunwind_1.1.bb | 4 ---
.../recipes-bsp/keymaps/keymaps/keymaps.service | 9 -------
.../recipes-bsp/keymaps/keymaps_1.0.bbappend | 11 --------
.../recipes-connectivity/dhcp/dhcp/dhcpd.service | 12 ---------
.../dhcp/dhcp/dhcrelay.service | 10 --------
.../recipes-connectivity/dhcp/dhcp_%.bbappend | 23 +++--------------
.../portmap/portmap/portmap.service | 10 --------
.../portmap/portmap_6.0.bbappend | 11 --------
9 files changed, 3 insertions(+), 117 deletions(-)
delete mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
delete mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb
delete mode 100644 meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service
delete mode 100644 meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service
delete mode 100644 meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service
delete mode 100644 meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service
--
1.9.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [meta-oe][PATCH 1/4] libunwind: remove as recipe is now in OE-Core
2014-09-17 14:41 [meta-oe/meta-systemd][PATCH 0/4] Tidy up for recent OE-Core changes Paul Eggleton
@ 2014-09-17 14:41 ` Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 2/4] dhcp: remove parts now merged into OE-Core recipe Paul Eggleton
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-09-17 14:41 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta-oe/recipes-support/libunwind/libunwind.inc | 30 ----------------------
meta-oe/recipes-support/libunwind/libunwind_1.1.bb | 4 ---
2 files changed, 34 deletions(-)
delete mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
delete mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb
diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc
deleted file mode 100644
index b27b9e5..0000000
--- a/meta-oe/recipes-support/libunwind/libunwind.inc
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
-HOMEPAGE = "http://www.nongnu.org/libunwind"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
-
-SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
-
-inherit autotools
-
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,lzma"
-
-EXTRA_OECONF_arm = "--enable-debug-frame"
-
-CFLAGS += "${ATOMICOPS}"
-ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
-ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
-ATOMICOPS ?= ""
-
-LDFLAGS += "${LIBATOMICS}"
-LIBATOMICS_armv5 = "-latomic_ops"
-LIBATOMICS_armv4 = "-latomic_ops"
-LIBATOMICS ?= ""
-
-DEPENDS += "${DEPLIBATOMICS}"
-DEPLIBATOMICS_armv5 = "libatomics-ops"
-DEPLIBATOMICS_armv4 = "libatomics-ops"
-DEPLIBATOMICS ?= ""
-
-BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
deleted file mode 100644
index bc38e36..0000000
--- a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libunwind.inc
-
-SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
-SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"
--
1.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [meta-systemd][PATCH 2/4] dhcp: remove parts now merged into OE-Core recipe
2014-09-17 14:41 [meta-oe/meta-systemd][PATCH 0/4] Tidy up for recent OE-Core changes Paul Eggleton
2014-09-17 14:41 ` [meta-oe][PATCH 1/4] libunwind: remove as recipe is now in OE-Core Paul Eggleton
@ 2014-09-17 14:41 ` Paul Eggleton
2014-09-17 14:50 ` Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 3/4] portmap: systemd support now in OE-Core Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 4/4] keymaps: " Paul Eggleton
3 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2014-09-17 14:41 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
.../recipes-connectivity/dhcp/dhcp/dhcpd.service | 12 -----------
.../dhcp/dhcp/dhcrelay.service | 10 ----------
.../recipes-connectivity/dhcp/dhcp_%.bbappend | 23 +++-------------------
3 files changed, 3 insertions(+), 42 deletions(-)
delete mode 100644 meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service
delete mode 100644 meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service
deleted file mode 100644
index 70beee9..0000000
--- a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcpd.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[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
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service
deleted file mode 100644
index f68f468..0000000
--- a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhcrelay.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=DHCP Relay Agent Daemon
-After=syslog.target network.target
-
-[Service]
-EnvironmentFile=/etc/default/dhcp-relay
-ExecStart=/usr/sbin/dhcrelay -d $DHCRELAYARGS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend
index 1dd6d58..d2a577e 100644
--- a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend
+++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend
@@ -1,35 +1,18 @@
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-inherit systemd
-
-SYSTEMD_PACKAGES = "dhcp-server dhcp-relay dhcp-client"
-SYSTEMD_SERVICE_dhcp-server = "dhcpd.service"
-SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service"
+SYSTEMD_PACKAGES += "dhcp-client"
SYSTEMD_SERVICE_dhcp-client = "dhclient.service"
SYSTEMD_AUTO_ENABLE_dhcp-client = "disable"
-FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service"
-FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service"
FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service"
-RPROVIDES_dhcp-server += "dhcp-server-systemd"
-RREPLACES_dhcp-server += "dhcp-server-systemd"
-RCONFLICTS_dhcp-server += "dhcp-server-systemd"
-RPROVIDES_dhcp-relay += "dhcp-relay-systemd"
-RREPLACES_dhcp-relay += "dhcp-relay-systemd"
-RCONFLICTS_dhcp-relay += "dhcp-relay-systemd"
RPROVIDES_dhcp-client += "dhcp-client-systemd"
RREPLACES_dhcp-client += "dhcp-client-systemd"
RCONFLICTS_dhcp-client += "dhcp-client-systemd"
-SRC_URI += "file://dhcpd.service \
- file://dhclient.service \
- file://dhcrelay.service \
-"
+SRC_URI += "file://dhclient.service"
+
do_install_append() {
- install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/dhcpd.service ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/dhclient.service ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system
}
--
1.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [meta-systemd][PATCH 3/4] portmap: systemd support now in OE-Core
2014-09-17 14:41 [meta-oe/meta-systemd][PATCH 0/4] Tidy up for recent OE-Core changes Paul Eggleton
2014-09-17 14:41 ` [meta-oe][PATCH 1/4] libunwind: remove as recipe is now in OE-Core Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 2/4] dhcp: remove parts now merged into OE-Core recipe Paul Eggleton
@ 2014-09-17 14:41 ` Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 4/4] keymaps: " Paul Eggleton
3 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-09-17 14:41 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
.../recipes-connectivity/portmap/portmap/portmap.service | 10 ----------
.../oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend | 11 -----------
2 files changed, 21 deletions(-)
delete mode 100644 meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service
diff --git a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service
deleted file mode 100644
index cffb56c..0000000
--- a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap/portmap.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Portmap
-
-[Service]
-Type=oneshot
-ExecStart=/sbin/portmap -l
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend
index f13b511..6ce6e70 100644
--- a/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend
+++ b/meta-systemd/oe-core/recipes-connectivity/portmap/portmap_6.0.bbappend
@@ -1,16 +1,5 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
-
-inherit systemd
-
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "portmap.service"
SYSTEMD_AUTO_ENABLE = "disable"
-SRC_URI_append = " file://portmap.service"
-
-do_install_append() {
- install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/portmap.service ${D}${systemd_unitdir}/system
-}
--
1.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [meta-systemd][PATCH 4/4] keymaps: systemd support now in OE-Core
2014-09-17 14:41 [meta-oe/meta-systemd][PATCH 0/4] Tidy up for recent OE-Core changes Paul Eggleton
` (2 preceding siblings ...)
2014-09-17 14:41 ` [meta-systemd][PATCH 3/4] portmap: systemd support now in OE-Core Paul Eggleton
@ 2014-09-17 14:41 ` Paul Eggleton
3 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-09-17 14:41 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
.../oe-core/recipes-bsp/keymaps/keymaps/keymaps.service | 9 ---------
meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend | 11 -----------
2 files changed, 20 deletions(-)
delete mode 100644 meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service
diff --git a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service
deleted file mode 100644
index 414ad0c..0000000
--- a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Loads custom keymap if available
-ConditionPathExists=/etc/keymap-2.6.map
-
-[Service]
-ExecStart=/usr/bin/loadkeys /etc/keymap-2.6.map
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
index bc40c60..181b878 100644
--- a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
+++ b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
@@ -1,15 +1,4 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += " file://keymaps.service"
-
-inherit systemd
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "${PN}.service"
-
-do_install_append() {
- install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system
-}
--
1.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [meta-systemd][PATCH 2/4] dhcp: remove parts now merged into OE-Core recipe
2014-09-17 14:41 ` [meta-systemd][PATCH 2/4] dhcp: remove parts now merged into OE-Core recipe Paul Eggleton
@ 2014-09-17 14:50 ` Paul Eggleton
0 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-09-17 14:50 UTC (permalink / raw)
To: openembedded-devel
On Wednesday 17 September 2014 15:41:24 Paul Eggleton wrote:
> --- a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend
> +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend
> @@ -1,35 +1,18 @@
> # look for files in the layer first
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -inherit systemd
> -
> -SYSTEMD_PACKAGES = "dhcp-server dhcp-relay dhcp-client"
> -SYSTEMD_SERVICE_dhcp-server = "dhcpd.service"
> -SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service"
> +SYSTEMD_PACKAGES += "dhcp-client"
> SYSTEMD_SERVICE_dhcp-client = "dhclient.service"
> SYSTEMD_AUTO_ENABLE_dhcp-client = "disable"
>
> -FILES_dhcp-server += "${systemd_unitdir}/system/dhcpd.service"
> -FILES_dhcp-relay += "${systemd_unitdir}/system/dhrelay.service"
> FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service"
> -RPROVIDES_dhcp-server += "dhcp-server-systemd"
> -RREPLACES_dhcp-server += "dhcp-server-systemd"
> -RCONFLICTS_dhcp-server += "dhcp-server-systemd"
> -RPROVIDES_dhcp-relay += "dhcp-relay-systemd"
> -RREPLACES_dhcp-relay += "dhcp-relay-systemd"
> -RCONFLICTS_dhcp-relay += "dhcp-relay-systemd"
Oops, I got a bit carried away, the RPROVIDES/RREPLACES/RCONFLICTS lines
should not be removed. I have updated this commit on the branch to leave them
in.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-09-17 14:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17 14:41 [meta-oe/meta-systemd][PATCH 0/4] Tidy up for recent OE-Core changes Paul Eggleton
2014-09-17 14:41 ` [meta-oe][PATCH 1/4] libunwind: remove as recipe is now in OE-Core Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 2/4] dhcp: remove parts now merged into OE-Core recipe Paul Eggleton
2014-09-17 14:50 ` Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 3/4] portmap: systemd support now in OE-Core Paul Eggleton
2014-09-17 14:41 ` [meta-systemd][PATCH 4/4] keymaps: " Paul Eggleton
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.