openpower-software-manager: Support ubi and static layout
Move ubi and static specific configures into bbclass, and inherit the
bbclass in openpower-software-manager recipe.
Tested: Verify Romulus build uses the static bbclass, and Witherspoon
uses the ubi bbclass.
(From meta-openpower rev: 2c2604d36e9415396baf1936b07a6a974b376cd9)
Change-Id: I23f68486ab95802785f7c5c22232a9f2b76d0341
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openpower/classes/openpower-software-manager-static.bbclass b/meta-openpower/classes/openpower-software-manager-static.bbclass
new file mode 100644
index 0000000..4afb274
--- /dev/null
+++ b/meta-openpower/classes/openpower-software-manager-static.bbclass
@@ -0,0 +1,4 @@
+RDEPENDS_${PN} += "pflash"
+
+SYSTEMD_SERVICE_${PN} += "openpower-pnor-update@.service"
+