diff options
-rw-r--r-- | meta/recipes-extended/lsb/lsbsetup/LSB_Setup.sh | 20 |
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 @@ | |||
21 | if [ ! -f /opt/lsb/test/manager/bin/dist-checker-start.pl ] | 21 | if [ ! -f /opt/lsb/test/manager/bin/dist-checker-start.pl ] |
22 | then | 22 | then |
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 | |||
177 | check | 177 | check |
178 | 178 | ||
179 | #Step 7 | 179 | #Step 7 |
180 | if [ -f /lib/modules/*-wr-standard/kernel/drivers/block/loop.ko ];then | 180 | insmod /lib/modules/2.6.37.2-yocto-standard\+/kernel/drivers/block/loop.ko |
181 | inmod /lib/modules/*-wr-standard/kernel/drivers/block/loop.ko | 181 | if [ $? != 0 ];then |
182 | echo "Please insmod loop.ko manully" | ||
182 | fi | 183 | fi |
183 | |||
184 | #Step 8 | 184 | #Step 8 |
185 | echo "" | 185 | echo "" |
186 | if [ -f /opt/lsb/test/manager/bin/dist-checker-start.pl ];then | 186 | if [ -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 |
188 | fi | 188 | fi |
189 | 189 | ||
190 | |||
191 | #Step 9 get ip address for target platform | 190 | #Step 9 get ip address for target platform |
192 | addr=`ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}'|sed s/[[:space:]]Bcast//g` | 191 | addr=`ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}'|sed s/[[:space:]][[:space:]]Bcast//g` |
193 | echo -e "you should input ${addr}:8888 on your browse" | 192 | echo -e "you should input ${addr}:8888 on your browser" |
194 | #Step 8 | 193 | |
194 | #Step 10 | ||
195 | echo "Done!!" | 195 | echo "Done!!" |
196 | 196 | ||
197 | ###End | 197 | ###End |