installing an rpm from another rpm's %post script

Don Harper duck at duckland.org
Fri Jan 23 19:54:22 UTC 2009


On Fri, Jan 23, 2009 at 10:44:20AM -0500, Derek Atkins wrote to To General discussion about the RPM package manager:
> Hi,

> Quoting Florian Festi <ffesti at redhat.com>:
> I'm afraid I forgot to mention the primary goal:  I want users to only
> have to download a single "file" from me and that file should contain
> all the "stuff" they need.  However that "stuff" is comprised of a bunch
> of RPMs.

> Using yum doesn't help, because I don't want to depend on the end user
> being able to reach my server.  Moreover, there's no way I know of to
> create a meta-rpm that both creates the yum repository information and
> then goes off and pulls in additional RPMs from that newly installed
> repository.

> You're right that a meta-RPM is exactly closest to what I want, but
> I'm trying to design a meta-RPM that installs itself before trying
> to pull in the dependent RPMS.   Even better, I'd like the meta-RPM
> to install the dependent RPM files into the local filesystem directly!

Self-extracting file sounds like what you need:
http://www.linuxjournal.com/node/1005818

Enjoy!

Don

-- 
.........................................................
.  Don Harper, RHCE  . Worry often gives a small thing  .
.  duck at duckland.org . a big shadow. - Swedish proverb  .
.  www.donharper.org .                                  .
.........................................................
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.rpm.org/pipermail/rpm-list/attachments/20090123/81a727d0/attachment.pgp 


More information about the Rpm-list mailing list