RE: automatic package add
Rob Hagopian <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <F4A736AE282FD511BC28009027CC7C590236B8EE@gopostal> |
With a little work you can do it reasonably with no work on the client machines: 1. Create a meta-rpm that has dependancies for all the other packages you want installed - or none to start with; 2. Take an existing package, rebuild with a dependancy for the meta-rpm, increment the version number as little as possible (redhat tends to jump in rpm versions anyway); 3. run up2date and it'll pull the modified redhat package and the new meta-rpm; 4. the next redhat update will remove the dependancy on the meta-rpm, but up2date won't remove it; 5. to push out a brand new package, like John said, just add the dependancy to the meta-rpm and increment the version number... -Rob -----Original Message----- From: John Berninger [mailto:[email protected]] Sent: Thursday, April 25, 2002 11:19 AM To: [email protected] Subject: Re: [Current-server] automatic package add > Can I add a complete new package on a client without telling > up2date the package name. I'm looking for a way to provide > a client a complete new packages with this. If you mean "can I use a client-side command to install a new package" then you must give it the package name; if you mean "Can I push packages to clients from the server" then the answer is "Not yet". That's a capability that's slated for a later development cycle, dealing with client tracking and making RHNSD work. A hack would, of course, be to take an existing package, add a dependency to the spec file, increment the version of that package, and put the new package into the server tree. This is not really recommended, though... > What exactly is the parameter xrpm_dirs in the config file. I've read > almost every posting in the mailing list archive und the complete documentation but I've found nothing. Good question. Hunter? -- Thank you, John Berninger Systems Administrator [email protected] Department of Mathematics Box 8205, Harrelson Hall NC State University Raleigh, NC 27695 Phone: (919)515-6315 Fax: (919)515-3798 GPG Key ID: A8C1D45C Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C --