diff mbox series

[meta-selinux,1/2] README: use simpler syntax to enable systemd

Message ID 20240621121239.594152-1-ecordonnier@snap.com
State New
Headers show
Series [meta-selinux,1/2] README: use simpler syntax to enable systemd | expand

Commit Message

Etienne Cordonnier June 21, 2024, 12:12 p.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

The variable INIT_MANAGER was added in yocto version Zeus / 3.0 and makes the selection of systemd easier.
See https://git.yoctoproject.org/poky/commit/?id=7508711b3835cc7890d46fda1b4a1c3da196ec9a for details.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 README | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Etienne Cordonnier July 23, 2024, 9:03 a.m. UTC | #1
Hi,
what is the status of this patch?

Thanks,
Étienne

On Fri, Jun 21, 2024 at 2:13 PM Etienne Cordonnier via
lists.yoctoproject.org <ecordonnier=snap.com@lists.yoctoproject.org> wrote:

> From: Etienne Cordonnier <ecordonnier@snap.com>
>
> After commit
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_meta-2Dselinux_commit_-3Fid-3D9e986d7d794f044464e1af914ddbcd57d8f1c2e9&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=ghRUj7zLxL9M5QiO1MsNgP7HUMjXOJR3DrnPtDbTg9EpKZww-5ivSdyDUgg6QtAw&s=9fSbog0BXi2LxT5R5eu74CVFm4ccFNsm8l91UY99Uj4&e=
> ,
> it is not possible any more to choose a different version os the
> refpolicy, and
> only the git version is maintained.
>
> Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
> ---
>  README | 16 ----------------
>  1 file changed, 16 deletions(-)
>
> diff --git a/README b/README
> index ce91cc1..ae011f3 100644
> --- a/README
> +++ b/README
> @@ -47,22 +47,6 @@ to be tailored for your environment.
>  e.g. PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"
>
>
> -Using different versions of refpolicy
> --------------------------------------
> -To prepare selinux enabled images using different ver. of refpolicy,
> -we can choose supported releases of refpolicy
> -refer to available versions under recipes-security/refpolicy
> -
> -We can use the refpolicy directly from git repository instead of release
> tarballs.
> -By default refpolicy from git builds head commit of master branch, we can
> update
> -SRCREV for refpolicy and refpolicy-contrib as appropriate at
> refpolicy_git.inc
> -to check refpolicy as per required commits.
> -
> -* enable the preferred refpolicy-minimum:
> -PREFERRED_VERSION_refpolicy-minimum = "2.20151208"
> -PREFERRED_VERSION_refpolicy = "2.20151208"
> -
> -
>  Using different init manager
>  ----------------------------
>  By default selinux enabled images coming up with "sysvinit" as init
> manager,
> --
> 2.36.1.vfs.0.0
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#363):
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_yocto-2Dpatches_message_363&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=ghRUj7zLxL9M5QiO1MsNgP7HUMjXOJR3DrnPtDbTg9EpKZww-5ivSdyDUgg6QtAw&s=fmzST4Tt2EW8c27U7m6lI-asg1ezZXJ_cegjtgo6jX0&e=
> Mute This Topic:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_mt_106797251_7048771&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=ghRUj7zLxL9M5QiO1MsNgP7HUMjXOJR3DrnPtDbTg9EpKZww-5ivSdyDUgg6QtAw&s=eeClF7tFzqtJ_OpkpWuYQFP0WhwFycFy0M_7Y2cJCqw&e=
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_yocto-2Dpatches_leave_13184993_7048771_1814342232_xyzzy&d=DwIDAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=ghRUj7zLxL9M5QiO1MsNgP7HUMjXOJR3DrnPtDbTg9EpKZww-5ivSdyDUgg6QtAw&s=luJTf111dZRNsoW2B_ZV9sgVlo9GMV5U8KaMU1oYMlI&e=
> [ecordonnier@snap.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
diff mbox series

Patch

diff --git a/README b/README
index 67708f7..ce91cc1 100644
--- a/README
+++ b/README
@@ -69,10 +69,7 @@  By default selinux enabled images coming up with "sysvinit" as init manager,
 we can use "systemd" as an init manager using below changes to local.conf
 
 * enable systemd as init manager changes to local.conf
-DISTRO_FEATURES:remove = " sysvinit"
-DISTRO_FEATURES:append = " systemd"
-VIRTUAL-RUNTIME_init_manager = "systemd"
-DISTRO_FEATURES_BACKFILL_CONSIDERED = ""
+INIT_MANAGER = "systemd"
 
 
 Enable labeling on first boot