webOS Nation Forums > webOS apps and software > webOS development > You still don't need to put /var in your ipkgs. How to install properly using ipkg.
Member: dsevil
at: 11:30 AM 07/10/2009
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.
Reply
Member: a2thejay23
at: 04:53 PM 07/10/2009
where would u copy the ipk to exactly to make this work?

like meaning what dir would u put the ipk in when you copy it from the computer onto the pre
Reply
Member: a2thejay23
at: 05:19 PM 07/10/2009
nm figured it out thanks!
Reply

webOS Nation Forums > webOS apps and software > webOS development > You still don't need to put /var in your ipkgs. How to install properly using ipkg.