Re: Moving default packages to SD

"Justin Patrin" <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.user
Message-ID <[email protected]>
On 8/15/06, Andrew Pearce <[email protected]> wrote:
>
> Hi,
>
> I've installed OpenZaurus (Opie flavour) on an SL-C1000, but due to the
> somewhat limited root partition size I'm a bit wary of storing things
> like my email on the root since I don't know how much will get stuck on
> the disk after being downloaded.
>
> I'm assuming there's nothing special about most of the default packages
> which are part of the image, in the sense that they can be deleted and
> moved around as normal? If so, is there an easier way of migrating an
> application from the root partition to an SD card, other than removing
> it and reinstalling with the appropriate option set?
>
> Sorry for asking a daft question, but I wanted to confirm I'd understood
> correctly before I mucked around too much. I'm not familiar with the
> package system, and I'm not sure what setting the target to "SD card" in
> the GUI actually does in terms of installing the package (passes some
> sort of "root dir" option to the installer?)
>

It installs to the SD card then makes symbolic links for all of its
files to your root filesystem. (ipkg-link)

It should theoretically be possible to move a package to an alternate
installation point since ipkg keeps a list of all of the files
installed for each package. It would just need to move them all to the
new location, change the status file(s), and run ipkg-link.

-- 
Justin Patrin

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.