diff mbox series

package/policycoreutils: Install scripts folder

Message ID 20210819075758.286416-1-jose.pekkarinen@unikie.com
State Accepted
Headers show
Series package/policycoreutils: Install scripts folder | expand

Commit Message

José Pekkarinen Aug. 19, 2021, 7:57 a.m. UTC
This folder includes the fixfiles script that is used
by selinux autorelabel feature. Currently it installs
it under /usr/sbin.

Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
---
 package/policycoreutils/policycoreutils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yann E. MORIN Aug. 19, 2021, 9:18 p.m. UTC | #1
José, All,

On 2021-08-19 10:57 +0300, José Pekkarinen spake thusly:
> This folder includes the fixfiles script that is used
> by selinux autorelabel feature. Currently it installs
> it under /usr/sbin.

In the Buildroot context, we need the policy to be correct when the
filesystem is generated, as I explained in my reply to your
corresponding patch.

However, I can see a case where people are adding/changing files at
runtime on a live device, and they may want to be able to relabel
their systems. So, they will need this script.

> Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>

Applied to next, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/policycoreutils/policycoreutils.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk
> index 0dfdc7af03..5290c5b9f8 100644
> --- a/package/policycoreutils/policycoreutils.mk
> +++ b/package/policycoreutils/policycoreutils.mk
> @@ -43,7 +43,7 @@ POLICYCOREUTILS_MAKE_OPTS += \
>  POLICYCOREUTILS_MAKE_DIRS = \
>  	load_policy newrole run_init \
>  	secon semodule sestatus setfiles \
> -	setsebool
> +	setsebool scripts
>  
>  # We need to pass DESTDIR at build time because it's used by
>  # policycoreutils build system to find headers and libraries.
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk
index 0dfdc7af03..5290c5b9f8 100644
--- a/package/policycoreutils/policycoreutils.mk
+++ b/package/policycoreutils/policycoreutils.mk
@@ -43,7 +43,7 @@  POLICYCOREUTILS_MAKE_OPTS += \
 POLICYCOREUTILS_MAKE_DIRS = \
 	load_policy newrole run_init \
 	secon semodule sestatus setfiles \
-	setsebool
+	setsebool scripts
 
 # We need to pass DESTDIR at build time because it's used by
 # policycoreutils build system to find headers and libraries.