[Buildroot] [PATCH] package/policycoreutils: Install scripts folder

Yann E. MORIN yann.morin.1998 at free.fr
Thu Aug 19 21:18:31 UTC 2021


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 at 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 at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list