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

Re: Is possible RPM's sets?



On Tue, Jul 10, 2001 at 03:30:04PM -0400, Jon Jensen wrote:
> On Tue, 10 Jul 2001, Jeff Johnson wrote:
> 
> > Well, you can almost do the same thing as a package bundle or software set
> > using "manifests". Basically, anything that's not a package (i.e. with
> > rpm package magic in the 1st 4 bytes), will be read as a series
> > of glob expressions, honoring '#' comments. That means that you can do
> > do something like
> >
> > 	cat << GO_SYSIN_DD > mymanifest
> > 	# This is a comment
> > 	<wherever>/krb5-server-*
> > 	<wherever>/krb5-workstation-*
> > 	<wherever>/krb5-devel-*
> > 	<wherever>/krb5-docs-*
> > 	GO_SYSIN_DD
> >
> > where <wherever> is a file path or URL, and then do, for example
> > 	rpm -qp mymanifest
> > 	rpm -Uvh mymanifest
> 
> That's funny -- not knowing that feature existed, I've been doing this:
> 
> grep -v ^# mymanifest | xargs rpm -Uvh
> 

Whatevere works. Meanwhile, the feature is new to rpm-4.0.3.

And, just in case it isn't obvious, there ain't no such thing as
glob expressions through http:// URL's, so this is pretty much
a FTP only facility.

> How about taking a tarball with a manifest file and a bunch of RPMs, and
> allowing:
> 
> rpm -Uvh myrpms.tar
> 

Nah, chasing Yet Another archive format isn't worth the effort, shell
scripts are your friend :-)

What might be worth the effort is supporting *.rpm format with multiple
payloads, but I sure hope I'm not the one who has to implement, as there
will be beaucoup legacy compatibility issues.

> It sounds like rpm is already very close to supporting bundles, then.
> 

What will be next is to try to get a dependency solver into/onto the rpm
CLI, I think that's more useful than bundles. YMMV.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org	(jbj@redhat.com)
Chapel Hill, NC





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