Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/systemd: do not enable networking/time components by default
@ 2023-05-03 14:52 James Knight
  2023-05-03 19:27 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: James Knight @ 2023-05-03 14:52 UTC (permalink / raw)
  To: buildroot; +Cc: James Knight, Norbert Lange, Sen Hastings, Yann E . MORIN

Tweaking the configuration of systemd to not enable networking and time
related service capabilities. The use of the system services are not
required, especially if other packages provide a respective capability
to a target (e.g. a target configured for chronyd will most likely not
want to use systemd's timedate/timesync services).

Signed-off-by: James Knight <james.d.knight@live.com>
---
 package/systemd/Config.in | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index bea717a4560f573fafbde53efb846f8be0b663c0..be1c29c2ec3772923a1164f25ce2d3fad78fd195 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -256,7 +256,6 @@ comment "homed support needs a toolchain w/ threads, dynamic library, kernel hea
 
 config BR2_PACKAGE_SYSTEMD_HOSTNAMED
 	bool "enable hostname daemon"
-	default y
 	help
 	  systemd-hostnamed is a system service that may be used as a
 	  mechanism to change the system's hostname.
@@ -329,7 +328,6 @@ config BR2_PACKAGE_SYSTEMD_MACHINED
 
 config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
 	bool "enable myhostname NSS plugin"
-	default y
 	help
 	  nss-myhostname is a plug-in module for the GNU Name Service
 	  Switch (NSS) functionality of the GNU C Library (glibc),
@@ -340,7 +338,6 @@ config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
 
 config BR2_PACKAGE_SYSTEMD_NETWORKD
 	bool "enable network manager"
-	default y
 	help
 	  systemd-networkd is a system service that manages networks.
 	  It detects and configures network devices as they appear, as
@@ -433,7 +430,6 @@ config BR2_PACKAGE_SYSTEMD_REPART
 
 config BR2_PACKAGE_SYSTEMD_RESOLVED
 	bool "enable resolve daemon"
-	default y
 	help
 	  systemd-resolved is a system service that provides network
 	  name resolution to local applications. It implements a
@@ -507,7 +503,6 @@ config BR2_PACKAGE_SYSTEMD_SYSUSERS
 
 config BR2_PACKAGE_SYSTEMD_TIMEDATED
 	bool "enable timedate daemon"
-	default y
 	help
 	  systemd-timedated is a system service that may be used as a
 	  mechanism to change the system clock and timezone, as well
@@ -517,7 +512,6 @@ config BR2_PACKAGE_SYSTEMD_TIMEDATED
 
 config BR2_PACKAGE_SYSTEMD_TIMESYNCD
 	bool "enable timesync daemon"
-	default y
 	help
 	  systemd-timesyncd is a service that may be used to
 	  synchronize the local system clock with a Network Time
-- 
2.40.1.windows.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-03 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03 14:52 [Buildroot] [PATCH] package/systemd: do not enable networking/time components by default James Knight
2023-05-03 19:27 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox