Patchwork [[meta-oe,meta-efl] 05/15] systemd-machine-units: add machine specific recipe for BSPs

login
register
mail settings
Submitter Martin Jansa
Date April 26, 2012, 12:50 p.m.
Message ID <7f237b806e38ddfe5c0fdd511a615c75cdaed82e.1335444528.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/26435/
State Accepted
Commit 7f237b806e38ddfe5c0fdd511a615c75cdaed82e
Headers show

Comments

Martin Jansa - April 26, 2012, 12:50 p.m.
* some machines like n900/gta02/palmpre are using extra units to
  initialize something (g_ether, cmt, ...), so make it easy to bbappend
  such units
* stuff like INHERIT_append_crespo = " systemd" from BSP doesn't play well with systemd.bbclass

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../systemd/systemd-machine-units_1.0.bb           |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-core/systemd/systemd-machine-units_1.0.bb

Patch

diff --git a/meta-oe/recipes-core/systemd/systemd-machine-units_1.0.bb b/meta-oe/recipes-core/systemd/systemd-machine-units_1.0.bb
new file mode 100644
index 0000000..f223364
--- /dev/null
+++ b/meta-oe/recipes-core/systemd/systemd-machine-units_1.0.bb
@@ -0,0 +1,12 @@ 
+DESCRIPTION = "Machine specific systemd units"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit systemd
+SYSTEMD_SERVICE = ""
+SYSTEMD_PACKAGES = "${PN}"
+NATIVE_SYSTEMD_SUPPORT = "1"
+ALLOW_EMPTY_${PN} = "1"