Skip to contentSkip to conversation

package/systemd: enable nss-mymachines when machined is enabled

PATCH New James Hilliard 2 participants 3 messages Mar 8, 2020 – Apr 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/systemd: enable nss-mymachines when machined is enabled

---
 package/systemd/systemd.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/systemd/systemd.mk +2 -2
index 22165de2c1..407ae81aad 100644
@@ -268,9 +268,9 @@ SYSTEMD_CONF_OPTS += -Dlogind=false
 endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_MACHINED),y)
-SYSTEMD_CONF_OPTS += -Dmachined=true
+SYSTEMD_CONF_OPTS += -Dmachined=true -Dnss-mymachines=true
 else
-SYSTEMD_CONF_OPTS += -Dmachined=false
+SYSTEMD_CONF_OPTS += -Dmachined=false -Dnss-mymachines=false
 endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_IMPORTD),y)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/systemd: enable nss-mymachines when machined is enabled

Quoted 4 lines · On Sun, 8 Mar 2020 16:27:11 -0600 James Hilliard <[email protected]>…
---
 package/systemd/systemd.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks. For this one and the nss-resolve patch, does it make sense to tweak nssswitch.conf to enable those NSS modules when they are available ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/systemd: enable nss-mymachines when machined is enabled

Quoted 4 lines · Thomas Petazzoni

On Sun, 8 Mar 2020 16:27:11 -0600
James Hilliard <[email protected]> wrote:

Quoted 8 lines
Quoted 4 lines
---
 package/systemd/systemd.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks. For this one and the nss-resolve patch, does it make sense to tweak nssswitch.conf to enable those NSS modules when they are available ?

Hmm, does the systemd build system not do that by default already?

Quoted 6 lines

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com