checksec: add missing rdepends to readelf
PATCH 1/1 checksec: add missing rdepends to readelf
update test to check for depends
Signed-off-by Armin Kuster <[email protected]>
--- lib/oeqa/runtime/cases/checksec.py | 1 + recipes-security/checksec/checksec_2.1.0.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
lib/oeqa/runtime/cases/checksec.py +1 -0
@@ -24,6 +24,7 @@ class CheckSecTest(OERuntimeTestCase): self.assertEqual(status, 0, msg = msg) @OETestDepends(['checksec.CheckSecTest.test_checksec_xml']) + @OEHasPackage(['binutils']) def test_checksec_fortify(self): status, output = self.target.run('checksec --fortify-proc 1') match = re.search('FORTIFY_SOURCE support:', output)
recipes-security/checksec/checksec_2.1.0.bb +1 -1
@@ -16,4 +16,4 @@ do_install() { install -m 0755 ${S}/checksec ${D}${bindir} } -RDEPENDS_${PN} = "bash openssl-bin" +RDEPENDS_${PN} = "bash openssl-bin binutils"
Signature · 1 line
2.17.1