RE: Gnome/Linux Application Installer



Hmm, Nonrelocatable rpms (I think) are a result of how the program inside
the rpm was made. I have seen paths hardcoded into programs before. This
meens a binary RPM cant be relocated. 

> -----Original Message-----
> From:	Brandon S. Allbery [SMTP:allbery@hilfy.ece.cmu.edu]
> Sent:	Wednesday, December 23, 1998 11:01 AM
> To:	Fox, Kevin M
> Cc:	'Ben 'The Con Man' Kahn'; 'Jason Tackaberry'; gnome-list@gnome.org
> Subject:	Re: Gnome/Linux Application Installer 
> 
> In message <6FFC44A65DE7D111B05400600890447C04BD3A@ex01.bhi-erc.com>,
> "Fox, Kev
> in M" writes:
> +-----
> | If I remember correctly you can set the base. So:
> | 
> | 	/usr/bin/myapp
> | 	/usr/lib/myapp/config
> | 	/etc/myapp.conf
> | 
> | with base ~/gnome becomes:
> | 	~/gnome/usr/bin/myapp
> | 	~/gnome/usr/lib/myapp/config
> | 	~/gnome/etc/myapp.conf
> +--->8
> 
> rpm --relocate prefix1=prefix2 ... [--badreloc]
> 
> 	# a non-trivial example
> 	rpm --relocate /usr/=$HOME/gnome/ --relocate /etc/=$HOME/.cfg/
> 
> Note that many packages won't understand the above usage!  Usually you'll 
> discover this when you try the above and it complains about not being able
> to 
> relocate; the --badreloc forces RPM to do the relocate anyway in that
> case, 
> but you'd better expect the installed package to not work right.
> 
> -- 
> brandon s. allbery	[os/2][linux][solaris][japh]
> allbery@kf8nh.apk.net
> system administrator	     [WAY too many hats]
> allbery@ece.cmu.edu
> electrical and computer engineering
> KF8NH
> carnegie mellon university	      ["God, root, what is difference?"
> -Pitr]
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]