Patchwork [for-denzil,3/3] glib.inc: disable selinux for native builds

login
register
mail settings
Submitter Matthew McClintock
Date Aug. 20, 2012, 6:23 p.m.
Message ID <1345487019-931-3-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/34967/
State New
Headers show

Comments

Matthew McClintock - Aug. 20, 2012, 6:23 p.m.
In addition to dbus, we also need to disable selinux for glib as well
otherwise we will get the same link error

(Note: Upstream master has disabled selinux AFAICT)

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/recipes-core/dbus/dbus-glib_0.98.bb      |    2 +-
 meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb |    2 +-
 meta/recipes-core/glib-2.0/glib.inc           |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-core/dbus/dbus-glib_0.98.bb b/meta/recipes-core/dbus/dbus-glib_0.98.bb
index bd9389a..e2c6a0c 100644
--- a/meta/recipes-core/dbus/dbus-glib_0.98.bb
+++ b/meta/recipes-core/dbus/dbus-glib_0.98.bb
@@ -1,6 +1,6 @@ 
 require dbus-glib.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "3f7f117dc7c8d899d9acfdcbf9253fb8"
 SRC_URI[sha256sum] = "297c81d6bb8b1c312e9b0ccfe91eb28ec0672756abb64dfb7bbe2b5f1ae5d111"
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb
index f1f9217..81037a4 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb
@@ -1,6 +1,6 @@ 
 require glib.inc
 
-PR = "r1"
+PR = "r2"
 PE = "1"
 
 DEPENDS += "libffi python-argparse-native zlib"
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 835743a..8eda116 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -26,7 +26,7 @@  inherit autotools pkgconfig gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug --enable-included-printf=no --disable-dtrace --disable-fam"
-EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap --disable-fam"
+EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap --disable-fam --disable-selinux"
 EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no --disable-dtrace --disable-fam"
 
 FILES_${PN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}/bash_completion.d ${datadir}/glib-2.0/schemas"