* [PATCH 0/2] Fix some failures of LSB.
@ 2011-01-21 9:38 Jingdong Lu
2011-01-21 9:38 ` [PATCH 1/2] base-files: Add to make some directories needed by LSB Jingdong Lu
2011-01-21 9:38 ` [PATCH 2/2] gcc: Add "--enable-clocale=gnu" option explicitly Jingdong Lu
0 siblings, 2 replies; 3+ messages in thread
From: Jingdong Lu @ 2011-01-21 9:38 UTC (permalink / raw)
To: poky
Libstdc++, Cpp-T2C tests: need a number of locales setup and need libstdc++.so support.
Core tests: will check some directory whether they exist, eg, "/usr/local".
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: jingdonglu/distro
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro
Thanks,
Jingdong Lu <jingdong.lu@windriver.com>
---
Jingdong Lu (2):
base-files: Add to make some directories needed by LSB.
gcc: Add "--enable-clocale=gnu" option explicitly
meta/recipes-core/base-files/base-files_3.0.14.bb | 18 +++++++++++++++++-
meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 +-
2 files changed, 18 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] base-files: Add to make some directories needed by LSB.
2011-01-21 9:38 [PATCH 0/2] Fix some failures of LSB Jingdong Lu
@ 2011-01-21 9:38 ` Jingdong Lu
2011-01-21 9:38 ` [PATCH 2/2] gcc: Add "--enable-clocale=gnu" option explicitly Jingdong Lu
1 sibling, 0 replies; 3+ messages in thread
From: Jingdong Lu @ 2011-01-21 9:38 UTC (permalink / raw)
To: poky
LSB will check some directories,eg, "/usr/local/" and need to make them for LSB test.
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
---
meta/recipes-core/base-files/base-files_3.0.14.bb | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 0557696..2363feb 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -2,7 +2,7 @@ SUMMARY = "Miscellaneous files for the base system."
DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system."
SECTION = "base"
PRIORITY = "required"
-PR = "r65"
+PR = "r66"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "file://rotation \
@@ -48,6 +48,12 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
/mnt /media /media/card /media/cf /media/net /media/ram \
/media/union /media/realroot /media/hdd \
/media/mmc1"
+dirs3755 = "/srv \
+ ${prefix}/local ${prefix}/local/bin ${prefix}/local/games \
+ ${prefix}/local/include ${prefix}/local/lib ${prefix}/local/sbin \
+ ${prefix}/local/share ${prefix}/local/src"
+dirs4775 = "/var/mail"
+
volatiles = "cache run log lock tmp"
conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \
@@ -156,6 +162,16 @@ do_install_append_netbook-pro () {
mkdir -p ${D}/initrd
}
+do_install_append_poky-lsb() {
+ for d in ${dirs3755}; do
+ install -m 0755 -d ${D}$d
+ done
+
+ for d in ${dirs4775}; do
+ install -m 2755 -d ${D}$d
+ done
+}
+
PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
FILES_${PN} = "/"
FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] gcc: Add "--enable-clocale=gnu" option explicitly
2011-01-21 9:38 [PATCH 0/2] Fix some failures of LSB Jingdong Lu
2011-01-21 9:38 ` [PATCH 1/2] base-files: Add to make some directories needed by LSB Jingdong Lu
@ 2011-01-21 9:38 ` Jingdong Lu
1 sibling, 0 replies; 3+ messages in thread
From: Jingdong Lu @ 2011-01-21 9:38 UTC (permalink / raw)
To: poky
Add "--enable-clocale=gun" option for gcc configuration explicitly in order to make sure C++ library can use correct locale module.
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
---
meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 4393777..b212fdc 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -27,7 +27,7 @@ EXTRA_OECONF_INTERMEDIATE ?= ""
GCCMULTILIB = "--disable-multilib"
-EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
+EXTRA_OECONF = "${@['--enable-clocale=generic', ' --enable-clocale=gnu'][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
--with-gnu-ld \
--enable-shared \
--enable-languages=${LANGUAGES} \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-21 9:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21 9:38 [PATCH 0/2] Fix some failures of LSB Jingdong Lu
2011-01-21 9:38 ` [PATCH 1/2] base-files: Add to make some directories needed by LSB Jingdong Lu
2011-01-21 9:38 ` [PATCH 2/2] gcc: Add "--enable-clocale=gnu" option explicitly Jingdong Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox