sepolgen: Use refpolicy_makefile() instead of hardcoding Makefile path
PATCH 1/1 sepolgen: Use refpolicy_makefile() instead of hardcoding Makefile path
From: Laurent Bigonville <[email protected]>
--- sepolgen/src/sepolgen/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sepolgen/src/sepolgen/module.py +1 -1
@@ -120,7 +120,7 @@ class ModuleCompiler: self.semodule_package = "/usr/bin/semodule_package" self.output = output self.last_output = "" - self.refpol_makefile = "/usr/share/selinux/devel/Makefile" + self.refpol_makefile = defaults.refpolicy_makefile() self.make = "/usr/bin/make" def o(self, str):
Signature · 7 lines
1.7.10.4 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.