All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/policycoreutils: Install scripts folder
@ 2021-08-19  7:57 José Pekkarinen
  2021-08-19 21:18 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: José Pekkarinen @ 2021-08-19  7:57 UTC (permalink / raw)
  To: buildroot; +Cc: José Pekkarinen

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(-)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/policycoreutils: Install scripts folder
  2021-08-19  7:57 [Buildroot] [PATCH] package/policycoreutils: Install scripts folder José Pekkarinen
@ 2021-08-19 21:18 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-08-19 21:18 UTC (permalink / raw)
  To: José Pekkarinen; +Cc: buildroot

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

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-19 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  7:57 [Buildroot] [PATCH] package/policycoreutils: Install scripts folder José Pekkarinen
2021-08-19 21:18 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.