summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh b/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
index 4bf7686c2e..78c33b3a73 100644
--- a/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
+++ b/meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh
@@ -21,7 +21,7 @@
21if [ ! -f /opt/lsb/test/manager/bin/dist-checker-start.pl ] 21if [ ! -f /opt/lsb/test/manager/bin/dist-checker-start.pl ]
22then 22then
23 if [ -d /lsb-dist-testkit ];then 23 if [ -d /lsb-dist-testkit ];then
24 cd /lsb-dist-testkit && sh install.sh 24 cd /lsb-dist-testkit && sh install.sh && cd ../lsb-Application && rpm -ivh *.rpm --nodeps --force
25 else 25 else
26 echo "Please install the realted LSB Packages" 26 echo "Please install the realted LSB Packages"
27 exit 1 27 exit 1
@@ -42,7 +42,7 @@ yes|y)
42 if [ $? -eq 0 ] || [ $? -eq 6 ] 42 if [ $? -eq 0 ] || [ $? -eq 6 ]
43 then 43 then
44 echo "Success to delete user tester" 44 echo "Success to delete user tester"
45 else 45 else
46 echo "Fail to delete user tester" 46 echo "Fail to delete user tester"
47 fi 47 fi
48 ;; 48 ;;
@@ -177,21 +177,21 @@ ping -c 5 ftp.linux-foundation.org
177check 177check
178 178
179#Step 7 179#Step 7
180if [ -f /lib/modules/*-wr-standard/kernel/drivers/block/loop.ko ];then 180insmod /lib/modules/2.6.37.2-yocto-standard\+/kernel/drivers/block/loop.ko
181 inmod /lib/modules/*-wr-standard/kernel/drivers/block/loop.ko 181if [ $? != 0 ];then
182 echo "Please insmod loop.ko manully"
182fi 183fi
183
184#Step 8 184#Step 8
185echo "" 185echo ""
186if [ -f /opt/lsb/test/manager/bin/dist-checker-start.pl ];then 186if [ -f /opt/lsb/test/manager/bin/dist-checker-start.pl ];then
187 ./opt/lsb/test/manager/bin/dist-checker-start.pl 187 /opt/lsb/test/manager/bin/dist-checker-start.pl
188fi 188fi
189 189
190
191#Step 9 get ip address for target platform 190#Step 9 get ip address for target platform
192addr=`ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}'|sed s/[[:space:]]Bcast//g` 191addr=`ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}'|sed s/[[:space:]][[:space:]]Bcast//g`
193echo -e "you should input ${addr}:8888 on your browse" 192echo -e "you should input ${addr}:8888 on your browser"
194#Step 8 193
194#Step 10
195echo "Done!!" 195echo "Done!!"
196 196
197###End 197###End