Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Champion <d-champion@uchicago.edu>
Subject: Re: Adding or updating RPM packages for CD
Date: Mon, 16 Feb 1998 09:08:12 -0600	[thread overview]
Message-ID: <0f4fcee98883f416a43c65507aa376d6.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.96.980213100709.2669A-100000@hvdkooij.dyn.ml.org>

At 1998.02.13.03.34 (CST), in <Pine.LNX.3.96.980213100709.2669A-100000@hvdkooij.dyn.ml.org>,
	"Hugo van der Kooij" <hvdkooij@caiw.nl> wrote:
> SO what do I need to do besides that to create my own updated CD. (I like
> to have one at hand for fast crash recovery.)

I just got through doing this myself....

You need to run genhdlist, in .../misc/src/install/genhdlist (where
"..." is the path to your CD image's root).  It takes one argument,
which should be the same as "...".

So, if your CD image is mounted at /mnt/cdspool, run this:
	/mnt/cdspool/misc/src/install/genhdlist /mnt/cdspool

What this does is to examine .../RedHat/RPMS and generate a table of
contents of all RPM files installed there.  It stores this TOC in the
../RedHat/base/hdlist file in a format similar to that of
/var/lib/rpm/packages.rpm.  RH's install2 program (I think) uses the
hdlist to determine which RPMs to offer you.

Or so I gather from reading code.  I could be quite wrong.

-D.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

           reply	other threads:[~1998-02-16 15:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.LNX.3.96.980213100709.2669A-100000@hvdkooij.dyn.ml.org>]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox