summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabe Evans <gabe@hashrabbit.co>2016-02-25 21:55:11 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-29 22:43:19 +0100
commite5a073ac021656dda1e734314d4bbea83a1c6e74 (patch)
treeccdd422ea381e71c7c1df69854501d0dd054dd1e
parent8ad38a4fc2007df4bee9a941aed46c8771b6a84c (diff)
downloadbuildroot-e5a073ac021656dda1e734314d4bbea83a1c6e74.tar.gz
buildroot-e5a073ac021656dda1e734314d4bbea83a1c6e74.zip
package/systemd: remove BR2_PACKAGE_SYSTEMD_ALL_EXTRAS
The option was a bit misleading since it only selected additional libraries without --enable/disabling any features. Including all of them here would add a lot of bloat so instead, it is replaced with notes detailing which features each library enables. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: - slightly tweak Config.in help text, as suggested by Arnout. - add Config.in.legacy handling for BR2_PACKAGE_SYSTEMD_ALL_EXTRAS, as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--Config.in.legacy10
-rw-r--r--package/systemd/Config.in11
-rw-r--r--package/systemd/systemd.mk16
3 files changed, 23 insertions, 14 deletions
diff --git a/Config.in.legacy b/Config.in.legacy
index 1cd26979d7..69b3c845d3 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -145,6 +145,16 @@ endif
###############################################################################
comment "Legacy options removed in 2016.02"
+config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS
+ bool "systemd all extras option has been removed"
+ select BR2_LEGACY
+ select BR2_PACKAGE_XZ
+ select BR2_PACKAGE_LIBGCRYPT
+ help
+ The systemd option to enable "all extras" has been
+ removed. To get the same features, the libgcrypt and xz
+ package should now be enabled.
+
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 f7fc3bbfde..b7eca3a64b 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -56,6 +56,9 @@ config BR2_PACKAGE_SYSTEMD
The selection of other packages will enable some features:
- acl package will add support for multi-seat.
+ - xz package will add compression support in journal and coredump.
+ - libgcrypt package will add support for journal sealing and
+ DNSSEC verification in resolved.
http://freedesktop.org/wiki/Software/systemd
@@ -64,14 +67,6 @@ if BR2_PACKAGE_SYSTEMD
config BR2_PACKAGE_PROVIDES_UDEV
default "systemd"
-config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS
- bool "enable all extras"
- select BR2_PACKAGE_XZ
- select BR2_PACKAGE_LIBGCRYPT
- help
- Enable extra features for Systemd: journal compression and
- signing.
-
config BR2_PACKAGE_SYSTEMD_KDBUS
bool "enable kdbus support"
help
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index b2cce11b09..9f2dc51798 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -80,16 +80,20 @@ else
SYSTEMD_CONF_OPTS += --disable-kdbus
endif
-ifeq ($(BR2_PACKAGE_SYSTEMD_ALL_EXTRAS),y)
-SYSTEMD_DEPENDENCIES += xz libgcrypt
+ifeq ($(BR2_PACKAGE_XZ),y)
+SYSTEMD_DEPENDENCIES += xz
+SYSTEMD_CONF_OPTS += --enable-xz
+else
+SYSTEMD_CONF_OPTS += --disable-xz
+endif
+
+ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
+SYSTEMD_DEPENDENCIES += libgcrypt
SYSTEMD_CONF_OPTS += \
- --enable-xz \
--enable-gcrypt \
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
else
-SYSTEMD_CONF_OPTS += \
- --disable-xz \
- --disable-gcrypt
+SYSTEMD_CONF_OPTS += --disable-gcrypt
endif
ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y)
OpenPOWER on IntegriCloud