[PATCH 81/84] sepolgen: Use refpolicy_makefile() instead of

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD+qcwACgkQrlYvE4MpobOcYgCcCfuNeUoFMt11tXrUtYVqplQK
kpIAoOg/PkKUzXNCE85L+/MjuvcRs5Oe
=BhJJ
-----END PGP SIGNATURE-----
>From f72c4a67cf58a616b3bf303b29c11c2364eab6e4 Mon Sep 17 00:00:00 2001
From: Laurent Bigonville <bigon@xxxxxxxx>
Date: Tue, 8 Jan 2013 12:03:00 -0500
Subject: [PATCH 81/84] sepolgen: Use refpolicy_makefile() instead of
 hardcoding Makefile path

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 sepolgen/src/sepolgen/module.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sepolgen/src/sepolgen/module.py b/sepolgen/src/sepolgen/module.py
index 5818cec..7fc9443 100644
--- a/sepolgen/src/sepolgen/module.py
+++ b/sepolgen/src/sepolgen/module.py
@@ -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):
-- 
1.8.1


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux