Hi,
If I do a
rpm -qip xyz.rpm
it shows under the Relocations column the prefix with which the packet has
been built and
which also means the package is already relocatable.
But when I give
rpm -ivh --prefix=/xyz/abc/ 1234.rpm
the package does not relocate itself to /xyz/abc.
If i give
rpm -ivh --prefix=/binary 1234.rpm
I see that the executable is created with the name binary.
Does it mean that --prefix option is not able to create directories and
place the source there .
But accordin to "the RPM HowTO " it is supposed to create directories . or
does it mean that creation
of directories has to be done in the spec file .
Can anyone explain this ?
--
-Venkat
Prabhu Ramachandran wrote:
"VN" == Venkat N <Venkat> writes:
VN> Hi , Any body knows how to build a relocatable rpm package ?
IIRC 2 things to note.
1. The RPM needs to be made so its relocateable. When I used rpm
last this meant that you defined a Prefix: /usr or whatever upfront.
2. Some packages are not easy to relocate as in the case when you
need to put things inside /etc. You cant relocate them so the
package is inherently non-relocateable. This is a possible problem.
Hmm looks like the URL you specify below mentions both these things
and thats about all I remember about it. Maybe thats not what you
want but hope it helps.
VN> I went through the following link for building the package ..
VN> http://www.rpm.org/max-rpm/s1-rpm-reloc-building-relocatable.html
prabhu
_______________________________________________
To unsubscribe email Ilugc-request@xxxxxxxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc