package destination

From: Carl Worth <cworth_at_east.isi.edu>
Date: Mon, 4 Jun 2001 09:24:20 -0400

Bernd Schumacher writes:

> there are some packages which I only use together with my
> flashdisk. For example to use madplay I need mp3 files and because
> this files are large I have to put them on my flashdisk.
>
> Because space on ipaq is limited, I thought it would be a good idea
> to install madplay on the flashdisk.

This is important functionality and its on the TODO for ipkg.

> Would it be a good idea to write a script that moves all files
> found in /usr/lib/ipkg/info/<package> to flashdisk and lets
> symbolic links for each file point to the file on flashdisk? Or
> would this lead to problems, when the package is removed with ipkg?
> Or what kind of problems could happen?

Mucking around with any files in /usr/lib/ipkg is a bad idea. These
files should be considered ipkg internals and are subject to change.

The right solution is for ipkg to support retargeted installation
directly. The code is pretty close already with the IPKG_ROOT variable
but it needs some work, (see my post on this subject from last week).

I'll do this eventually, unless someone sends me the patches first --
please do. :)

-Carl

-- 
Carl Worth                                        
USC Information Sciences Institute                 cworth_at_east.isi.edu
4350 N. Fairfax Dr. #770, Arlington VA 22203	          703-812-3725
Received on Mon Jun 04 2001 - 06:22:22 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:26 EDT