diff options
author | Ross Burton <ross.burton@intel.com> | 2015-02-24 18:07:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-24 23:32:48 +0000 |
commit | 28618e46480f6fa0f099e050747a385acea57006 (patch) | |
tree | 51a606555bdbc22c69578e8361c6a0f2d3c55ba9 /meta/recipes-core/util-linux | |
parent | 04819731e9696450dc5d59c07028e38a9d09a1d9 (diff) | |
download | poky-28618e46480f6fa0f099e050747a385acea57006.tar.gz |
util-linux: disable systemd
systemd has a build-dependency on util-linux for libmount, and util-linux has an
optional build dependency on systemd.
The features in util-linux that enabling systemd gives you are:
* lslogins can show recent journal entries from the user
* uuidd can use socket activation and has a service file
* fstrim has a service file
* logger can write journal entries
These are not worth the overhead of maintaining two util-linux recipes to
bootstrap the cycle, so disable systemd support in util-linux.
(From OE-Core rev: e9b13af813ac74144fea7479208ae0e699518093)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index b4f51e9e4f..3d8a4d0374 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -48,8 +48,7 @@ SHARED_EXTRA_OECONF = "--disable-use-tty-group \ | |||
48 | 48 | ||
49 | EXTRA_OECONF = "${SHARED_EXTRA_OECONF} --libdir=${base_libdir}" | 49 | EXTRA_OECONF = "${SHARED_EXTRA_OECONF} --libdir=${base_libdir}" |
50 | 50 | ||
51 | PACKAGECONFIG_class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | 51 | PACKAGECONFIG_class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
52 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} " | ||
53 | PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam," | 52 | PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam," |
54 | 53 | ||
55 | # Respect the systemd feature for uuidd | 54 | # Respect the systemd feature for uuidd |
@@ -117,7 +116,7 @@ RDEPENDS_${PN}_class-nativesdk = "" | |||
117 | 116 | ||
118 | RPROVIDES_${PN}-dev = "util-linux-libblkid-dev util-linux-libmount-dev util-linux-libuuid-dev" | 117 | RPROVIDES_${PN}-dev = "util-linux-libblkid-dev util-linux-libmount-dev util-linux-libuuid-dev" |
119 | 118 | ||
120 | SYSTEMD_PACKAGES = "${PN}-uuidd ${PN}-fstrim" | 119 | #SYSTEMD_PACKAGES = "${PN}-uuidd ${PN}-fstrim" |
121 | SYSTEMD_SERVICE_${PN}-uuidd = "uuidd.socket uuidd.service" | 120 | SYSTEMD_SERVICE_${PN}-uuidd = "uuidd.socket uuidd.service" |
122 | SYSTEMD_AUTO_ENABLE_${PN}-uuidd = "disable" | 121 | SYSTEMD_AUTO_ENABLE_${PN}-uuidd = "disable" |
123 | SYSTEMD_SERVICE_${PN}-fstrim = "fstrim.timer fstrim.service" | 122 | SYSTEMD_SERVICE_${PN}-fstrim = "fstrim.timer fstrim.service" |