From 72834e1f65b03b2cf9556efbc1dcbeb63eeef07f Mon Sep 17 00:00:00 2001 From: William Douglas Date: Thu, 30 Jun 2022 11:16:33 -0700 Subject: [PATCH] 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 --- elf-move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf-move.py b/elf-move.py index 2cbb723..bd8481b 100755 --- a/elf-move.py +++ b/elf-move.py @@ -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")