[PATCH openbmc 13/20] Add skeleton recipe
OpenBMC Patches
patches at stwcx.xyz
Wed Oct 21 06:19:51 AEDT 2015
From: Adriana Kobylak <anoo at us.ibm.com>
---
.../common/recipes-phosphor/skeleton/skeleton.bb | 27 ++++++++++++++++++++++
.../skeleton/skeleton/skeleton.service | 8 +++++++
2 files changed, 35 insertions(+)
create mode 100644 meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
create mode 100755 meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
new file mode 100644
index 0000000..ccc5ed1
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Temp placeholder for skeleton function"
+DESCRIPTION = "Temp placeholder for skeleton repository"
+HOMEPAGE = "http://github.com/openbmc/skeleton"
+PR = "r1"
+
+inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
+
+DEPENDS += "glib-2.0"
+RDEPENDS_${PN} += "python-subprocess"
+SRC_URI += "git://github.com/openbmc/skeleton"
+
+SRCREV = "18d4591170779ceb81158c650d31c6c59115b2f2"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+ oe_runmake all
+}
+
+do_install() {
+ install -d ${D}/${sbindir} ${D}${libdir}
+ for i in ${S}/bin/*.py ${S}/bin/*.exe ${S}/bin/tftpy/*.py; do
+ install $i ${D}/${sbindir}
+ done
+ install ${S}/bin/libopenbmc_intf.so ${D}/${libdir}
+}
diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
new file mode 100755
index 0000000..545a1f2
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
@@ -0,0 +1,8 @@
+[Unit]
+Description="Temp placeholder for skeleton function"
+
+[Service]
+ExecStart=/usr/sbin/system_manager.py Palmetto
+
+[Install]
+WantedBy=multi-user.target
--
2.6.0
More information about the openbmc
mailing list