From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Romain Naour <romain.naour@gmail.com>
Cc: Antoine Tenart <atenart@kernel.org>,
Adam Duskett <aduskett@gmail.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2] package/systemd: enable selinux xdg module for refpolicy
Date: Fri, 5 Nov 2021 22:36:18 +0100 [thread overview]
Message-ID: <20211105213618.GI2400@scaer> (raw)
In-Reply-To: <20211105211423.941806-1-romain.naour@gmail.com>
Romain, All,
On 2021-11-05 22:14 +0100, Romain Naour spake thusly:
> Without the selinux xgd module enabled by systemd package, refpolicy
> fail to build due to policy/modules/system/systemd.te [1]
>
> policy/modules/system/systemd.te:288:ERROR 'attribute xdg_config_type is not declared' at token ';' on line 508447:
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552468
> https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552470
>
> [1] https://github.com/SELinuxProject/refpolicy/blob/RELEASE_2_20210908/policy/modules/system/systemd.te#L288
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: Adam Duskett <aduskett@gmail.com>
> Cc: Antoine Tenart <atenart@kernel.org>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> v2: enable xdg module from syslinux instead of refpolicy (Adam, Thomas)
> http://lists.busybox.net/pipermail/buildroot/2021-November/627371.html
> ---
> package/systemd/systemd.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 8c187d2ec3..a8b11faa5e 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -20,7 +20,7 @@ SYSTEMD_DEPENDENCIES = \
> util-linux-libs \
> $(TARGET_NLS_DEPENDENCIES)
>
> -SYSTEMD_SELINUX_MODULES = systemd udev
> +SYSTEMD_SELINUX_MODULES = systemd udev xdg
>
> SYSTEMD_PROVIDES = udev
>
> --
> 2.31.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2021-11-05 21:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 21:14 [Buildroot] [PATCH v2] package/systemd: enable selinux xdg module for refpolicy Romain Naour
2021-11-05 21:36 ` Yann E. MORIN [this message]
2021-11-09 8:09 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211105213618.GI2400@scaer \
--to=yann.morin.1998@free.fr \
--cc=aduskett@gmail.com \
--cc=atenart@kernel.org \
--cc=buildroot@buildroot.org \
--cc=romain.naour@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox