summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh')
-rw-r--r--meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh b/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
index 7ce823ea6e..a8189e5944 100644
--- a/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
+++ b/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
@@ -1,6 +1,6 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# Copyright (c) 2005-2010 Wind River Systems, Inc. 3# Copyright (C) 2010-2011 Wind River Systems, Inc.
4# 4#
5# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 6# it under the terms of the GNU General Public License version 2 as
@@ -201,6 +201,19 @@ fi
201addr=`ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}'|sed s/[[:space:]][[:space:]]Bcast//g` 201addr=`ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}'|sed s/[[:space:]][[:space:]]Bcast//g`
202echo -e "you should input ${addr}:8888 on your browser" 202echo -e "you should input ${addr}:8888 on your browser"
203 203
204#workaround to add part of locales for LSB test
205localedef -i ja_JP -f EUC-JP ja_JP.eucjp
206localedef -i en_US -f ISO-8859-15 en_US.ISO-8859-15
207localedef -i en_US -f UTF-8 en_US.UTF-8
208localedef -i se_NO -f UTF-8 se_NO.UTF-8
209localedef -i de_DE -f ISO-8859-1 de_DE
210
211#resolve localhost
212LOCALHOST=`hostname`
213if ! `grep -F -q "$LOCALHOST" /etc/hosts`; then
214 echo "127.0.0.1 $LOCALHOST" >> /etc/hosts
215fi
216
204#Step 10 217#Step 10
205echo "Done!!" 218echo "Done!!"
206 219