From: Matthew McClintock <msm@freescale.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [for-denzil 2/3] dbus.inc: disable selinux for native builds
Date: Mon, 20 Aug 2012 13:23:38 -0500 [thread overview]
Message-ID: <1345487019-931-2-git-send-email-msm@freescale.com> (raw)
In-Reply-To: <1345487019-931-1-git-send-email-msm@freescale.com>
(Note: Upstream master has disabled selinux for this AFAICT)
Fixes issues such as:
| /usr/bin/ld: cannot find -lselinux
| collect2: ld returned 1 exit status
| make[3]: *** [libdbus-glib-1.la] Error 1
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
meta/recipes-core/dbus/dbus.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index a75583d..e9e287b 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -10,7 +10,7 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
-INC_PR = "r3"
+INC_PR = "r4"
SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
file://tmpdir.patch; \
@@ -70,6 +70,8 @@ EXTRA_OECONF = "--disable-tests \
--with-systemdsystemunitdir=${systemd_unitdir}/system/ \
${EXTRA_OECONF_X}"
+EXTRA_OECONF_append_virtclass-native = " --disable-selinux"
+
do_install() {
autotools_do_install
--
1.7.9.7
next prev parent reply other threads:[~2012-08-20 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 18:23 [for-denzil 1/3] poky.conf: add distros that work correctly Matthew McClintock
2012-08-20 18:23 ` Matthew McClintock [this message]
2012-08-20 18:23 ` [for-denzil 3/3] glib.inc: disable selinux for native builds Matthew McClintock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1345487019-931-2-git-send-email-msm@freescale.com \
--to=msm@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox