David Johnston wrote:

>"Jason A. Pattie" wrote:
>
>>>Cobus Hill wrote:
>>>
>>>>I know you can also force the rpm to install to a certain dircectory but there are 
>a few rpms i have encountered that does not allow for this to happen.
>>>>
>>Umm.  I think you can get away with relocating any RPM out there that
>>you want.  Maybe 'relocate' isn't the right word.  Have you used the
>>--root feature of rpm?  This will definitely put the RPM package/files
>>and the RPM database entries in the location you want.  So for example,
>>to install the latest version of Mozilla to the /opt/ltsp/i386 directory
>>infrastructure, on the server, you would type 'rpm --root /opt/ltsp/i386
>>mozilla-1.0.0-...-i386.rpm', and viola!  Mozilla goes where you want it
>>to.  No need for mounting /opt/ltsp/i386 read/write or to installing RPM
>>into the thin client filesystem, etc.
>>
>
>Jason,
>does the --root option relocate both the application and the rpm
>database?
>
It doesn't 'relocate' in the sense that RPM gives to that word.  It 
actually does a chroot to the directory that you specify as --root and 
does all installation steps and RPM database changes from that directory 
as 'root'.

>Is there any advantage to doing this vs. copying the executable and as
>few libraries as we can get away with?
>
You get a "complete" RPM'lized system on the thin-client?  This may not 
be what people want, but if this is all coming over read-only NFS mount 
points, I see this as a very nice feature.  This way, you can just build 
a minimal RPM system for the thin-clients but still retain the read-only 
nature of the filesystem.  You could install any application this way. 
 KDE/GNOME/any window manager RPM, etc.

-- 
Jason A. Pattie
[EMAIL PROTECTED]



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to