Package init
This commit is contained in:
parent
9a2f65ac3a
commit
7bf49e513a
13
productmd-add-support-generic-os.patch
Normal file
13
productmd-add-support-generic-os.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -uNrp a/productmd/treeinfo.py b/productmd/treeinfo.py
|
||||
--- a/productmd/treeinfo.py 2016-11-15 15:04:26.000000000 +0000
|
||||
+++ b/productmd/treeinfo.py 2019-01-10 16:44:48.998592066 +0000
|
||||
@@ -245,6 +245,9 @@ class Release(BaseProduct):
|
||||
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"
|
||||
else:
|
||||
self.short = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user