fbyv2: fix product name regex
The previous regex was too wide open and matched on many devices that
were not a Yosemite V2 baseboard. ".*MP" matches any "Mass Production"
system designation at Facebook. Switch the regex to match on the
product name instead.
I checked a system in our lab and the product value was:
"Yosemite V2 PVT"
The regex selected here should match a Yv2 at any release phase.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9c978d6c33b590a29d5850e2bd7edef9b5c94d9b
diff --git a/configurations/FBYV2.json b/configurations/FBYV2.json
index b64dd13..487d9d5 100644
--- a/configurations/FBYV2.json
+++ b/configurations/FBYV2.json
@@ -570,7 +570,7 @@
}
],
"Name": "Yosemite V2 Baseboard",
- "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': '.*MP'})",
+ "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'Yosemite V2 .*'})",
"Type": "Board",
"xyz.openbmc_project.Inventory.Decorator.Asset": {
"Manufacturer": "$PRODUCT_MANUFACTURER",