Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 1fbb446d1849b1208012cbdae5d85d228cdbe4a6 Mon Sep 17 00:00:00 2001
|
||||
From: First Last <first.last@example.com>
|
||||
Date: Tue, 29 Aug 2023 13:32:24 -0400
|
||||
Subject: [PATCH] selftest-hello: add a summary
|
||||
|
||||
This patch should fail the selftests because the author address is from the
|
||||
invalid "example.com".
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..491f0a3df7 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
+SUMMARY = "A cool sample"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 1fbb446d1849b1208012cbdae5d85d228cdbe4a6 Mon Sep 17 00:00:00 2001
|
||||
From: First Last <first.last@address.com>
|
||||
Date: Tue, 29 Aug 2023 13:32:24 -0400
|
||||
Subject: [PATCH] selftest-hello: add a summary
|
||||
|
||||
This patch should pass the selftests because the author address is in a valid format.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..491f0a3df7 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
+SUMMARY = "A cool sample"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 1fbb446d1849b1208012cbdae5d85d228cdbe4a6 Mon Sep 17 00:00:00 2001
|
||||
From: Upgrade Helper <auh@auh.yoctoproject.org>
|
||||
Date: Tue, 29 Aug 2023 13:32:24 -0400
|
||||
Subject: [PATCH] selftest-hello: add a summary
|
||||
|
||||
This patch should fail the selftests because AUH is an invalid sender.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..491f0a3df7 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
+SUMMARY = "A cool sample"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 1fbb446d1849b1208012cbdae5d85d228cdbe4a6 Mon Sep 17 00:00:00 2001
|
||||
From: First Last <averylongemailaddressthatishardtoread.from@address.com>
|
||||
Date: Tue, 29 Aug 2023 13:32:24 -0400
|
||||
Subject: [PATCH] selftest-hello: add a summary
|
||||
|
||||
This patch should pass the selftests because the author address is in a valid format.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..491f0a3df7 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
+SUMMARY = "A cool sample"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From fdfd605e565d874502522c4b70b786c8c5aa0bad Mon Sep 17 00:00:00 2001
|
||||
From: name@somedomain.com <email@address.com>
|
||||
Date: Fri, 17 Feb 2017 16:29:21 -0600
|
||||
Subject: [PATCH] README: adds 'foo' to the header
|
||||
|
||||
This test patch adds 'foo' to the header
|
||||
|
||||
[YOCTO 1234]
|
||||
|
||||
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
---
|
||||
README | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/README b/README
|
||||
index 521916cd4f..cdf29dcea3 100644
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -1,3 +1,4 @@
|
||||
+**** FOO ****
|
||||
OpenEmbedded-Core
|
||||
=================
|
||||
|
||||
--
|
||||
2.11.0
|
||||
@@ -0,0 +1,25 @@
|
||||
From fdfd605e565d874502522c4b70b786c8c5aa0bad Mon Sep 17 00:00:00 2001
|
||||
From: name@somedomain.com <email@address.com>
|
||||
Date: Fri, 17 Feb 2017 16:29:21 -0600
|
||||
Subject: [PATCH] README: adds 'foo' to the header
|
||||
|
||||
This test patch adds 'foo' to the header
|
||||
|
||||
[YOCTO #1234]
|
||||
|
||||
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
---
|
||||
README | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/README b/README
|
||||
index 521916cd4f..cdf29dcea3 100644
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -1,3 +1,4 @@
|
||||
+**** FOO ****
|
||||
OpenEmbedded-Core
|
||||
=================
|
||||
|
||||
--
|
||||
2.11.0
|
||||
@@ -0,0 +1,22 @@
|
||||
From 0a52a62c9430c05d22cb7f46380488f2280b69bb Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Fri, 1 Sep 2023 08:56:14 -0400
|
||||
Subject: [PATCH] README.OE-Core.md: add foo
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
README.OE-Core.md | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/README.OE-Core.md b/README.OE-Core.md
|
||||
index 2f2127fb03..48464252c8 100644
|
||||
--- a/README.OE-Core.md
|
||||
+++ b/README.OE-Core.md
|
||||
@@ -1,3 +1,4 @@
|
||||
+** FOO **
|
||||
OpenEmbedded-Core
|
||||
=================
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From 0a52a62c9430c05d22cb7f46380488f2280b69bb Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Fri, 1 Sep 2023 08:56:14 -0400
|
||||
Subject: [PATCH] README.OE-Core.md: add foo
|
||||
|
||||
This is a commit message
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
README.OE-Core.md | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/README.OE-Core.md b/README.OE-Core.md
|
||||
index 2f2127fb03..48464252c8 100644
|
||||
--- a/README.OE-Core.md
|
||||
+++ b/README.OE-Core.md
|
||||
@@ -1,3 +1,4 @@
|
||||
+** FOO **
|
||||
OpenEmbedded-Core
|
||||
=================
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From d12db4cfa913b0e7a4b5bd858d3019acc53ce426 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Wed, 30 Aug 2023 12:15:00 -0400
|
||||
Subject: [PATCH] selftest-hello: upgrade 1.0 -> 1.1
|
||||
|
||||
This test should fail the mbox formatting test and the merge on head
|
||||
test.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../{selftest-hello_1.0.bb => selftest-hello_1.1.bb} | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
rename meta-selftest/recipes-test/selftest-hello/{selftest-hello_1.0.bb => selftest-hello_1.1.bb} (88%)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
similarity index 88%
|
||||
rename from meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
rename to meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
index 547587bef4..acc388ec2c 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
%+SUMMARY = "Hello!"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From d12db4cfa913b0e7a4b5bd858d3019acc53ce426 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Wed, 30 Aug 2023 12:15:00 -0400
|
||||
Subject: [PATCH] selftest-hello: upgrade 1.0 -> 1.1
|
||||
|
||||
This test should fail the merge-on-head and mbox formatting tests.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../{selftest-hello_1.0.bb => selftest-hello_1.1.bb} | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
rename meta-selftest/recipes-test/selftest-hello/{selftest-hello_1.0.bb => selftest-hello_1.1.bb} (88%)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
similarity index 88%
|
||||
rename from meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
rename to meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
index 547587bef4..acc388ec2c 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
%+SUMMARY = "Hello!"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From d12db4cfa913b0e7a4b5bd858d3019acc53ce426 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Wed, 30 Aug 2023 12:15:00 -0400
|
||||
Subject: [PATCH] selftest-hello: upgrade 1.0 -> 1.1
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../{selftest-hello_1.0.bb => selftest-hello_1.1.bb} | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
rename meta-selftest/recipes-test/selftest-hello/{selftest-hello_1.0.bb => selftest-hello_1.1.bb} (88%)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
similarity index 88%
|
||||
rename from meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
rename to meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
index 547587bef4..acc388ec2c 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
+SUMMARY = "Hello!"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From d12db4cfa913b0e7a4b5bd858d3019acc53ce426 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Wed, 30 Aug 2023 12:15:00 -0400
|
||||
Subject: [PATCH] selftest-hello: upgrade 1.0 -> 1.1
|
||||
|
||||
This file should pass the test_series_merge_on_head test.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../{selftest-hello_1.0.bb => selftest-hello_1.1.bb} | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
rename meta-selftest/recipes-test/selftest-hello/{selftest-hello_1.0.bb => selftest-hello_1.1.bb} (88%)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
similarity index 88%
|
||||
rename from meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
rename to meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
index 547587bef4..acc388ec2c 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.1.bb
|
||||
@@ -1,3 +1,4 @@
|
||||
+SUMMARY = "Hello!"
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
@@ -16,4 +17,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 55208224f492af0ad929555ffc9b95ff1d301c5f Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Thu, 17 Aug 2023 15:02:38 -0400
|
||||
Subject: [PATCH] python3-dtc: upgrade 1.6.1 -> 1.7.0
|
||||
|
||||
Changelog: https://kernel.googlesource.com/pub/scm/utils/dtc/dtc/+log/039a99414e778332d8f9c04cbd3072e1dcc62798
|
||||
|
||||
Remove custom PV from the recipe since the relevant functionality is in
|
||||
1.7.0:
|
||||
|
||||
[tgamblin@megalith dtc]$ git tag --contains c001fc01a43e7a06447c06ea3d50bd60641322b8
|
||||
v1.7.0
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
---
|
||||
.../python/{python3-dtc_1.6.1.bb => python3-dtc_1.7.0.bb} | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
rename meta/recipes-devtools/python/{python3-dtc_1.6.1.bb => python3-dtc_1.7.0.bb} (92%)
|
||||
|
||||
diff --git a/meta/recipes-devtools/python/python3-dtc_1.6.1.bb b/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
|
||||
similarity index 92%
|
||||
rename from meta/recipes-devtools/python/python3-dtc_1.6.1.bb
|
||||
rename to meta/recipes-devtools/python/python3-dtc_1.7.0.bb
|
||||
index 95ab0be474..85e48d4694 100644
|
||||
--- a/meta/recipes-devtools/python/python3-dtc_1.6.1.bb
|
||||
+++ b/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
|
||||
@@ -14,9 +14,8 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
|
||||
|
||||
-SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8"
|
||||
+SRCREV = "039a99414e778332d8f9c04cbd3072e1dcc62798"
|
||||
|
||||
-PV = "1.6.1+git"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
From 35ccee3cee96fb29514475279248078d88907231 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello% fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../files/0001-Fix-CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..9219b8db62
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
+
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
From 35ccee3cee96fb29514475279248078d88907231 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../files/0001-Fix-CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..9219b8db62
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
+
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
From 35ccee3cee96fb29514475279248078d88907231 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: this is a very long commit shortlog with way too many words included in it to pass the test
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../files/0001-Fix-CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..9219b8db62
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
+
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://0001-Fix-CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
From 35ccee3cee96fb29514475279248078d88907231 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../files/0001-Fix-CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..9219b8db62
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
+
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
From 14d72f6973270f78455a8628143f2cff90e8f41e Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
---
|
||||
.../selftest-hello/files/CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..869cfb6fe5
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
From 14d72f6973270f78455a8628143f2cff90e8f41e Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Approved: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../selftest-hello/files/CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..869cfb6fe5
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
From 14d72f6973270f78455a8628143f2cff90e8f41e Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../selftest-hello/files/CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..869cfb6fe5
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From c4ca86b9cca3643097db0328e2f34dccffbba309 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Simone=20Wei=C3=9F?= <simone.p.weiss@posteo.com>
|
||||
Date: Sat, 10 Feb 2024 13:18:44 +0100
|
||||
Subject: [PATCH] selftest-hello: add CVE_CHECK_IGNORE
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This should fail the test_cve_tag_format selftest.
|
||||
|
||||
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..3ef9b87c34 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -16,4 +16,5 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+CVE_CHECK_IGNORE = "CVE-2024-12345"
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 7d4d3fee0c7111830ee9b2b049ae3ce265b26030 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Simone=20Wei=C3=9F?= <simone.p.weiss@posteo.com>
|
||||
Date: Sat, 10 Feb 2024 13:23:56 +0100
|
||||
Subject: [PATCH] selftest-hello: add CVE_STATUS
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This should pass the test_cve_tag_format selftest.
|
||||
|
||||
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..9908b3b417 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -16,4 +16,6 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+CVE_STATUS[CVE-2024-12345] = "not-applicable-platform: Issue only applies on Windows"
|
||||
+
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From f89919ea86d38404dd621521680a0162367bb965 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Wed, 6 Sep 2023 09:09:27 -0400
|
||||
Subject: [PATCH] selftest-hello: update LIC_FILES_CHKSUM
|
||||
|
||||
This test should fail the
|
||||
test_metadata_lic_files_chksum.LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned
|
||||
test.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..65dda40aba 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -1,7 +1,7 @@
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f303"
|
||||
|
||||
SRC_URI = "file://helloworld.c"
|
||||
|
||||
@@ -16,4 +16,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From f89919ea86d38404dd621521680a0162367bb965 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Wed, 6 Sep 2023 09:09:27 -0400
|
||||
Subject: [PATCH] selftest-hello: update LIC_FILES_CHKSUM
|
||||
|
||||
License-Update: Fix checksum
|
||||
|
||||
This test should pass the
|
||||
test_metadata_lic_files_chksum.LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned
|
||||
test.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..65dda40aba 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -1,7 +1,7 @@
|
||||
DESCRIPTION = "Simple helloworld application -- selftest variant"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f303"
|
||||
|
||||
SRC_URI = "file://helloworld.c"
|
||||
|
||||
@@ -16,4 +16,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
From 66430e7c6fbd5187b66560909a510e136fed91c0 Mon Sep 17 00:00:00 2001
|
||||
From: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
Date: Thu, 23 Feb 2017 10:34:27 -0600
|
||||
Subject: [PATCH] meta: adding hello-yocto recipe
|
||||
|
||||
This is a sample recipe
|
||||
|
||||
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
---
|
||||
.../hello-world/hello-world/hello_world.c | 5 +++++
|
||||
.../hello-world/hello-world_1.0.bb | 18 ++++++++++++++++++
|
||||
2 files changed, 23 insertions(+)
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world/hello_world.c b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
new file mode 100644
|
||||
index 0000000000..0d59f57d4c
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
@@ -0,0 +1,5 @@
|
||||
+#include <stdio.h>
|
||||
+
|
||||
+int main(){
|
||||
+ printf("Hello World\n");
|
||||
+}
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world_1.0.bb b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
new file mode 100644
|
||||
index 0000000000..3c990c108a
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
@@ -0,0 +1,18 @@
|
||||
+SUMMARY = "This is a sample summary"
|
||||
+DESCRIPTION = "This is a sample description"
|
||||
+HOMEPAGE = "https://sample.com/this-is-a-sample"
|
||||
+LICENSE = "MIT"
|
||||
+
|
||||
+SRC_URI += "file://hello_world.c"
|
||||
+
|
||||
+SRC_URI[md5sum] = "4ee21e9dcc9b5b6012c23038734e1632"
|
||||
+SRC_URI[sha256sum] = "edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e"
|
||||
+
|
||||
+do_compile(){
|
||||
+ ${CC} -o hello_world ../hello_world.c
|
||||
+}
|
||||
+
|
||||
+do_install(){
|
||||
+ install -d ${D}${bindir}
|
||||
+ install -m +x hello_world ${D}${bindir}/hello_world
|
||||
+}
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
From 5144d2ba1aa763312c047dd5f8901368cff79da6 Mon Sep 17 00:00:00 2001
|
||||
From: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
Date: Thu, 23 Feb 2017 10:34:27 -0600
|
||||
Subject: [PATCH] meta: adding hello-yocto recipe
|
||||
|
||||
This is a sample recipe
|
||||
|
||||
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
---
|
||||
.../hello-world/hello-world/hello_world.c | 5 +++++
|
||||
.../hello-world/hello-world_1.0.bb | 19 +++++++++++++++++++
|
||||
2 files changed, 24 insertions(+)
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world/hello_world.c b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
new file mode 100644
|
||||
index 0000000000..0d59f57d4c
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
@@ -0,0 +1,5 @@
|
||||
+#include <stdio.h>
|
||||
+
|
||||
+int main(){
|
||||
+ printf("Hello World\n");
|
||||
+}
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world_1.0.bb b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
new file mode 100644
|
||||
index 0000000000..44d888c82a
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
@@ -0,0 +1,19 @@
|
||||
+SUMMARY = "This is a sample summary"
|
||||
+DESCRIPTION = "This is a sample description"
|
||||
+HOMEPAGE = "https://sample.com/this-is-a-sample"
|
||||
+LICENSE = "MIT"
|
||||
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
+
|
||||
+SRC_URI += "file://hello_world.c"
|
||||
+
|
||||
+SRC_URI[md5sum] = "4ee21e9dcc9b5b6012c23038734e1632"
|
||||
+SRC_URI[sha256sum] = "edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e"
|
||||
+
|
||||
+do_compile(){
|
||||
+ ${CC} -o hello_world ../hello_world.c
|
||||
+}
|
||||
+
|
||||
+do_install(){
|
||||
+ install -d ${D}${bindir}
|
||||
+ install -m +x hello_world ${D}${bindir}/hello_world
|
||||
+}
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 4ab06b5f81455249cd5e89d2cce9863803b5ecb5 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Fri, 8 Sep 2023 14:41:00 -0400
|
||||
Subject: [PATCH] selftest-hello: remove helloworld.c
|
||||
|
||||
This should fail the test_src_uri_left_files selftest.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..f6817f05bc 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,8 +3,6 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
-
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
@@ -16,4 +14,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
From 6c7ac367a873bf827c19b81085c943eace917a99 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Fri, 8 Sep 2023 14:41:00 -0400
|
||||
Subject: [PATCH] selftest-hello: remove helloworld.c
|
||||
|
||||
This should pass the test_src_uri_left_files selftest.
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../recipes-test/selftest-hello/files/helloworld.c | 8 --------
|
||||
.../recipes-test/selftest-hello/selftest-hello_1.0.bb | 4 +---
|
||||
2 files changed, 1 insertion(+), 11 deletions(-)
|
||||
delete mode 100644 meta-selftest/recipes-test/selftest-hello/files/helloworld.c
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/helloworld.c b/meta-selftest/recipes-test/selftest-hello/files/helloworld.c
|
||||
deleted file mode 100644
|
||||
index fc7169b7b8..0000000000
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/files/helloworld.c
|
||||
+++ /dev/null
|
||||
@@ -1,8 +0,0 @@
|
||||
-#include <stdio.h>
|
||||
-
|
||||
-int main(void)
|
||||
-{
|
||||
- printf("Hello world!\n");
|
||||
-
|
||||
- return 0;
|
||||
-}
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..f6817f05bc 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,8 +3,6 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
-
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
@@ -16,4 +14,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From e29da5faa74409be394caa09d9f3b7b60f8592b9 Mon Sep 17 00:00:00 2001
|
||||
From: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
Date: Thu, 23 Feb 2017 10:34:27 -0600
|
||||
Subject: [PATCH] meta: adding hello-yocto recipe
|
||||
|
||||
This is a sample recipe
|
||||
|
||||
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
---
|
||||
meta/recipes-devtools/hello-world/hello-world/hello_world.c | 5 +++++
|
||||
meta/recipes-devtools/hello-world/hello-world_1.0.bb | 12 ++++++++++++
|
||||
2 files changed, 17 insertions(+)
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world/hello_world.c b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
new file mode 100644
|
||||
index 0000000000..0d59f57d4c
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
@@ -0,0 +1,5 @@
|
||||
+#include <stdio.h>
|
||||
+
|
||||
+int main(){
|
||||
+ printf("Hello World\n");
|
||||
+}
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world_1.0.bb b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
new file mode 100644
|
||||
index 0000000000..c4e1359217
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
@@ -0,0 +1,12 @@
|
||||
+LICENSE = "CLOSED"
|
||||
+
|
||||
+SRC_URI += "file://hello_world.c"
|
||||
+
|
||||
+do_compile(){
|
||||
+ ${CC} -o hello_world ../hello_world.c
|
||||
+}
|
||||
+
|
||||
+do_install(){
|
||||
+ install -d ${D}${bindir}
|
||||
+ install -m +x hello_world ${D}${bindir}/hello_world
|
||||
+}
|
||||
--
|
||||
2.11.0
|
||||
@@ -0,0 +1,49 @@
|
||||
From 0cd2fed12ce4b7b071edde12aec4481ad7a6f107 Mon Sep 17 00:00:00 2001
|
||||
From: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
Date: Thu, 23 Feb 2017 10:34:27 -0600
|
||||
Subject: [PATCH] meta: adding hello-yocto recipe
|
||||
|
||||
This is a sample recipe
|
||||
|
||||
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
|
||||
---
|
||||
.../hello-world/hello-world/hello_world.c | 5 +++++
|
||||
meta/recipes-devtools/hello-world/hello-world_1.0.bb | 15 +++++++++++++++
|
||||
2 files changed, 20 insertions(+)
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
create mode 100644 meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world/hello_world.c b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
new file mode 100644
|
||||
index 0000000000..0d59f57d4c
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world/hello_world.c
|
||||
@@ -0,0 +1,5 @@
|
||||
+#include <stdio.h>
|
||||
+
|
||||
+int main(){
|
||||
+ printf("Hello World\n");
|
||||
+}
|
||||
diff --git a/meta/recipes-devtools/hello-world/hello-world_1.0.bb b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
new file mode 100644
|
||||
index 0000000000..c54283eece
|
||||
--- /dev/null
|
||||
+++ b/meta/recipes-devtools/hello-world/hello-world_1.0.bb
|
||||
@@ -0,0 +1,15 @@
|
||||
+SUMMARY = "This is a sample summary"
|
||||
+DESCRIPTION = "This is a sample description"
|
||||
+HOMEPAGE = "https://sample.com/this-is-a-sample"
|
||||
+LICENSE = "CLOSED"
|
||||
+
|
||||
+SRC_URI += "file://hello_world.c"
|
||||
+
|
||||
+do_compile(){
|
||||
+ ${CC} -o hello_world ../hello_world.c
|
||||
+}
|
||||
+
|
||||
+do_install(){
|
||||
+ install -d ${D}${bindir}
|
||||
+ install -m +x hello_world ${D}${bindir}/hello_world
|
||||
+}
|
||||
--
|
||||
2.11.0
|
||||
@@ -0,0 +1,73 @@
|
||||
From 35ccee3cee96fb29514475279248078d88907231 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-BAD-FORMAT
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../files/0001-Fix-CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..9219b8db62
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-BAD-FORMAT
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
+
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
From 35ccee3cee96fb29514475279248078d88907231 Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../files/0001-Fix-CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..9219b8db62
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/0001-Fix-CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
+
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
From 5a2d0ac780a0f4c046fb1a3c3463d3e726f191cb Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../selftest-hello/files/CVE-1234-56789.patch | 26 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 30 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..92a5b65a53
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
@@ -0,0 +1,26 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
From 14d72f6973270f78455a8628143f2cff90e8f41e Mon Sep 17 00:00:00 2001
|
||||
From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
Date: Tue, 29 Aug 2023 14:12:27 -0400
|
||||
Subject: [PATCH] selftest-hello: fix CVE-1234-56789
|
||||
|
||||
CVE: CVE-1234-56789
|
||||
|
||||
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
---
|
||||
.../selftest-hello/files/CVE-1234-56789.patch | 27 +++++++++++++++++++
|
||||
.../selftest-hello/selftest-hello_1.0.bb | 6 +++--
|
||||
2 files changed, 31 insertions(+), 2 deletions(-)
|
||||
create mode 100644 meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
new file mode 100644
|
||||
index 0000000000..869cfb6fe5
|
||||
--- /dev/null
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/files/CVE-1234-56789.patch
|
||||
@@ -0,0 +1,27 @@
|
||||
+From b26a31186e6ee2eb1f506d5f2f9394d327a0df2f Mon Sep 17 00:00:00 2001
|
||||
+From: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+Date: Tue, 29 Aug 2023 14:08:20 -0400
|
||||
+Subject: [PATCH] Fix CVE-NOT-REAL
|
||||
+
|
||||
+CVE: CVE-1234-56789
|
||||
+Upstream-Status: Backport(http://example.com/example)
|
||||
+
|
||||
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
|
||||
+---
|
||||
+ strlen.c | 1 +
|
||||
+ 1 file changed, 1 insertion(+)
|
||||
+
|
||||
+diff --git a/strlen.c b/strlen.c
|
||||
+index 1788f38..83d7918 100644
|
||||
+--- a/strlen.c
|
||||
++++ b/strlen.c
|
||||
+@@ -8,6 +8,7 @@ int main() {
|
||||
+
|
||||
+ printf("%d\n", str_len(string1));
|
||||
+ printf("%d\n", str_len(string2));
|
||||
++ printf("CVE FIXED!!!\n");
|
||||
+
|
||||
+ return 0;
|
||||
+ }
|
||||
+--
|
||||
+2.41.0
|
||||
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
index 547587bef4..76975a6729 100644
|
||||
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
|
||||
@@ -3,7 +3,9 @@ SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
-SRC_URI = "file://helloworld.c"
|
||||
+SRC_URI = "file://helloworld.c \
|
||||
+ file://CVE-1234-56789.patch \
|
||||
+ "
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
@@ -16,4 +18,4 @@ do_install() {
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
|
||||
-BBCLASSEXTEND = "native nativesdk"
|
||||
\ No newline at end of file
|
||||
+BBCLASSEXTEND = "native nativesdk"
|
||||
--
|
||||
2.41.0
|
||||
|
||||
94
sources/poky/meta/lib/patchtest/selftest/selftest
Executable file
94
sources/poky/meta/lib/patchtest/selftest/selftest
Executable file
@@ -0,0 +1,94 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Test every patch from files folder and output error on failure
|
||||
#
|
||||
# Copyright (C) 2016 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
currentdir = os.path.dirname(os.path.abspath(__file__))
|
||||
patchesdir = os.path.join(currentdir, 'files')
|
||||
topdir = os.path.dirname(currentdir)
|
||||
parentdir = os.path.dirname(topdir)
|
||||
|
||||
# path to the repo root
|
||||
repodir = os.path.dirname(os.path.dirname(parentdir))
|
||||
|
||||
def print_results(passcount, failcount, skipcount, xpasscount, xfailcount, xskipcount, errorcount):
|
||||
total = passcount + skipcount + failcount + xpasscount + xfailcount + xskipcount + errorcount
|
||||
print("============================================================================")
|
||||
print("Testsuite summary for %s" % os.path.basename(topdir))
|
||||
print("============================================================================")
|
||||
print("# TOTAL: %s" % str(total))
|
||||
print("# XPASS: %s" % str(xpasscount))
|
||||
print("# XFAIL: %s" % str(xfailcount))
|
||||
print("# XSKIP: %s" % str(xskipcount))
|
||||
print("# PASS: %s" % str(passcount))
|
||||
print("# FAIL: %s" % str(failcount))
|
||||
print("# SKIP: %s" % str(skipcount))
|
||||
print("# ERROR: %s" % str(errorcount))
|
||||
print("============================================================================")
|
||||
|
||||
# Once the tests are in oe-core, we can remove the testdir param and use os.path.dirname to get relative paths
|
||||
def test(root, patch):
|
||||
res = True
|
||||
patchpath = os.path.abspath(os.path.join(root, patch))
|
||||
|
||||
cmd = 'patchtest --repodir %s --testdir %s/tests --patch %s' % (repodir, topdir, patchpath)
|
||||
results = subprocess.check_output(cmd, stderr=subprocess.STDOUT, universal_newlines=True, shell=True)
|
||||
|
||||
return results
|
||||
|
||||
if __name__ == '__main__':
|
||||
passcount = 0
|
||||
failcount = 0
|
||||
skipcount = 0
|
||||
xpasscount = 0
|
||||
xfailcount = 0
|
||||
xskipcount = 0
|
||||
errorcount = 0
|
||||
|
||||
results = None
|
||||
|
||||
for root, dirs, patches in os.walk(patchesdir):
|
||||
for patch in patches:
|
||||
results = test(root, patch)
|
||||
|
||||
a = patch.split('.')
|
||||
klass, testname = a[0], a[1]
|
||||
expected_result = a[-1]
|
||||
testid = ".%s.%s" % (klass,testname)
|
||||
|
||||
for resultline in results.splitlines():
|
||||
if testid in resultline:
|
||||
result, _ = resultline.split(':', 1)
|
||||
|
||||
if expected_result.upper() == "FAIL" and result.upper() == "FAIL":
|
||||
xfailcount = xfailcount + 1
|
||||
print("XFAIL: %s (file: %s)" % (testid.strip("."), os.path.basename(patch)))
|
||||
elif expected_result.upper() == "PASS" and result.upper() == "PASS":
|
||||
xpasscount = xpasscount + 1
|
||||
print("XPASS: %s (file: %s)" % (testid.strip("."), os.path.basename(patch)))
|
||||
elif expected_result.upper() == "SKIP" and result.upper() == "SKIP":
|
||||
xskipcount = xskipcount + 1
|
||||
print("XSKIP: %s (file: %s)" % (testid.strip("."), os.path.basename(patch)))
|
||||
else:
|
||||
print("%s: %s (%s)" % (result.upper(), testid.strip("."), os.path.basename(patch)))
|
||||
if result.upper() == "PASS":
|
||||
passcount = passcount + 1
|
||||
elif result.upper() == "FAIL":
|
||||
failcount = failcount + 1
|
||||
elif result.upper() == "SKIP":
|
||||
skipcount = skipcount + 1
|
||||
else:
|
||||
print("Bad result on test %s against %s" % (testid.strip("."), os.path.basename(patch)))
|
||||
errorcount = errorcount + 1
|
||||
break
|
||||
else:
|
||||
print ("No test for=%s" % patch)
|
||||
|
||||
print_results(passcount, failcount, skipcount, xpasscount, xfailcount, xskipcount, errorcount)
|
||||
Reference in New Issue
Block a user