2023-07-29 10:43:34 +08:00
|
|
|
diff --git a/productmd/treeinfo.py b/productmd/treeinfo.py
|
|
|
|
|
index 4ba6e9d..27927a4 100644
|
|
|
|
|
--- a/productmd/treeinfo.py
|
|
|
|
|
+++ b/productmd/treeinfo.py
|
|
|
|
|
@@ -260,6 +260,9 @@ class Release(BaseProduct):
|
2020-10-20 14:52:06 +08:00
|
|
|
elif self.name.startswith("CentOS"):
|
|
|
|
|
self.name = "CentOS"
|
|
|
|
|
self.short = "CentOS"
|
|
|
|
|
+ elif self.name.startswith("generic_os"):
|
|
|
|
|
+ self.name = "generic_os"
|
|
|
|
|
+ self.short = "generic_os"
|
2023-07-29 10:43:34 +08:00
|
|
|
elif self.name.startswith("EulerOS"):
|
|
|
|
|
self.name = "EulerOS"
|
|
|
|
|
self.short = "EulerOS"
|
|
|
|
|
--
|
|
|
|
|
2.27.0
|
|
|
|
|
|