[oe-commits] Angus Ainslie : fso-paroli-image : add rootfs postprocessing for locale
GIT User account
git at amethyst.openembedded.net
Tue May 19 19:31:46 UTC 2009
Module: openembedded.git
Branch: fso/milestone5.5
Commit: a315d0c201ca3f6a70765650a6df6b1688c1f47a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a315d0c201ca3f6a70765650a6df6b1688c1f47a
Author: Angus Ainslie <nytowl at openmoko.org>
Date: Tue May 19 13:30:55 2009 -0600
fso-paroli-image : add rootfs postprocessing for locale
---
recipes/images/fso-paroli-image.bb | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/recipes/images/fso-paroli-image.bb b/recipes/images/fso-paroli-image.bb
index 7de0ddf..242e170 100644
--- a/recipes/images/fso-paroli-image.bb
+++ b/recipes/images/fso-paroli-image.bb
@@ -4,6 +4,7 @@ ILLUME_THEME = "paroli"
BASE_INSTALL += " \
# udev-static-devices \
+ locale-base-en-ca \
libx11-locale \
localedef \
"
@@ -48,3 +49,12 @@ IMAGE_INSTALL = "\
${APPS_INSTALL} \
"
+paroli_rootfs_postprocess() {
+ curdir=$PWD
+ cd ${IMAGE_ROOTFS}
+ # set a default locale
+ echo "export LC_ALL = en_CA.utf-8" >>./etc/profile
+ cd $curdir
+}
+
+ROOTFS_POSTPROCESS_COMMAND += "paroli_rootfs_postprocess"
More information about the Openembedded-commits
mailing list