Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Adding or updating RPM packages for CD
       [not found] <Pine.LNX.3.96.980213100709.2669A-100000@hvdkooij.dyn.ml.org>
@ 1998-02-16 15:08 ` David Champion
  0 siblings, 0 replies; only message in thread
From: David Champion @ 1998-02-16 15:08 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-02-16 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96.980213100709.2669A-100000@hvdkooij.dyn.ml.org>
1998-02-16 15:08 ` Adding or updating RPM packages for CD David Champion

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