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-ubi.bbclass b/classes/openpower-software-manager-ubi.bbclass
index 7ff62be..7167b88 100644
--- a/classes/openpower-software-manager-ubi.bbclass
+++ b/classes/openpower-software-manager-ubi.bbclass
@@ -7,7 +7,6 @@
obmc-flash-bios-ubiumount-rw@.service \
obmc-flash-bios-ubipatch.service \
obmc-flash-bios-ubiremount.service \
- obmc-flash-bios-updatesymlinks.service \
obmc-flash-bios-cleanup.service \
obmc-flash-bios-enable-clearvolatile@.service \
obmc-flash-bios-check-clearvolatile@.service \
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 \
+ "