summaryrefslogtreecommitdiffstats
path: root/meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch
diff options
context:
space:
mode:
authorJate Sujjavanich <jatedev@gmail.com>2021-01-10 16:21:04 +0000
committerArmin Kuster <akuster808@gmail.com>2021-02-14 16:31:00 -0800
commit16ee7308c9fd48d69b02c5519d2e5edddc560658 (patch)
tree08ff29bf709487414e984ea0bf20bd3d70e8f3db /meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch
parent0a3c0f3499aa62bd41c52e958334586146e1e278 (diff)
downloadmeta-security-16ee7308c9fd48d69b02c5519d2e5edddc560658.tar.gz
scap-security-guide: Fix openembedded platform tests and build
Add patches to fix openembedded nodistro tests and openembedded build within ssg metadata. Signed-Off-By: Jate Sujjavanich <jatedev@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch')
-rw-r--r--meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch b/meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch
new file mode 100644
index 0000000..1e712f6
--- /dev/null
+++ b/meta-security-compliance/recipes-openscap/scap-security-guide/files/0002-Fix-missing-openembedded-from-ssg-constants.py.patch
@@ -0,0 +1,34 @@
1From 037a12301968a56f0c7e492ea4a05d2eecbd4cc6 Mon Sep 17 00:00:00 2001
2From: Jate Sujjavanich <jatedev@gmail.com>
3Date: Fri, 8 Jan 2021 20:18:00 -0500
4Subject: [PATCH 2/3] Fix missing openembedded from ssg/constants.py
5
6---
7 ssg/constants.py | 4 +++-
8 1 file changed, 3 insertions(+), 1 deletion(-)
9
10diff --git a/ssg/constants.py b/ssg/constants.py
11index fab7cda5d..2ca289f84 100644
12--- a/ssg/constants.py
13+++ b/ssg/constants.py
14@@ -234,7 +234,8 @@ PRODUCT_TO_CPE_MAPPING = {
15 }
16
17 MULTI_PLATFORM_LIST = ["rhel", "fedora", "rhosp", "rhv", "debian", "ubuntu",
18- "wrlinux", "opensuse", "sle", "ol", "ocp", "example"]
19+ "wrlinux", "opensuse", "sle", "ol", "ocp", "example",
20+ "openembedded"]
21
22 MULTI_PLATFORM_MAPPING = {
23 "multi_platform_debian": ["debian8"],
24@@ -249,6 +250,7 @@ MULTI_PLATFORM_MAPPING = {
25 "multi_platform_sle": ["sle11", "sle12"],
26 "multi_platform_ubuntu": ["ubuntu1404", "ubuntu1604", "ubuntu1804"],
27 "multi_platform_wrlinux": ["wrlinux"],
28+ "multi_platform_openembedded": ["openembedded"],
29 }
30
31 RHEL_CENTOS_CPE_MAPPING = {
32--
332.24.3 (Apple Git-128)
34