07/10/2009, 10:30 AM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
As in, from the root prompt on your pre.
ipkg -o /var install foo.ipk This command installs your packages using /var as the root directory instead of /. This obviates the need to run "mount -o remount,rw /" before and "mount -o remount,ro /" after installing. You still need to run "exec luna-send -n 1 palm://com.palm.applicationManager/rescan {}" after installing, however. This is what happens when you install applications from the App Catalog, or via the email hole in previous versions of WebOS. I've inspected at least one App Catalog ipk file (Speed Brain) and confirmed that (a) its data.tar.gz file doesn't use /var in its paths and (b) it still installs into /var. If your ipkg for some reason includes files outside of /usr/palm/applications (as I'm speculating may be the case for some packages that aren't pure Mojo), this process *may* not be appropriate. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



