* [PATCH] poky.conf: move pam DISTRO_FEATURE from altcfg to default poky
@ 2021-05-07 18:47 Alexander Kanavin
2021-05-07 21:57 ` [poky] " Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kanavin @ 2021-05-07 18:47 UTC (permalink / raw)
To: poky; +Cc: Alexander Kanavin
This is needed to run libpam-ptest and also for running weston under
systemd which is an increasingly common configuration.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
meta-poky/conf/distro/include/poky-distro-alt-test-config.inc | 4 ++--
meta-poky/conf/distro/poky.conf | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
index 273ebfdfef..4c377b4deb 100644
--- a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
+++ b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
@@ -1,5 +1,5 @@
-# Add an extra DISTRO_FEATURE
-DISTRO_FEATURES_append = " pam"
+# Remove an extra DISTRO_FEATURE
+DISTRO_FEATURES_remove = "pam"
# Use the LTSI Kernel
PREFERRED_VERSION_linux-yocto = "5.4%"
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 522cc92f74..03abc6c55a 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -13,7 +13,7 @@ TARGET_VENDOR = "-poky"
LOCALCONF_VERSION = "1"
# Override these in poky based distros
-POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
+POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl pam ptest multiarch wayland vulkan"
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [poky] [PATCH] poky.conf: move pam DISTRO_FEATURE from altcfg to default poky
2021-05-07 18:47 [PATCH] poky.conf: move pam DISTRO_FEATURE from altcfg to default poky Alexander Kanavin
@ 2021-05-07 21:57 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2021-05-07 21:57 UTC (permalink / raw)
To: Alexander Kanavin, poky
On Fri, 2021-05-07 at 20:47 +0200, Alexander Kanavin wrote:
> This is needed to run libpam-ptest and also for running weston under
> systemd which is an increasingly common configuration.
>
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
> meta-poky/conf/distro/include/poky-distro-alt-test-config.inc | 4 ++--
> meta-poky/conf/distro/poky.conf | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
> index 273ebfdfef..4c377b4deb 100644
> --- a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
> +++ b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
> @@ -1,5 +1,5 @@
> -# Add an extra DISTRO_FEATURE
> -DISTRO_FEATURES_append = " pam"
> +# Remove an extra DISTRO_FEATURE
> +DISTRO_FEATURES_remove = "pam"
Red flag number one is a remove in our own configuration flags. We should
never really be doing that. I know we do in some cases, I still hate it
every time I see it and we need to minimise it.
> # Use the LTSI Kernel
> PREFERRED_VERSION_linux-yocto = "5.4%"
> diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
> index 522cc92f74..03abc6c55a 100644
> --- a/meta-poky/conf/distro/poky.conf
> +++ b/meta-poky/conf/distro/poky.conf
> @@ -13,7 +13,7 @@ TARGET_VENDOR = "-poky"
> LOCALCONF_VERSION = "1"
> # Override these in poky based distros
> -POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
> +POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl pam ptest multiarch wayland vulkan"
> POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
> POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
This change moves pam away from our systemd configuration which I suspect will
break your wayland changes.
I also would like to maintain the pam distro feature in testing and I suspect this
way around, we have more users testing it and the other way around we'd see a lot
of bitrot and breakage.
I've commented elsewhere there is a perception pam is heavy, both through extra
dependencies and also in more convoluted codepaths for things like logins. Some
users need/want the simpler option.
The reason driving the change is being able to test libpam-ptest and I suspect adding
that on its own to one of our altcfg images and triggering the ptest runner may
be a better way to resolve the issue.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-07 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 18:47 [PATCH] poky.conf: move pam DISTRO_FEATURE from altcfg to default poky Alexander Kanavin
2021-05-07 21:57 ` [poky] " Richard Purdie
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.