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

Re: Is possible RPM's sets?



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

How about taking a tarball with a manifest file and a bunch of RPMs, and
allowing:

rpm -Uvh myrpms.tar

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

Jon





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