Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] util-linux: build setpriv requires libcap-ng
@ 2014-03-24  9:24 Robert Yang
  2014-03-24  9:24 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2014-03-24  9:24 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 4a47c943a76e79af82d47d8fa83c6687e0d915a0:

  busybox: disable fsck.minix and mkfs.minix (2014-03-23 09:08:49 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/util-linux
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/util-linux

Robert Yang (1):
  util-linux: build setpriv requires libcap-ng

 meta/recipes-core/util-linux/util-linux.inc |    3 +++
 1 file changed, 3 insertions(+)

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] util-linux: build setpriv requires libcap-ng
  2014-03-24  9:24 [PATCH 0/1] util-linux: build setpriv requires libcap-ng Robert Yang
@ 2014-03-24  9:24 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-03-24  9:24 UTC (permalink / raw)
  To: openembedded-core

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]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-core/util-linux/util-linux.inc |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 51c982a..ad7aac7 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
 # Respect the systemd feature for uuidd
 PACKAGECONFIG[systemd] = "--enable-socket-activation --with-systemdsystemunitdir=${systemd_unitdir}/system/, --disable-socket-activation --without-systemdsystemunitdir"
 
+# Build setpriv requires libcap-ng
+PACKAGECONFIG[libcap-ng] = "--enable-setpriv,--disable-setpriv,libcap-ng,"
+
 FILES_${PN}-bash-completion += "${datadir}/bash-completion"
 FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
 
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-24  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24  9:24 [PATCH 0/1] util-linux: build setpriv requires libcap-ng Robert Yang
2014-03-24  9:24 ` [PATCH 1/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox