Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname
@ 2016-07-02 13:59 Maxime Hadjinlian
  2016-07-02 13:59 ` [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved Maxime Hadjinlian
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/systemd/Config.in  | 11 +++++++++++
 package/systemd/systemd.mk |  6 ++++++
 2 files changed, 17 insertions(+)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index b44d57a..7c591b7 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -225,6 +225,17 @@ config BR2_PACKAGE_SYSTEMD_HOSTNAMED
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
 
+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), primarily providing hostname
+	  resolution for the locally configured system hostname as returned by
+	  gethostname(2).
+
+	  http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
+
 config BR2_PACKAGE_SYSTEMD_TIMEDATED
 	bool "enable timedate daemon"
 	default y
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 423afcc..cca3f05 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -249,6 +249,12 @@ else
 SYSTEMD_CONF_OPTS += --disable-hostnamed
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD_MYHOSTNAME),y)
+SYSTEMD_CONF_OPTS += --enable-myhostname
+else
+SYSTEMD_CONF_OPTS += --disable-myhostname
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y)
 SYSTEMD_CONF_OPTS += --enable-timedated
 else
-- 
2.8.1

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

* [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:50   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 3/9] package/systemd: Create user only when needed Maxime Hadjinlian
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/systemd/Config.in  | 10 ++++++++++
 package/systemd/systemd.mk |  6 ++++++
 2 files changed, 16 insertions(+)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 7c591b7..b2f9feb 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -287,6 +287,16 @@ config BR2_PACKAGE_SYSTEMD_NETWORKD
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
 
+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 caching and validating
+	  DNS/DNSSEC stub resolver, as well as an LLMNR resolver and responder.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
+
 config BR2_PACKAGE_SYSTEMD_TIMESYNCD
 	bool "enable SNTP client"
 	help
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index cca3f05..6f5a610 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -296,6 +296,12 @@ define SYSTEMD_INSTALL_SERVICE_NETWORK
 endef
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y)
+SYSTEMD_CONF_OPTS += --enable-resolved
+else
+SYSTEMD_CONF_OPTS += --disable-resolved
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_TIMESYNCD),y)
 SYSTEMD_CONF_OPTS += --enable-timesyncd
 define SYSTEMD_INSTALL_SERVICE_TIMESYNC
-- 
2.8.1

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

* [Buildroot] [PATCH 3/9] package/systemd: Create user only when needed
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
  2016-07-02 13:59 ` [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:50   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 4/9] package/systemd: Default yes for timesyncd Maxime Hadjinlian
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

We don't want to create a bunch of group and users that might not be
used, it's more elegant to create them when the associated features is
selected.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/systemd/systemd.mk | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 6f5a610..2f5019c 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -269,6 +269,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y)
 SYSTEMD_CONF_OPTS += --enable-coredump
+SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper
 else
 SYSTEMD_CONF_OPTS += --disable-coredump
 endif
@@ -281,6 +282,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
 SYSTEMD_CONF_OPTS += --enable-networkd
+SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - Network Manager
 define SYSTEMD_INSTALL_RESOLVCONF_HOOK
 	ln -sf ../run/systemd/resolve/resolv.conf \
 		$(TARGET_DIR)/etc/resolv.conf
@@ -298,12 +300,14 @@ endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y)
 SYSTEMD_CONF_OPTS += --enable-resolved
+SYSTEMD_RESOLVED_USER = systemd-resolve -1 systemd-resolve -1 * - - - Network Name Resolution Manager
 else
 SYSTEMD_CONF_OPTS += --disable-resolved
 endif
 
 ifeq ($(BR2_PACKAGE_SYSTEMD_TIMESYNCD),y)
 SYSTEMD_CONF_OPTS += --enable-timesyncd
+SYSTEMD_TIMESYNCD_USER = systemd-timesync -1 systemd-timesync -1 * - - - Network Time Synchronization
 define SYSTEMD_INSTALL_SERVICE_TIMESYNC
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
 	ln -sf ../../../../lib/systemd/system/systemd-timesyncd.service \
@@ -348,13 +352,13 @@ define SYSTEMD_USERS
 	- - input -1 * - - - Input device group
 	- - systemd-journal -1 * - - - Journal
 	systemd-bus-proxy -1 systemd-bus-proxy -1 * - - - Proxy D-Bus messages to/from a bus
-	systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper
 	systemd-journal-gateway -1 systemd-journal-gateway -1 * /var/log/journal - - Journal Gateway
 	systemd-journal-remote -1 systemd-journal-remote -1 * /var/log/journal/remote - - Journal Remote
 	systemd-journal-upload -1 systemd-journal-upload -1 * - - - Journal Upload
-	systemd-network -1 systemd-network -1 * - - - Network Manager
-	systemd-resolve -1 systemd-resolve -1 * - - - Network Name Resolution Manager
-	systemd-timesync -1 systemd-timesync -1 * - - - Network Time Synchronization
+	$(SYSTEMD_COREDUMP_USER)
+	$(SYSTEMD_NETWORKD_USER)
+	$(SYSTEMD_RESOLVED_USER)
+	$(SYSTEMD_TIMESYNCD_USER)
 endef
 
 define SYSTEMD_DISABLE_SERVICE_TTY1
-- 
2.8.1

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

* [Buildroot] [PATCH 4/9] package/systemd: Default yes for timesyncd
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
  2016-07-02 13:59 ` [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved Maxime Hadjinlian
  2016-07-02 13:59 ` [Buildroot] [PATCH 3/9] package/systemd: Create user only when needed Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:50   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 5/9] package/systemd: Default yes for networkd Maxime Hadjinlian
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

It seems logical to enable a few options along with systemd when it's
the init system.

Also change the help as timesyncd is a daemon that implements an SNTP client.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/systemd/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index b2f9feb..0e1e85d 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -298,7 +298,8 @@ config BR2_PACKAGE_SYSTEMD_RESOLVED
 	  http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
 
 config BR2_PACKAGE_SYSTEMD_TIMESYNCD
-	bool "enable SNTP client"
+	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 Protocol server.
-- 
2.8.1

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

* [Buildroot] [PATCH 5/9] package/systemd: Default yes for networkd
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
                   ` (2 preceding siblings ...)
  2016-07-02 13:59 ` [Buildroot] [PATCH 4/9] package/systemd: Default yes for timesyncd Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:50   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 6/9] package/systemd: Remove SYSTEMD_COMPAT option Maxime Hadjinlian
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

It seems logical to enable a few options along with systemd when it's
the init system.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/systemd/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 0e1e85d..81e0d58 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -277,6 +277,7 @@ config BR2_PACKAGE_SYSTEMD_POLKIT
 
 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 well as
-- 
2.8.1

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

* [Buildroot] [PATCH 6/9] package/systemd: Remove SYSTEMD_COMPAT option
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
                   ` (3 preceding siblings ...)
  2016-07-02 13:59 ` [Buildroot] [PATCH 5/9] package/systemd: Default yes for networkd Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:51   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 7/9] package/systemd: Remove systemd-bootchart Maxime Hadjinlian
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

Since v230 of systemd, the compat libraries have been fully removed.
https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37d

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
v1 -> v2:
    - Fix indent
---
 Config.in.legacy             |  7 +++++++
 package/dbus/Config.in       |  1 -
 package/liblogging/Config.in |  1 -
 package/systemd/Config.in    | 13 -------------
 package/systemd/systemd.mk   |  6 ------
 5 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 34bdaf0..70f6e0a 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -369,6 +369,13 @@ config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS
 	  removed. To get the same features, the libgcrypt and xz
 	  package should now be enabled.
 
+config BR2_PACKAGE_SYSTEMD_COMPAT
+	bool "systemd compatibility libraries has been removed"
+	help
+	  The systemd option te enable the compatibility libraries has been
+	  removed. Theses libraries have been useless since a few version, and
+	  have been fully dropped from the source since v230.
+
 config BR2_GCC_VERSION_4_5_X
 	bool "gcc 4.5.x has been removed"
 	select BR2_LEGACY
diff --git a/package/dbus/Config.in b/package/dbus/Config.in
index 7d49ce5..653f748 100644
--- a/package/dbus/Config.in
+++ b/package/dbus/Config.in
@@ -4,7 +4,6 @@ config BR2_PACKAGE_DBUS
 	# uses fork()
 	depends on BR2_USE_MMU
 	select BR2_PACKAGE_EXPAT
-	select BR2_PACKAGE_SYSTEMD_COMPAT if BR2_INIT_SYSTEMD
 	help
 	  The D-Bus message bus system.
 
diff --git a/package/liblogging/Config.in b/package/liblogging/Config.in
index 12ee950..23c3c1a 100644
--- a/package/liblogging/Config.in
+++ b/package/liblogging/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_LIBLOGGING
 	bool "liblogging"
-	select BR2_PACKAGE_SYSTEMD_COMPAT if BR2_INIT_SYSTEMD
 	help
 	  Liblogging is an easy to use library for
 	  logging. It offers an enhanced replacement
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 81e0d58..17a1c7e 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -310,19 +310,6 @@ config BR2_PACKAGE_SYSTEMD_TIMESYNCD
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
 
-config BR2_PACKAGE_SYSTEMD_COMPAT
-	bool "enable compatibility libraries"
-	help
-	  Since systemd 209, the following libraries have been merged into
-	  libsystemd.so:
-
-	  - libsystemd-daemon
-	  - libsystemd-id128
-	  - libsystemd-journal
-	  - libsystemd-login
-
-	  This option enables the installation of compatibility *.pc files.
-
 config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
 	bool "enable SMACK support"
 	select BR2_PACKAGE_ATTR
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 2f5019c..835fc26 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -54,12 +54,6 @@ define SYSTEMD_RUN_INTLTOOLIZE
 endef
 SYSTEMD_PRE_CONFIGURE_HOOKS += SYSTEMD_RUN_INTLTOOLIZE
 
-ifeq ($(BR2_PACKAGE_SYSTEMD_COMPAT),y)
-SYSTEMD_CONF_OPTS += --enable-compat-libs
-else
-SYSTEMD_CONF_OPTS += --disable-compat-libs
-endif
-
 ifeq ($(BR2_PACKAGE_ACL),y)
 SYSTEMD_CONF_OPTS += --enable-acl
 SYSTEMD_DEPENDENCIES += acl
-- 
2.8.1

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

* [Buildroot] [PATCH 7/9] package/systemd: Remove systemd-bootchart
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
                   ` (4 preceding siblings ...)
  2016-07-02 13:59 ` [Buildroot] [PATCH 6/9] package/systemd: Remove SYSTEMD_COMPAT option Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:52   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 8/9] systemd-bootchart: New package Maxime Hadjinlian
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

Since systemd v230, bootchart has been removed from the source of
systemd and now lives in its own repository.
A new package will be added in the next commit.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 Config.in.legacy           |  6 ++++++
 package/systemd/Config.in  | 10 ----------
 package/systemd/systemd.mk |  6 ------
 3 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 70f6e0a..357f382 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -376,6 +376,12 @@ config BR2_PACKAGE_SYSTEMD_COMPAT
 	  removed. Theses libraries have been useless since a few version, and
 	  have been fully dropped from the source since v230.
 
+config BR2_PACKAGE_SYSTEMD_BOOTCHART
+	bool "systemd-bootchart option has been removed"
+	help
+	  From systemd v230, bootchart is not part of the systemd source anymore.
+	  It is now living in its own repository, a new package must be added.
+
 config BR2_GCC_VERSION_4_5_X
 	bool "gcc 4.5.x has been removed"
 	select BR2_LEGACY
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 17a1c7e..c870138 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -111,16 +111,6 @@ config BR2_PACKAGE_SYSTEMD_VCONSOLE
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
 
-config BR2_PACKAGE_SYSTEMD_BOOTCHART
-	bool "enable bootchart tool"
-	help
-	  systemd-bootchart is a tool, usually run at system startup,
-	  that collects the CPU load, disk load, memory usage, as well
-	  as per-process information from a running system. Collected
-	  results are output as an SVG graph.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html
-
 config BR2_PACKAGE_SYSTEMD_QUOTACHECK
 	bool "enable quotacheck tools"
 	help
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 835fc26..689b40d 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -171,12 +171,6 @@ else
 SYSTEMD_CONF_OPTS += --disable-vconsole
 endif
 
-ifeq ($(BR2_PACKAGE_SYSTEMD_BOOTCHART),y)
-SYSTEMD_CONF_OPTS += --enable-bootchart
-else
-SYSTEMD_CONF_OPTS += --disable-bootchart
-endif
-
 ifeq ($(BR2_PACKAGE_SYSTEMD_QUOTACHECK),y)
 SYSTEMD_CONF_OPTS += --enable-quotacheck
 else
-- 
2.8.1

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

* [Buildroot] [PATCH 8/9] systemd-bootchart: New package
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
                   ` (5 preceding siblings ...)
  2016-07-02 13:59 ` [Buildroot] [PATCH 7/9] package/systemd: Remove systemd-bootchart Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:53   ` Thomas Petazzoni
  2016-07-02 13:59 ` [Buildroot] [PATCH 9/9] package/systemd: Sort menuconfig alphabetically Maxime Hadjinlian
  2016-07-02 14:50 ` [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Thomas Petazzoni
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
v1 -> v2:
    - Remove depends that were copied from systemd
    - Remove empty line in hash file

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in                               |  1 +
 package/systemd-bootchart/Config.in             | 21 +++++++++++++++++++++
 package/systemd-bootchart/system-bootchart.hash |  2 ++
 package/systemd-bootchart/systemd-bootchart.mk  | 15 +++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 100644 package/systemd-bootchart/Config.in
 create mode 100644 package/systemd-bootchart/system-bootchart.hash
 create mode 100644 package/systemd-bootchart/systemd-bootchart.mk

diff --git a/package/Config.in b/package/Config.in
index 5779d04..75298e0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1723,6 +1723,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	source "package/syslog-ng/Config.in"
 endif
 	source "package/systemd/Config.in"
+	source "package/systemd-bootchart/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	source "package/sysvinit/Config.in"
 	source "package/tar/Config.in"
diff --git a/package/systemd-bootchart/Config.in b/package/systemd-bootchart/Config.in
new file mode 100644
index 0000000..58fcfbb
--- /dev/null
+++ b/package/systemd-bootchart/Config.in
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_SYSTEMD_BOOTCHART
+	bool "systemd-bootchart"
+	depends on BR2_INIT_SYSTEMD
+	help
+	  systemd-bootchart is a tool, usually run at system startup,
+	  that collects the CPU load, disk load, memory usage, as well
+	  as per-process information from a running system. Collected
+	  results are output as an SVG graph.
+
+	  systemd-bootchart requires a Linux kernel >= 3.0 with the following
+	  options enabled:
+
+	  - CONFIG_SCHEDSTATS
+	  - CONFIG_SCHED_DEBUG
+
+	  These options will be automatically enabled by Buildroot if
+	  it is responsible for building the kernel. Otherwise, if you
+	  are building your kernel outside of Buildroot, make sure
+	  these options are enabled.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html
diff --git a/package/systemd-bootchart/system-bootchart.hash b/package/systemd-bootchart/system-bootchart.hash
new file mode 100644
index 0000000..c347ef5
--- /dev/null
+++ b/package/systemd-bootchart/system-bootchart.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 8cfea4f604c00289394a4429f934e19f80dceafbe0ae1846e00997f70d81a20f systemd-bootchart-230.tar.xz
diff --git a/package/systemd-bootchart/systemd-bootchart.mk b/package/systemd-bootchart/systemd-bootchart.mk
new file mode 100644
index 0000000..c371b9f
--- /dev/null
+++ b/package/systemd-bootchart/systemd-bootchart.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# systemd-bootchart
+#
+################################################################################
+
+SYSTEMD_BOOTCHART_VERSION = 230
+SYSTEMD_BOOTCHART_SOURCE = systemd-bootchart-$(SYSTEMD_BOOTCHART_VERSION).tar.xz
+# Do not use the github helper here, the generated tarball is *NOT* the same
+# as the one uploaded by upstream for the release.
+SYSTEMD_BOOTCHART_SITE = https://github.com/systemd/systemd-bootchart/releases/download/v$(SYSTEMD_BOOTCHART_VERSION)
+SYSTEMD_BOOTCHART_LICENSE = LGPLv2.1+
+SYSTEMD_BOOTCHART_DEPENDENCIES = systemd
+
+$(eval $(autotools-package))
-- 
2.8.1

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

* [Buildroot] [PATCH 9/9] package/systemd: Sort menuconfig alphabetically
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
                   ` (6 preceding siblings ...)
  2016-07-02 13:59 ` [Buildroot] [PATCH 8/9] systemd-bootchart: New package Maxime Hadjinlian
@ 2016-07-02 13:59 ` Maxime Hadjinlian
  2016-07-02 14:53   ` Thomas Petazzoni
  2016-07-02 14:50 ` [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Thomas Petazzoni
  8 siblings, 1 reply; 18+ messages in thread
From: Maxime Hadjinlian @ 2016-07-02 13:59 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/systemd/Config.in | 262 +++++++++++++++++++++++-----------------------
 1 file changed, 131 insertions(+), 131 deletions(-)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index c870138..da08168 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -69,11 +69,6 @@ if BR2_PACKAGE_SYSTEMD
 config BR2_PACKAGE_PROVIDES_UDEV
 	default "systemd"
 
-config BR2_PACKAGE_SYSTEMD_KDBUS
-	bool "enable kdbus support"
-	help
-	  Enable kdbus support for Systemd.
-
 config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
 	bool "HTTP server for journal events"
 	select BR2_PACKAGE_LIBMICROHTTPD
@@ -84,16 +79,13 @@ config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
 
-config BR2_PACKAGE_SYSTEMD_HWDB
-	bool "enable hwdb installation"
-	default y
+config BR2_PACKAGE_SYSTEMD_BACKLIGHT
+	bool "enable backlight support"
 	help
-	  Enables hardware database installation to /usr/lib/udev/hwdb.d
-
-	  Disabling this option improves first boot time (or every boot
-	  time in case of initramfs images) and saves several MB space.
+	  systemd-backlight is a service that restores the display
+	  backlight brightness at early boot and saves it at shutdown.
 
-	  https://www.freedesktop.org/software/systemd/man/hwdb.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-backlight at .service.html
 
 config BR2_PACKAGE_SYSTEMD_BINFMT
 	bool "enable binfmt tool"
@@ -103,42 +95,14 @@ config BR2_PACKAGE_SYSTEMD_BINFMT
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
 
-config BR2_PACKAGE_SYSTEMD_VCONSOLE
-	bool "enable vconsole tool"
-	help
-	  systemd-vconsole-setup is an early boot service that
-	  configures the virtual console font and console keymap.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
-
-config BR2_PACKAGE_SYSTEMD_QUOTACHECK
-	bool "enable quotacheck tools"
-	help
-	  systemd-quotacheck is a service responsible for file system
-	  quota checks. It is run once at boot after all necessary
-	  file systems are mounted. It is pulled in only if at least
-	  one file system has quotas enabled.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html
-
-config BR2_PACKAGE_SYSTEMD_TMPFILES
-	bool "enable tmpfiles support"
-	default y
-	help
-	  systemd-tmpfiles creates, deletes, and cleans up volatile
-	  and temporary files and directories, based on the
-	  configuration file format and location specified in
-	  tmpfiles.d(5).
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html
-
-config BR2_PACKAGE_SYSTEMD_SYSUSERS
-	bool "enable sysusers support"
+config BR2_PACKAGE_SYSTEMD_COREDUMP
+	bool "enable coredump hook"
 	help
-	  systemd-sysusers creates system users and groups, based on
-	  the file format and location specified in sysusers.d(5).
+	  systemd-coredump can be used as a helper binary by the
+	  kernel when a user space program receives a fatal signal and
+	  dumps core.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-coredump.html
 
 config BR2_PACKAGE_SYSTEMD_FIRSTBOOT
 	bool "enable firstboot support"
@@ -149,47 +113,33 @@ config BR2_PACKAGE_SYSTEMD_FIRSTBOOT
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html
 
-config BR2_PACKAGE_SYSTEMD_RANDOMSEED
-	bool "enable random-seed support"
-	help
-	  systemd-random-seed is a service that restores the random
-	  seed of the system at early boot and saves it at
-	  shutdown. Saving/restoring the random seed across boots
-	  increases the amount of available entropy early at boot.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
-
-config BR2_PACKAGE_SYSTEMD_BACKLIGHT
-	bool "enable backlight support"
+config BR2_PACKAGE_SYSTEMD_HIBERNATE
+	bool "enable hibernation support"
 	help
-	  systemd-backlight is a service that restores the display
-	  backlight brightness at early boot and saves it at shutdown.
+	  When this features is enabled, additional tools and services
+	  are built to support suspending and resuming the system.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-backlight at .service.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
 
-config BR2_PACKAGE_SYSTEMD_RFKILL
-	bool "enable rfkill tools"
+config BR2_PACKAGE_SYSTEMD_HOSTNAMED
+	bool "enable hostname daemon"
+	default y
 	help
-	  systemd-rfkill is a service that restores the RF kill switch
-	  state at early boot and saves it at shutdown.
+	  systemd-hostnamed is a system service that may be used as a
+	  mechanism to change the system's hostname.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-rfkill at .service.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
 
-config BR2_PACKAGE_SYSTEMD_LOGIND
-	bool "enable login daemon"
+config BR2_PACKAGE_SYSTEMD_HWDB
+	bool "enable hwdb installation"
+	default y
 	help
-	  systemd-logind is a system service that manages user logins.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
+	  Enables hardware database installation to /usr/lib/udev/hwdb.d
 
-config BR2_PACKAGE_SYSTEMD_MACHINED
-	bool "enable machine daemon"
-	help
-	  systemd-machined is a system service that keeps track of
-	  virtual machines and containers, and processes belonging to
-	  them.
+	  Disabling this option improves first boot time (or every boot
+	  time in case of initramfs images) and saves several MB space.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
+	  https://www.freedesktop.org/software/systemd/man/hwdb.html
 
 config BR2_PACKAGE_SYSTEMD_IMPORTD
 	bool "enable import daemon"
@@ -206,14 +156,35 @@ config BR2_PACKAGE_SYSTEMD_IMPORTD
 
 	  http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands
 
-config BR2_PACKAGE_SYSTEMD_HOSTNAMED
-	bool "enable hostname daemon"
-	default y
+config BR2_PACKAGE_SYSTEMD_KDBUS
+	bool "enable kdbus support"
 	help
-	  systemd-hostnamed is a system service that may be used as a
-	  mechanism to change the system's hostname.
+	  Enable kdbus support for Systemd.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
+config BR2_PACKAGE_SYSTEMD_LOCALED
+	bool "enable locale daemon"
+	help
+	  systemd-localed is a system service that may be used as
+	  mechanism to change the system locale settings, as well as
+	  the console key mapping and default X11 key mapping.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
+
+config BR2_PACKAGE_SYSTEMD_LOGIND
+	bool "enable login daemon"
+	help
+	  systemd-logind is a system service that manages user logins.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
+
+config BR2_PACKAGE_SYSTEMD_MACHINED
+	bool "enable machine daemon"
+	help
+	  systemd-machined is a system service that keeps track of
+	  virtual machines and containers, and processes belonging to
+	  them.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
 
 config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
 	bool "enable myhostname NSS plugin"
@@ -226,33 +197,18 @@ config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
 
 	  http://www.freedesktop.org/software/systemd/man/nss-myhostname.html
 
-config BR2_PACKAGE_SYSTEMD_TIMEDATED
-	bool "enable timedate daemon"
+config BR2_PACKAGE_SYSTEMD_NETWORKD
+	bool "enable network manager"
 	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
-	  as to enable/disable NTP time synchronization.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
-
-config BR2_PACKAGE_SYSTEMD_LOCALED
-	bool "enable locale daemon"
-	help
-	  systemd-localed is a system service that may be used as
-	  mechanism to change the system locale settings, as well as
-	  the console key mapping and default X11 key mapping.
-
-	  http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html
+	  systemd-networkd is a system service that manages networks.
+	  It detects and configures network devices as they appear, as well as
+	  creating virtual network devices.
 
-config BR2_PACKAGE_SYSTEMD_COREDUMP
-	bool "enable coredump hook"
-	help
-	  systemd-coredump can be used as a helper binary by the
-	  kernel when a user space program receives a fatal signal and
-	  dumps core.
+	  This simple network configuration solution is an alternative to
+	  dhcpcd or ISC dhcp.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-coredump.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
 
 config BR2_PACKAGE_SYSTEMD_POLKIT
 	bool "enable polkit support"
@@ -265,18 +221,25 @@ config BR2_PACKAGE_SYSTEMD_POLKIT
 
 	  http://wiki.freedesktop.org/www/Software/polkit/
 
-config BR2_PACKAGE_SYSTEMD_NETWORKD
-	bool "enable network manager"
-	default y
+config BR2_PACKAGE_SYSTEMD_QUOTACHECK
+	bool "enable quotacheck tools"
 	help
-	  systemd-networkd is a system service that manages networks.
-	  It detects and configures network devices as they appear, as well as
-	  creating virtual network devices.
+	  systemd-quotacheck is a service responsible for file system
+	  quota checks. It is run once at boot after all necessary
+	  file systems are mounted. It is pulled in only if at least
+	  one file system has quotas enabled.
 
-	  This simple network configuration solution is an alternative to
-	  dhcpcd or ISC dhcp.
+	  http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
+config BR2_PACKAGE_SYSTEMD_RANDOMSEED
+	bool "enable random-seed support"
+	help
+	  systemd-random-seed is a service that restores the random
+	  seed of the system at early boot and saves it at
+	  shutdown. Saving/restoring the random seed across boots
+	  increases the amount of available entropy early at boot.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html
 
 config BR2_PACKAGE_SYSTEMD_RESOLVED
 	bool "enable resolve daemon"
@@ -288,17 +251,13 @@ config BR2_PACKAGE_SYSTEMD_RESOLVED
 
 	  http://www.freedesktop.org/software/systemd/man/systemd-resolved.html
 
-config BR2_PACKAGE_SYSTEMD_TIMESYNCD
-	bool "enable timesync daemon"
-	default y
+config BR2_PACKAGE_SYSTEMD_RFKILL
+	bool "enable rfkill tools"
 	help
-	  systemd-timesyncd is a service that may be used to synchronize the
-	  local system clock with a Network Time Protocol server.
-
-	  This simple NTP solution is an alternative to sntp/ntpd from the ntp
-	  package.
+	  systemd-rfkill is a service that restores the RF kill switch
+	  state at early boot and saves it at shutdown.
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-rfkill at .service.html
 
 config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
 	bool "enable SMACK support"
@@ -314,12 +273,53 @@ config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT
 	  When this feature is enabled, Systemd mounts smackfs and manages
 	  security labels for sockets.
 
-config BR2_PACKAGE_SYSTEMD_HIBERNATE
-	bool "enable hibernation support"
+config BR2_PACKAGE_SYSTEMD_SYSUSERS
+	bool "enable sysusers support"
 	help
-	  When this features is enabled, additional tools and services
-	  are built to support suspending and resuming the system.
+	  systemd-sysusers creates system users and groups, based on
+	  the file format and location specified in sysusers.d(5).
 
-	  http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
+	  http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
+
+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
+	  as to enable/disable NTP time synchronization.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html
+
+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 Protocol server.
+
+	  This simple NTP solution is an alternative to sntp/ntpd from the ntp
+	  package.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html
+
+config BR2_PACKAGE_SYSTEMD_TMPFILES
+	bool "enable tmpfiles support"
+	default y
+	help
+	  systemd-tmpfiles creates, deletes, and cleans up volatile
+	  and temporary files and directories, based on the
+	  configuration file format and location specified in
+	  tmpfiles.d(5).
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html
+
+config BR2_PACKAGE_SYSTEMD_VCONSOLE
+	bool "enable vconsole tool"
+	help
+	  systemd-vconsole-setup is an early boot service that
+	  configures the virtual console font and console keymap.
+
+	  http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html
 
 endif
-- 
2.8.1

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

* [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname
  2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
                   ` (7 preceding siblings ...)
  2016-07-02 13:59 ` [Buildroot] [PATCH 9/9] package/systemd: Sort menuconfig alphabetically Maxime Hadjinlian
@ 2016-07-02 14:50 ` Thomas Petazzoni
  8 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:07 +0200, Maxime Hadjinlian wrote:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/systemd/Config.in  | 11 +++++++++++
>  package/systemd/systemd.mk |  6 ++++++
>  2 files changed, 17 insertions(+)
> 
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index b44d57a..7c591b7 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -225,6 +225,17 @@ config BR2_PACKAGE_SYSTEMD_HOSTNAMED
>  
>  	  http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html
>  
> +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), primarily providing hostname
> +	  resolution for the locally configured system hostname as returned by
> +	  gethostname(2).

Too long lines, so I rewrapped them and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved
  2016-07-02 13:59 ` [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved Maxime Hadjinlian
@ 2016-07-02 14:50   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:08 +0200, Maxime Hadjinlian wrote:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/systemd/Config.in  | 10 ++++++++++
>  package/systemd/systemd.mk |  6 ++++++
>  2 files changed, 16 insertions(+)
> 
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index 7c591b7..b2f9feb 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -287,6 +287,16 @@ config BR2_PACKAGE_SYSTEMD_NETWORKD
>  
>  	  http://www.freedesktop.org/software/systemd/man/systemd-networkd.html
>  
> +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 caching and validating
> +	  DNS/DNSSEC stub resolver, as well as an LLMNR resolver and responder.

Same: too long lines, so I rewrapped and applied.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 3/9] package/systemd: Create user only when needed
  2016-07-02 13:59 ` [Buildroot] [PATCH 3/9] package/systemd: Create user only when needed Maxime Hadjinlian
@ 2016-07-02 14:50   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:09 +0200, Maxime Hadjinlian wrote:
> We don't want to create a bunch of group and users that might not be
> used, it's more elegant to create them when the associated features is
> selected.
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/systemd/systemd.mk | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 4/9] package/systemd: Default yes for timesyncd
  2016-07-02 13:59 ` [Buildroot] [PATCH 4/9] package/systemd: Default yes for timesyncd Maxime Hadjinlian
@ 2016-07-02 14:50   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:10 +0200, Maxime Hadjinlian wrote:
> It seems logical to enable a few options along with systemd when it's
> the init system.
> 
> Also change the help as timesyncd is a daemon that implements an SNTP client.
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/systemd/Config.in | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 5/9] package/systemd: Default yes for networkd
  2016-07-02 13:59 ` [Buildroot] [PATCH 5/9] package/systemd: Default yes for networkd Maxime Hadjinlian
@ 2016-07-02 14:50   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:11 +0200, Maxime Hadjinlian wrote:
> It seems logical to enable a few options along with systemd when it's
> the init system.
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/systemd/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 6/9] package/systemd: Remove SYSTEMD_COMPAT option
  2016-07-02 13:59 ` [Buildroot] [PATCH 6/9] package/systemd: Remove SYSTEMD_COMPAT option Maxime Hadjinlian
@ 2016-07-02 14:51   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:51 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:12 +0200, Maxime Hadjinlian wrote:
> Since v230 of systemd, the compat libraries have been fully removed.
> https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37d
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
> v1 -> v2:
>     - Fix indent
> ---
>  Config.in.legacy             |  7 +++++++
>  package/dbus/Config.in       |  1 -
>  package/liblogging/Config.in |  1 -
>  package/systemd/Config.in    | 13 -------------
>  package/systemd/systemd.mk   |  6 ------
>  5 files changed, 7 insertions(+), 21 deletions(-)
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 34bdaf0..70f6e0a 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -369,6 +369,13 @@ config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS
>  	  removed. To get the same features, the libgcrypt and xz
>  	  package should now be enabled.
>  
> +config BR2_PACKAGE_SYSTEMD_COMPAT

Options in Config.in.legacy are not sorted alphabetically, but by the
release they were removed from, and then by reverse chronological
order. So I've moved your option around.

> +	bool "systemd compatibility libraries has been removed"

has -> have

> +	help
> +	  The systemd option te enable the compatibility libraries has been
> +	  removed. Theses libraries have been useless since a few version, and
> +	  have been fully dropped from the source since v230.

Too long lines.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 7/9] package/systemd: Remove systemd-bootchart
  2016-07-02 13:59 ` [Buildroot] [PATCH 7/9] package/systemd: Remove systemd-bootchart Maxime Hadjinlian
@ 2016-07-02 14:52   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:13 +0200, Maxime Hadjinlian wrote:
> Since systemd v230, bootchart has been removed from the source of
> systemd and now lives in its own repository.
> A new package will be added in the next commit.
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  Config.in.legacy           |  6 ++++++
>  package/systemd/Config.in  | 10 ----------
>  package/systemd/systemd.mk |  6 ------
>  3 files changed, 6 insertions(+), 16 deletions(-)
> 
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 70f6e0a..357f382 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -376,6 +376,12 @@ config BR2_PACKAGE_SYSTEMD_COMPAT
>  	  removed. Theses libraries have been useless since a few version, and
>  	  have been fully dropped from the source since v230.
>  
> +config BR2_PACKAGE_SYSTEMD_BOOTCHART
> +	bool "systemd-bootchart option has been removed"

Same: wrong location in Config.in.legacy.

Applied with this fixed. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 8/9] systemd-bootchart: New package
  2016-07-02 13:59 ` [Buildroot] [PATCH 8/9] systemd-bootchart: New package Maxime Hadjinlian
@ 2016-07-02 14:53   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:53 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:14 +0200, Maxime Hadjinlian wrote:

>  package/Config.in                               |  1 +

You forgot to remove the Config.in.legacy symbol, so I've done that.

> +++ b/package/systemd-bootchart/system-bootchart.hash

The hash file should have be named systemd-bootchart.hash.

> +SYSTEMD_BOOTCHART_VERSION = 230
> +SYSTEMD_BOOTCHART_SOURCE = systemd-bootchart-$(SYSTEMD_BOOTCHART_VERSION).tar.xz
> +# Do not use the github helper here, the generated tarball is *NOT* the same
> +# as the one uploaded by upstream for the release.
> +SYSTEMD_BOOTCHART_SITE = https://github.com/systemd/systemd-bootchart/releases/download/v$(SYSTEMD_BOOTCHART_VERSION)
> +SYSTEMD_BOOTCHART_LICENSE = LGPLv2.1+

LICENSE_FILES was missing.

Applied with those issues fixed. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 9/9] package/systemd: Sort menuconfig alphabetically
  2016-07-02 13:59 ` [Buildroot] [PATCH 9/9] package/systemd: Sort menuconfig alphabetically Maxime Hadjinlian
@ 2016-07-02 14:53   ` Thomas Petazzoni
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2016-07-02 14:53 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  2 Jul 2016 15:59:15 +0200, Maxime Hadjinlian wrote:
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/systemd/Config.in | 262 +++++++++++++++++++++++-----------------------
>  1 file changed, 131 insertions(+), 131 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-07-02 14:53 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-02 13:59 [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Maxime Hadjinlian
2016-07-02 13:59 ` [Buildroot] [PATCH 2/9] package/systemd: Add optional support for resolved Maxime Hadjinlian
2016-07-02 14:50   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 3/9] package/systemd: Create user only when needed Maxime Hadjinlian
2016-07-02 14:50   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 4/9] package/systemd: Default yes for timesyncd Maxime Hadjinlian
2016-07-02 14:50   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 5/9] package/systemd: Default yes for networkd Maxime Hadjinlian
2016-07-02 14:50   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 6/9] package/systemd: Remove SYSTEMD_COMPAT option Maxime Hadjinlian
2016-07-02 14:51   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 7/9] package/systemd: Remove systemd-bootchart Maxime Hadjinlian
2016-07-02 14:52   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 8/9] systemd-bootchart: New package Maxime Hadjinlian
2016-07-02 14:53   ` Thomas Petazzoni
2016-07-02 13:59 ` [Buildroot] [PATCH 9/9] package/systemd: Sort menuconfig alphabetically Maxime Hadjinlian
2016-07-02 14:53   ` Thomas Petazzoni
2016-07-02 14:50 ` [Buildroot] [PATCH 1/9] package/systemd: Add optional support for myhostname Thomas Petazzoni

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