oeqa/commands: Ensure sync can be found regardless of PATH
PATCH 1/2 oeqa/commands: Ensure sync can be found regardless of PATH
Avoid command not found errors shown in selftest logs due to changes to PATH settings which also risks intermittent problems due to IO load.
Signed-off-by Richard Purdie <[email protected]>
--- meta/lib/oeqa/utils/commands.py | 3 +++ 1 file changed, 3 insertions(+)
meta/lib/oeqa/utils/commands.py +3 -0
@@ -188,7 +188,10 @@ def runCmd(command, ignore_status=False, timeout=None, assert_error=True, sync=T # call sync around the tests to ensure the IO queue doesn't get too large, taking any IO # hit here rather than in bitbake shutdown. if sync: + p = os.environ['PATH'] + os.environ['PATH'] = "/usr/bin:/bin:/usr/sbin:/sbin:" + p os.system("sync") + os.environ['PATH'] = p result.command = command result.status = cmd.status
Signature · 1 line
2.25.1
PATCH 2/2 cups: Mark CVE-2009-0032 as a non-issue
The CVE was against a cups plugin which is obsolete and we don't include.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-extended/cups/cups.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-extended/cups/cups.inc +2 -0
@@ -20,6 +20,8 @@ SRC_URI = "https://github.com/apple/cups/releases/download/v${PV}/${BP}-source.t UPSTREAM_CHECK_URI = "https://github.com/apple/cups/releases" UPSTREAM_CHECK_REGEX = "cups-(?P<pver>\d+\.\d+(\.\d+)?)-source.tar" +# Issue affects pdfdistiller plugin used with but not part of cups +CVE_CHECK_WHITELIST += "CVE-2009-0032" # This is an Ubuntu only issue. CVE_CHECK_WHITELIST += "CVE-2018-6553"
Signature · 1 line
2.25.1