openpower-software-manager: New virtual pnor bbclass
Create a new virtual pnor bbclass to hold the updatesymlinks systemd
service file. This service file was moved because it doesn't depend
on the filesystem layout. Enable it if the virtual-pnor distro feature
is selected.
Tested: Verified the service file was still present on witherspoon
since the virtual pnor distro feature is part of ubi.
Change-Id: Ic19e4d1c1690db6ff0cafe7b87bc056e4be2dab0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/classes/openpower-software-manager-virtual-pnor.bbclass b/classes/openpower-software-manager-virtual-pnor.bbclass
new file mode 100644
index 0000000..c83f4aa
--- /dev/null
+++ b/classes/openpower-software-manager-virtual-pnor.bbclass
@@ -0,0 +1,5 @@
+PACKAGECONFIG_append = " virtual_pnor"
+
+SYSTEMD_SERVICE_${PN} += " \
+ obmc-vpnor-updatesymlinks.service \
+ "