ipkg: multiple targets

From: Carl Worth <cworth.a.t.east.isi.edu>
Date: Thu Jun 14 2001 - 08:28:29 EDT

Leonard Sitongia writes:
> Hi,
>
> I see in your TODO list that you have a goal of allowing ipkg to
> install to different directories. When I set IPKG_ROOT to,
> for example, /usr/local (to install stuff onto a microdrive I
> want to mount there), "usr" is created under there, so I
> end up with /usr/local/usr/bin, for example. I just want to
> ask, your TODO item is to address that, right?

Leonard,

I just released ipkg 0.9 with real multiple target support, (not the
ugly IPKG_ROOT hack that some people were using). See the familiar
mailing list for the announcement.

BTW, the problem you are seeing with /usr/local/usr/bin won't go away
and I don't see an easy way to avoid this. The problem is that the
standard locations for a package in /:

        /etc/
        /usr/bin
        /usr/lib

are not identical to the sub-paths generally used when installing to
/usr/local:

        /usr/local/etc
        /usr/local/bin
        /usr/local/lib

One work around that is pretty reasonable is to just do:

        ln -s /usr/local/usr/bin /usr/local/bin

I'm open to other suggestions if people can think of anything more
elegant.

> Thanks for your time and work!

You're welcome.

-Carl

-- 
Carl Worth                                        
USC Information Sciences Institute                 cworth@east.isi.edu
4350 N. Fairfax Dr. #770, Arlington VA 22203	          703-812-3725
Received on Thu Jun 14 05:25:30 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:26 EDT