Patchwork [1/5] glib: disable selinux for native builds

login
register
mail settings
Submitter Matthew McClintock
Date Feb. 5, 2013, 5:46 p.m.
Message ID <1360086408-29832-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/44141/
State Accepted
Commit 4c223e2b2ba552b832b51c9071f003de67493c27
Headers show

Comments

Matthew McClintock - Feb. 5, 2013, 5:46 p.m.
This improves reusabiliy of sstate-cache across different hosts

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

Patch

diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb
index e1d44e2..fe50220 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.34.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 53b20b6..cb391a2 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -29,7 +29,7 @@  CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap"
 
 PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '', '--disable-modular-tests', d)}"
 EXTRA_OECONF = "--enable-included-printf=no ${CORECONF} ${PTEST_CONF}"
-EXTRA_OECONF_class-native = "${CORECONF}"
+EXTRA_OECONF_class-native = "${CORECONF} --disable-selinux"
 EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}"
 
 FILES_${PN} = "${libdir}/lib*${SOLIBS} ${datadir}/glib-2.0/schemas \