Fix missing plugin content

For content that isn't directly in /usr/lib64 but is under that
path (typically plugins) it wasn't added to the optimized-elf
directory incorrectly. Resolve this by fixing the test against
/usr/lib64.

Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
William Douglas
2022-06-30 11:16:33 -07:00
parent 1093a655a5
commit 72834e1f65
+1 -1
View File
@@ -133,7 +133,7 @@ def write_outfile(args, filemap):
shasum = "other" + shasum
# /usr/lib64 content was installed already
if btype and "/usr/lib64/" not in source:
if btype and not os.path.dirname(source).endswith("/usr/lib64"):
if args.skip and virtpath not in args.path:
continue
ofile.write(f"{btype}\n")