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

Re: include XEN kernel & tools in CentOS 5.1 kickstart?

On Wed, 27 Feb 2008, Rudi Ahlers wrote:
> This is a bit above me.
> I use SME 7.3  (which is built on CentOS 4.6) as inhouse production
> server, and then I have my (soon to colocate) test server, which
> currently runs CentOS 5.1 64.
> How would I test an rpm on an already running system?

rpm --test

and the proposed  for testing dependencies: rpm --justdb --root
/tmp/tempath/ package1, package2

> What I have done till now, is todo a base install, and then create only
> use the files installed (as per /installation.log) in my new CD. There's
> still quite a few programs that I don't need and could probably delete
> them from the CentOS folder on the CD, but I still need to figure out
> how these file are installed. I saw the repodata/comps.xml file, but
> it's LONG, and have a lot of different languages, not some something I
> can take on right now. It's almost easier to run something like "yum
> remove {package-name} from the kickstart file

	You can put "-package" at %packages

	In order to have a minimal one just test with "%packages --nobase"
and begin adding packages you find missing on the target system (ssh, joe,

	Have a look at the --root trick to check all "really" required
files ;)


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