Skip to contentSkip to conversation

Misc bugfixes

PATCH In review [email protected] 2 participants 4 messages Apr 9, 2012 – Apr 11, 2012

lore
Share & tools
lore
#0 lore raw

cover Misc bugfixes

From: Nitin A Kamble <[email protected]>

The following changes since commit 190f6d791d51aaa4cfb9f1cf932bc205ff674fb5:

runqemu-internal: Add console=tty for qemuppc and NFS (2012-04-06 01:12:47 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/bugfixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/bugfixes

Nitin A Kamble (2):
tclibc-eglibc.inc: make locale packages dependency conditional poky-tiny.conf: adjust eglibc options for poky-tiny

 meta-yocto/conf/distro/poky-tiny.conf      |    6 ++++++
 meta/conf/distro/include/tclibc-eglibc.inc |   23 ++++++++++++++++-------
 2 files changed, 22 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.7
#1 lore raw

PATCH 1/2 tclibc-eglibc.inc: make locale packages dependency conditional

From: Nitin A Kamble <[email protected]>

Only add locale package dependencies if the eglibc is configured with locale support.
This avoids dependencies issues for distros such as poky-tiny

---
 meta/conf/distro/include/tclibc-eglibc.inc |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)
meta/conf/distro/include/tclibc-eglibc.inc +16 -7
index 8b8a214..aed82d1 100644
@@ -23,10 +23,19 @@ LIBC_DEPENDENCIES = "libsegfault \
     		     eglibc-dev \
     		     eglibc-utils \
     		     eglibc-thread-db \
-    		     eglibc-localedata-i18n \
-    		     eglibc-gconv-ibm850 \
-    		     eglibc-gconv-cp1252 \
-    		     eglibc-gconv-iso8859-1 \
-    		     eglibc-gconv-iso8859-15 \
-    		     locale-base-en-us \
-    		     locale-base-en-gb "
+		     ${@get_libc_locales_dependencies(d)}"
+
+LIBC_LOCALE_DEPENDENCIES = "\
+	eglibc-localedata-i18n \
+	eglibc-gconv-ibm850 \
+	eglibc-gconv-cp1252 \
+	eglibc-gconv-iso8859-1 \
+	eglibc-gconv-iso8859-15 \
+	locale-base-en-us \
+	locale-base-en-gb"
+
+def get_libc_locales_dependencies(d):
+    if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() :
+        return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or ''
+    else:
+        return ''
Signature · 1 line
1.7.7
#2 lore raw

PATCH 2/2 poky-tiny.conf: adjust eglibc options for poky-tiny

From: Nitin A Kamble <[email protected]>

Avoid errors for building meta-toolchain for poky-tiny

This Fixes Bug: [YOCTO #2259]

---
 meta-yocto/conf/distro/poky-tiny.conf |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
meta-yocto/conf/distro/poky-tiny.conf +6 -0
index 395c6fb..58d64ec 100644
@@ -63,6 +63,12 @@ ASSUME_PROVIDED += "pkgconfig$"
 # Reconfigure eglibc for a smaller installation
 # Comment out any of the lines below to disable them in the build
 DISTRO_FEATURES_LIBC_TINY = "libc-libm libc-crypt"
+# for gettext
+DISTRO_FEATURES_LIBC_TINY += "libc-posix-clang-wchar"
+# for m4
+DISTRO_FEATURES_LIBC_TINY += "libc-spawn libc-locale-code"
+# for elfutils
+DISTRO_FEATURES_LIBC_TINY += "libc-ftraverse"
 # Required for "who"
 DISTRO_FEATURES_LIBC_MINIMAL = "libc-utmp libc-getlogin"
 DISTRO_FEATURES_LIBC_REGEX = "libc-posix-regexp"
Signature · 1 line
1.7.7
#3 lore raw
In reply to [email protected]
Quoted 10 lines · On 04/09/2012 03:27 PM, [email protected] wrote:

From: Nitin A Kamble<[email protected]>

The following changes since commit 190f6d791d51aaa4cfb9f1cf932bc205ff674fb5:

   runqemu-internal: Add console=tty for qemuppc and NFS (2012-04-06 01:12:47 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/bugfixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/bugfixes

Quoted 8 lines

Nitin A Kamble (2):
tclibc-eglibc.inc: make locale packages dependency conditional poky-tiny.conf: adjust eglibc options for poky-tiny

  meta-yocto/conf/distro/poky-tiny.conf      |    6 ++++++
  meta/conf/distro/include/tclibc-eglibc.inc |   23 ++++++++++++++++-------
  2 files changed, 22 insertions(+), 7 deletions(-)

Nitin, in the future two emails and 2 seperate branches for fixes that are OE-Core vs Poky.

Merged these into Poky Master and OE-Core as appropriate

Thanks
Sau!