Skip to content
Snippets Groups Projects
Unverified Commit 2490011c authored by Anatol Belski's avatar Anatol Belski
Browse files

abicheck: Prefix variable name


AUDIT_GLOBAL_SUPPRESSION_FILE -> BINARY_AUDIT_GLOBAL_SUPPRESSION_FILE

Signed-off-by: default avatarAnatol Belski <anbelski@linux.microsoft.com>
parent cfe7ab01
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ An ABI [suppression specification file](https://sourceware.org/libabigail/manual
In order to add a global suppression file, modify the variable `GLOBAL_SUPPRESSION_FILE` in `local.conf` to be the suppression's filepath:
`GLOBAL_SUPRESSION_FILE = "/path/to/suppression.file"`
`BINARY_AUDIT_GLOBAL_SUPPRESSION_FILE = "/path/to/suppression.file"`
To add recipe-specific suppressions, add the filepath to the suppression to the recipe's `SRC_URI` list. The suppression file must also have a name which follows the regex `abi*.suppr`. Here is an example for adding a suppression called `abi_openssl.suppr` to the `openssl` recipe:
......
......@@ -67,8 +67,8 @@ python binary_audit_abixml_compare_to_ref() {
suppr = glob.glob(recipe_suppr)
if os.path.isfile(str(d.getVar("GLOBAL_SUPPRESSION_FILE"))):
suppr += [d.getVar("GLOBAL_SUPPRESSION_FILE")]
if os.path.isfile(str(d.getVar("BINARY_AUDIT_GLOBAL_SUPPRESSION_FILE"))):
suppr += [d.getVar("BINARY_AUDIT_GLOBAL_SUPPRESSION_FILE")]
else:
util.note("No global suppression found")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment