summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-03-24 05:24:17 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 09:55:35 +0000
commit1f85f07414e96aee2603ce61100008dbe7169973 (patch)
tree5c21f2af8a2b348f3bc7bfe9757a425c9757c26f /meta/recipes-core
parent228abf24d4ad043d8e151f19aa9b7220f42566de (diff)
downloadpoky-1f85f07414e96aee2603ce61100008dbe7169973.tar.gz
util-linux: build setpriv requires libcap-ng
There might a failure when build util-linux with the meta-selinux layer: [snip] sys-utils/setpriv.c:21:20: fatal error: cap-ng.h: No such file or directory #include <cap-ng.h> ^ compilation terminated. [snip] Use PACKAGECONFIG to fix the problem. [YOCTO #6026] (From OE-Core rev: 8a6b1ae336a41292ee314c04d93c2c355c772762) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 51c982ae42..ad7aac7900 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -57,6 +57,9 @@ PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuse
57# Respect the systemd feature for uuidd 57# Respect the systemd feature for uuidd
58PACKAGECONFIG[systemd] = "--enable-socket-activation --with-systemdsystemunitdir=${systemd_unitdir}/system/, --disable-socket-activation --without-systemdsystemunitdir" 58PACKAGECONFIG[systemd] = "--enable-socket-activation --with-systemdsystemunitdir=${systemd_unitdir}/system/, --disable-socket-activation --without-systemdsystemunitdir"
59 59
60# Build setpriv requires libcap-ng
61PACKAGECONFIG[libcap-ng] = "--enable-setpriv,--disable-setpriv,libcap-ng,"
62
60FILES_${PN}-bash-completion += "${datadir}/bash-completion" 63FILES_${PN}-bash-completion += "${datadir}/bash-completion"
61FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" 64FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
62 65