openpower-pnor-code-mgmt: Initial recipe

Create recipe for the openpower-pnor-code-mgmt repo.
Move the pnor-specific service files from the phosphor
layer to the open-power one.
Add the new openpower-software-manager to packagegroups.

Change-Id: Iab47b82e6872f7f92aed6260c51eaf0acf744aeb
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/common/recipes-phosphor/flash/openpower-software-manager.bb b/common/recipes-phosphor/flash/openpower-software-manager.bb
new file mode 100644
index 0000000..f824835
--- /dev/null
+++ b/common/recipes-phosphor/flash/openpower-software-manager.bb
@@ -0,0 +1,37 @@
+SUMMARY = "OpenPower Software Management"
+DESCRIPTION = "OpenPower Software Manager provides a set of host software \
+management daemons. It is suitable for use on a wide variety of OpenPower \
+platforms."
+HOMEPAGE = "https://github.com/openbmc/openpower-pnor-code-mgmt"
+PR = "r1"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+inherit autotools pkgconfig
+inherit obmc-phosphor-dbus-service
+
+DEPENDS += " \
+        autoconf-archive-native \
+        phosphor-dbus-interfaces \
+        phosphor-logging \
+        sdbusplus \
+        "
+
+RDEPENDS_${PN} += " \
+        mtd-utils-ubifs \
+        phosphor-dbus-interfaces \
+        phosphor-logging \
+        sdbusplus \
+        "
+
+DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service"
+SYSTEMD_SERVICE_${PN} += " \
+        obmc-flash-bios-ubiattach.service \
+        obmc-flash-bios-ubimount@.service \
+        obmc-flash-bios-squashfsmount@.service \
+        "
+
+SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt"
+SRCREV = "1e9b7163913b1e64766a4263bc47e6cff5af3120"
+
+S = "${WORKDIR}/git"