From 7bf49e513af7b3f9deab92cc8b52498f319aac94 Mon Sep 17 00:00:00 2001 From: dogsheng <960055655@qq.com> Date: Tue, 19 Nov 2019 14:56:58 +0800 Subject: [PATCH] Package init --- productmd-add-support-generic-os.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 productmd-add-support-generic-os.patch diff --git a/productmd-add-support-generic-os.patch b/productmd-add-support-generic-os.patch new file mode 100644 index 0000000..4b1e6ab --- /dev/null +++ b/productmd-add-support-generic-os.patch @@ -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 +