2016-09-02 10:58:42

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] Remove deprecated semodule options from Makefile

Avoid using deprecated semodule options (-b or --base) during "make
load".

Signed-off-by: Guido Trentalancia <[email protected]>
---
Rules.modular | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- refpolicy-git-06082016-orig/Rules.modular 2016-08-06 21:26:43.257773849 +0200
+++ refpolicy-git-06082016/Rules.modular 2016-09-02 12:36:07.214247080 +0200
@@ -55,7 +55,7 @@ load: $(instpkg) $(appfiles)
# created by semanage
@echo "Loading configured modules."
@$(INSTALL) -d -m 0755 $(policypath) $(dir $(fcpath))
- $(verbose) $(SEMODULE) -s $(NAME) -b $(modpkgdir)/$(notdir $(base_pkg)) $(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))
+ $(verbose) $(SEMODULE) -s $(NAME) -i $(modpkgdir)/$(notdir $(base_pkg)) $(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))

########################################
#


2016-09-02 18:13:59

by rfkrocktk

[permalink] [raw]
Subject: [refpolicy] [PATCH] Remove deprecated semodule options from Makefile

Awesome, thanks, I've seen this issue too.


On Fri, Sep 2, 2016 at 3:58 AM, Guido Trentalancia via refpolicy
<[email protected]> wrote:
> Avoid using deprecated semodule options (-b or --base) during "make
> load".
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> Rules.modular | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- refpolicy-git-06082016-orig/Rules.modular 2016-08-06 21:26:43.257773849 +0200
> +++ refpolicy-git-06082016/Rules.modular 2016-09-02 12:36:07.214247080 +0200
> @@ -55,7 +55,7 @@ load: $(instpkg) $(appfiles)
> # created by semanage
> @echo "Loading configured modules."
> @$(INSTALL) -d -m 0755 $(policypath) $(dir $(fcpath))
> - $(verbose) $(SEMODULE) -s $(NAME) -b $(modpkgdir)/$(notdir $(base_pkg)) $(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))
> + $(verbose) $(SEMODULE) -s $(NAME) -i $(modpkgdir)/$(notdir $(base_pkg)) $(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))
>
> ########################################
> #
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy

2016-09-02 22:22:04

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] Remove deprecated semodule options from Makefile

On 09/02/16 06:58, Guido Trentalancia via refpolicy wrote:
> Avoid using deprecated semodule options (-b or --base) during "make
> load".
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> Rules.modular | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- refpolicy-git-06082016-orig/Rules.modular 2016-08-06 21:26:43.257773849 +0200
> +++ refpolicy-git-06082016/Rules.modular 2016-09-02 12:36:07.214247080 +0200
> @@ -55,7 +55,7 @@ load: $(instpkg) $(appfiles)
> # created by semanage
> @echo "Loading configured modules."
> @$(INSTALL) -d -m 0755 $(policypath) $(dir $(fcpath))
> - $(verbose) $(SEMODULE) -s $(NAME) -b $(modpkgdir)/$(notdir $(base_pkg)) $(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))
> + $(verbose) $(SEMODULE) -s $(NAME) -i $(modpkgdir)/$(notdir $(base_pkg)) $(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))
>
> ########################################
> #

Merged.

--
Chris PeBenito