* [Buildroot] [PATCH v2 1/2] Revert "package/systemd: disable portabled"
@ 2020-11-25 22:39 Francois Gervais
2020-11-25 22:39 ` [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services Francois Gervais
0 siblings, 1 reply; 5+ messages in thread
From: Francois Gervais @ 2020-11-25 22:39 UTC (permalink / raw)
To: buildroot
This reverts commit b37fa74380557689f2309370c5bc1e770a1831eb.
Signed-off-by: Francois Gervais <fgervais@distech-controls.com>
---
package/systemd/systemd.mk | 1 -
1 file changed, 1 deletion(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index cb12f667d6..e24c357ccf 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -33,7 +33,6 @@ SYSTEMD_CONF_OPTS += \
-Dman=false \
-Dmount-path=/usr/bin/mount \
-Dnss-systemd=true \
- -Dportabled=false \
-Dquotacheck-path=/usr/sbin/quotacheck \
-Dquotaon-path=/usr/sbin/quotaon \
-Drootlibdir='/usr/lib' \
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services
2020-11-25 22:39 [Buildroot] [PATCH v2 1/2] Revert "package/systemd: disable portabled" Francois Gervais
@ 2020-11-25 22:39 ` Francois Gervais
2020-11-26 10:44 ` Norbert Lange
0 siblings, 1 reply; 5+ messages in thread
From: Francois Gervais @ 2020-11-25 22:39 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Gervais <fgervais@distech-controls.com>
---
package/systemd/Config.in | 17 +++++++++++++++++
package/systemd/systemd.mk | 6 ++++++
2 files changed, 23 insertions(+)
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index ec34478e3d..3966ba2fc7 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -343,6 +343,23 @@ comment "polkit support needs a toolchain with C++, wchar, NPTL, gcc >= 4.9"
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_USE_WCHAR
+config BR2_PACKAGE_SYSTEMD_PORTABLED
+ bool "enable portable services"
+ help
+ Portable services are systemd services that can be dynamically
+ attached and detached from the system.
+
+ These services must come with their own root directory which
+ they are bond to through an automatically generated drop-in.
+
+ They also have restrictions applied by the host system in the
+ form of profiles.
+
+ This functionality is provided by the system service systemd-portabled
+ along with the corresponding CLI portablectl.
+
+ https://systemd.io/PORTABLE_SERVICES/
+
config BR2_PACKAGE_SYSTEMD_QUOTACHECK
bool "enable quotacheck tools"
help
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index e24c357ccf..5aed87f452 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -416,6 +416,12 @@ else
SYSTEMD_CONF_OPTS += -Dpolkit=false
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD_PORTABLED),y)
+SYSTEMD_CONF_OPTS += -Dportabled=true
+else
+SYSTEMD_CONF_OPTS += -Dportabled=false
+endif
+
ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
SYSTEMD_CONF_OPTS += -Dnetworkd=true
SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - systemd Network Management
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services
2020-11-25 22:39 ` [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services Francois Gervais
@ 2020-11-26 10:44 ` Norbert Lange
2020-11-26 13:13 ` Gervais, Francois
0 siblings, 1 reply; 5+ messages in thread
From: Norbert Lange @ 2020-11-26 10:44 UTC (permalink / raw)
To: buildroot
Am Mi., 25. Nov. 2020 um 23:41 Uhr schrieb Francois Gervais
<fgervais@distech-controls.com>:
>
> Signed-off-by: Francois Gervais <fgervais@distech-controls.com>
> ---
> package/systemd/Config.in | 17 +++++++++++++++++
> package/systemd/systemd.mk | 6 ++++++
> 2 files changed, 23 insertions(+)
>
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index ec34478e3d..3966ba2fc7 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -343,6 +343,23 @@ comment "polkit support needs a toolchain with C++, wchar, NPTL, gcc >= 4.9"
> !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
> !BR2_USE_WCHAR
>
> +config BR2_PACKAGE_SYSTEMD_PORTABLED
> + bool "enable portable services"
> + help
> + Portable services are systemd services that can be dynamically
> + attached and detached from the system.
> +
> + These services must come with their own root directory which
> + they are bond to through an automatically generated drop-in.
> +
> + They also have restrictions applied by the host system in the
> + form of profiles.
> +
> + This functionality is provided by the system service systemd-portabled
> + along with the corresponding CLI portablectl.
> +
> + https://systemd.io/PORTABLE_SERVICES/
> +
> config BR2_PACKAGE_SYSTEMD_QUOTACHECK
> bool "enable quotacheck tools"
> help
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index e24c357ccf..5aed87f452 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -416,6 +416,12 @@ else
> SYSTEMD_CONF_OPTS += -Dpolkit=false
> endif
>
> +ifeq ($(BR2_PACKAGE_SYSTEMD_PORTABLED),y)
> +SYSTEMD_CONF_OPTS += -Dportabled=true
> +else
> +SYSTEMD_CONF_OPTS += -Dportabled=false
> +endif
> +
> ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
> SYSTEMD_CONF_OPTS += -Dnetworkd=true
> SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - systemd Network Management
> --
> 2.17.1
>
I would prefer this to be a single commit, no point in an extra "revert".
Other than that:
reviewed-by: Norbert Lange <nolange79@gmail.com>
Norbert
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services
2020-11-26 10:44 ` Norbert Lange
@ 2020-11-26 13:13 ` Gervais, Francois
2020-11-26 15:02 ` Norbert Lange
0 siblings, 1 reply; 5+ messages in thread
From: Gervais, Francois @ 2020-11-26 13:13 UTC (permalink / raw)
To: buildroot
Thank you.
Just a couple administrative questions:
Should I be the one to add your "reviewed-by" tag to the patch or is
it the person merging the patch that does it?
Do I increment the patch version doing so?
From: Norbert Lange <nolange79@gmail.com>
Sent: November 26, 2020 5:44 AM
To: Gervais, Francois <FGervais@distech-controls.com>
Cc: buildroot <buildroot@buildroot.org>; Maxime Hadjinlian <maxime.hadjinlian@gmail.com>; Yann E . MORIN <yann.morin.1998@free.fr>
Subject: Re: [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services
?
Am Mi., 25. Nov. 2020 um 23:41 Uhr schrieb Francois Gervais
<fgervais@distech-controls.com>:
>
> Signed-off-by: Francois Gervais <fgervais@distech-controls.com>
> ---
>? package/systemd/Config.in? | 17 +++++++++++++++++
>? package/systemd/systemd.mk |? 6 ++++++
>? 2 files changed, 23 insertions(+)
>
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index ec34478e3d..3966ba2fc7 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -343,6 +343,23 @@ comment "polkit support needs a toolchain with C++, wchar, NPTL, gcc >= 4.9"
>???????????????? !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
>???????????????? !BR2_USE_WCHAR
>
> +config BR2_PACKAGE_SYSTEMD_PORTABLED
> +?????? bool "enable portable services"
> +?????? help
> +???????? Portable services are systemd services that can be dynamically
> +???????? attached and detached from the system.
> +
> +???????? These services must come with their own root directory which
> +???????? they are bond to through an automatically generated drop-in.
> +
> +???????? They also have restrictions applied by the host system in the
> +???????? form of profiles.
> +
> +???????? This functionality is provided by the system service systemd-portabled
> +???????? along with the corresponding CLI portablectl.
> +
> +???????? https://urldefense.com/v3/__https://systemd.io/PORTABLE_SERVICES/__;!!Po4YltK3bPMkYw!gdRouwvVrT5d5xkLf7W05Cn-Qm6uCTRtCBu7CTwGU28zxW8UUnLDGHCr_nWk9nwXtJaP3wk$
> +
>? config BR2_PACKAGE_SYSTEMD_QUOTACHECK
>???????? bool "enable quotacheck tools"
>???????? help
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index e24c357ccf..5aed87f452 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -416,6 +416,12 @@ else
>? SYSTEMD_CONF_OPTS += -Dpolkit=false
>? endif
>
> +ifeq ($(BR2_PACKAGE_SYSTEMD_PORTABLED),y)
> +SYSTEMD_CONF_OPTS += -Dportabled=true
> +else
> +SYSTEMD_CONF_OPTS += -Dportabled=false
> +endif
> +
>? ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
>? SYSTEMD_CONF_OPTS += -Dnetworkd=true
>? SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - systemd Network Management
> --
> 2.17.1
>
I would prefer this to be a single commit, no point in an extra "revert".
Other than that:
reviewed-by: Norbert Lange <nolange79@gmail.com>
Norbert
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services
2020-11-26 13:13 ` Gervais, Francois
@ 2020-11-26 15:02 ` Norbert Lange
0 siblings, 0 replies; 5+ messages in thread
From: Norbert Lange @ 2020-11-26 15:02 UTC (permalink / raw)
To: buildroot
Am Do., 26. Nov. 2020 um 14:13 Uhr schrieb Gervais, Francois
<FGervais@distech-controls.com>:
>
> Thank you.
>
> Just a couple administrative questions:
>
> Should I be the one to add your "reviewed-by" tag to the patch or is
> it the person merging the patch that does it?
>
> Do I increment the patch version doing so?
If you don't change anything relevant to my review,
and do a patch revision, then you could and should add the tag.
You don't need to revise the patch just to add the tag.
Norbert
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-26 15:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 22:39 [Buildroot] [PATCH v2 1/2] Revert "package/systemd: disable portabled" Francois Gervais
2020-11-25 22:39 ` [Buildroot] [PATCH v2 2/2] package/systemd: add a menu entry to enable portable services Francois Gervais
2020-11-26 10:44 ` Norbert Lange
2020-11-26 13:13 ` Gervais, Francois
2020-11-26 15:02 ` Norbert Lange
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.