package/systemd: Remove systemd-bootchart
PATCH 1/3 package/systemd: Remove systemd-bootchart
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.
--- Config.in.legacy | 6 ++++++ package/systemd/Config.in | 10 ---------- package/systemd/systemd.mk | 6 ------ 3 files changed, 6 insertions(+), 16 deletions(-)
Config.in.legacy +6 -0
@@ -369,6 +369,12 @@ 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_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
package/systemd/Config.in +0 -10
@@ -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
package/systemd/systemd.mk +0 -6
@@ -147,12 +147,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
Signature · 1 line
2.8.1
PATCH 2/3 systemd-bootchart: New package
--- Config.in.legacy | 6 ----- package/Config.in | 1 + package/systemd-bootchart/Config.in | 34 +++++++++++++++++++++++++ package/systemd-bootchart/system-bootchart.hash | 3 +++ package/systemd-bootchart/systemd-bootchart.mk | 15 +++++++++++ 5 files changed, 53 insertions(+), 6 deletions(-) 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
Config.in.legacy +0 -6
@@ -369,12 +369,6 @@ 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_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
package/Config.in +1 -0
@@ -1715,6 +1715,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"
package/systemd-bootchart/Config.in new file +34 -0
@@ -0,0 +1,34 @@ +config BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS + bool + # see src/shared/architecture.h + default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \ + BR2_mipsel || BR2_powerpc || BR2_powerpc64 || \ + BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \ + BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64 || \ + BR2_aarch64 || BR2_m68k + +config BR2_PACKAGE_SYSTEMD_BOOTCHART + bool "systemd-bootchart" + depends on BR2_INIT_SYSTEMD + depends on BR2_USE_WCHAR # util-linux + depends on !BR2_STATIC_LIBS # kmod + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus + depends on BR2_USE_MMU # dbus + 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
package/systemd-bootchart/system-bootchart.hash new file +3 -0
@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 8cfea4f604c00289394a4429f934e19f80dceafbe0ae1846e00997f70d81a20f systemd-bootchart-230.tar.xz +
package/systemd-bootchart/systemd-bootchart.mk new file +15 -0
@@ -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))
Signature · 1 line
2.8.1
PATCH 2/3 systemd-bootchart: New package
Hello,
package/systemd-bootchart/Config.in line 16
Quoted 7 lines · Maxime Hadjinlian
package/systemd-bootchart/Config.in new file +7
-0+config BR2_PACKAGE_SYSTEMD_BOOTCHART + bool "systemd-bootchart" + depends on BR2_INIT_SYSTEMD + depends on BR2_USE_WCHAR # util-linux + depends on !BR2_STATIC_LIBS # kmod + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus + depends on BR2_USE_MMU # dbus
You have lots of "depends on" that refer to util-linux/kmod/dbus, but you don't select any of those packages. This looks suspicious.
package/systemd-bootchart/system-bootchart.hash line 3
Quoted 9 lines
package/systemd-bootchart/system-bootchart.hash new file +3
-0@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 8cfea4f604c00289394a4429f934e19f80dceafbe0ae1846e00997f70d81a20f systemd-bootchart-230.tar.xz +
Unnecessary empty line.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 package/systemd: Remove SYSTEMD_COMPAT option
In reply to Maxime HadjinlianSince v230 of systemd, the compat libraries have been fully removed.
https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37d
--- 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(-)
Config.in.legacy +7 -0
@@ -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
package/dbus/Config.in +0 -1
@@ -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.
package/liblogging/Config.in +0 -1
@@ -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
package/systemd/Config.in +0 -13
@@ -144,19 +144,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
package/systemd/systemd.mk +0 -6
@@ -51,12 +51,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
Signature · 1 line
2.8.1
PATCH 3/3 package/systemd: Remove SYSTEMD_COMPAT option
Hello,
Quoted 17 lines · Maxime Hadjinlian
Since v230 of systemd, the compat libraries have been fully removed.
https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37dSigned-off-by Maxime Hadjinlian <[email protected]>--- 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(-)Config.in.legacy +0
-0
Config.in.legacy config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS · line 377
Quoted 9 lines
Config.in.legacy +6
-0@@ -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.
Indentation is not good here.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com