summaryrefslogtreecommitdiff
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-07-03 11:14:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-05 15:42:08 +0100
commitdf801d65e5b55542d6bd94a179becd79d010b32a (patch)
tree702e83d113f6d70b66d6a37913db3be02a485bce /meta/recipes-core/util-linux
parent7e768395622578b3bf944a91a1ac31022c11e245 (diff)
downloadopenembedded-core-df801d65e5b55542d6bd94a179becd79d010b32a.tar.gz
openembedded-core-df801d65e5b55542d6bd94a179becd79d010b32a.tar.bz2
openembedded-core-df801d65e5b55542d6bd94a179becd79d010b32a.zip
util-linux: disable runuser by default since it depends on PAM
util-linux's configure checks for pam_misc.h and if it finds it will enable runuser, there was a case where it was found via shared state and then got rebuilt. This makes the build more deterministic. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 0ada1a5ade..5bae370688 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -45,6 +45,7 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \
--disable-vipw --disable-newgrp --disable-chfn-chsh --disable-su \
--enable-write --enable-arch --enable-mount --with-fsprobe=builtin \
--enable-libuuid --enable-libblkid --enable-fsck --without-udev \
+ --disable-runuser \
usrsbin_execdir='${sbindir}' \
"
@@ -52,7 +53,7 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \
EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--enable-socket-activation', '--disable-socket-activation', d)}"
EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
-EXTRA_OECONF_append_class-native = " --disable-login --disable-su"
+EXTRA_OECONF_append_class-native = " --disable-login --disable-su --disable-runuser"
FILES_${PN}-bash-completion += "${datadir}/bash-completion"
FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"