Skip to contentSkip to conversation

poky.conf: add distros that work correctly

PATCH New Matthew McClintock 1 participant 3 messages Aug 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 poky.conf: add distros that work correctly

All the builds pass for these distros as well

atom-pc, beagleboard, mpc8513e-rdb, routerstationpro

As well as other powerpc targets:

p1022ds, p4080ds, p5020ds, p5020ds-64b

---
 meta-yocto/conf/distro/poky.conf |    2 ++
 1 file changed, 2 insertions(+)
meta-yocto/conf/distro/poky.conf +2 -0
index 6107993..e89697c 100644
@@ -70,11 +70,13 @@ SANITY_TESTED_DISTROS ?= " \
             Ubuntu 10.04.4 LTS \n \
             Ubuntu 11.10 \n \
             Ubuntu 12.04 LTS \n \
+            Fedora release 13 (Goddard) \n \
             Fedora release 15 (Lovelock) \n \
             Fedora release 16 (Verne) \n \
             Fedora release 17 (Beefy Miracle) \n \
             CentOS release 5.6 (Final) \n \
             CentOS release 5.7 (Final) \n \
+            CentOS release 5.8 (Final) \n \
             CentOS release 6.2 (Final) \n \
             Debian GNU/Linux 6.0.4 (squeeze) \n \
             openSUSE 11.4 \n \
Signature · 1 line
1.7.9.7
#1 lore raw

PATCH 2/3 dbus.inc: disable selinux for native builds

(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
---
 meta/recipes-core/dbus/dbus.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/dbus/dbus.inc +3 -1
index a75583d..e9e287b 100644
@@ -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
 
Signature · 1 line
1.7.9.7
#2 lore raw

PATCH 3/3 glib.inc: disable selinux for native builds

In reply to Matthew McClintock

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)

---
 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(-)
meta/recipes-core/dbus/dbus-glib_0.98.bb +1 -1
index bd9389a..e2c6a0c 100644
@@ -1,6 +1,6 @@
 require dbus-glib.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "3f7f117dc7c8d899d9acfdcbf9253fb8"
 SRC_URI[sha256sum] = "297c81d6bb8b1c312e9b0ccfe91eb28ec0672756abb64dfb7bbe2b5f1ae5d111"
meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb +1 -1
index f1f9217..81037a4 100644
@@ -1,6 +1,6 @@
 require glib.inc
 
-PR = "r1"
+PR = "r2"
 PE = "1"
 
 DEPENDS += "libffi python-argparse-native zlib"
meta/recipes-core/glib-2.0/glib.inc +1 -1
index 835743a..8eda116 100644
@@ -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"
Signature · 1 line
1.7.9.7