Thread: iLiad How to replace /usr/lib?
View Single Post
Old 04-11-2009, 06:21 AM   #11
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Hansel, I'll try your suggestion later.
Until now, I still don't know how to diagnose the problem. I believe the boot process failed during running start.sh. But I don't know how to log the output of start.sh.

I made a bootable cf first by dd from irex app.image, then I copied some files on my iLad to cf. So, my bootable cf is nearly identical to my iLiad. Then I use resize2fs to expand filesystem from 76mb to 128mb so that it can contain new libs.

If I want to try to execute newlister with new gtk libs, where should I insert the line that you suggested. I looked in "start.sh", there is:
Code:
#CONTENTLISTER: (/usr/bin/contentLister --sync ; reboot) &
if [ -x /usr/bin/newLister ]; then                           #NEWLISTER
  (/usr/bin/newLister --items 12 --sync ; reboot) &          #NEWLISTER
else                                                         #NEWLISTER
  (/usr/bin/contentLister --sync ; reboot) &                 #NEWLISTER
fi                                                           #NEWLISTER
I replaced it with:
Code:
  (export LD_LIBRARY_PATH=<your new libs>; /lib/ld-linux.so.2 --list /usr/bin/newLister --items 12 --sync ; reboot) &          #NEWLISTER
I will post the result later.

Last edited by ericshliao; 04-11-2009 at 06:38 AM.
ericshliao is offline   Reply With Quote