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

Re: genhdlist borked on U3beta



On Thu, Jul 29, 2004 at 03:10:01PM -0700, Christopher McCrory alleged:
> Hello...
> 
> I am used to being able to remove old rpms and add Eratta rpms to
> RedHat/RPMS then run /usr/lib/anaconda-runtime/genhdlist `pwd` to
> regenerate base/hdlist{,2} .  WIth U2 this wasn't working for me
> anymore.  At first I thought it was my ks.cfg setup.  But I just tried
> with RHEL3 U3beta.  no changes, just
> /usr/lib/anaconda-runtime/genhdlist /var/ftp .  With a minimal install
> , reboot, no go.  am I missing some new arguments?
> 
> The new install tree seems to have lost it's dependency information. 
> all rpms are installed alphabetically.  for instance 'shadow-utils'
> gets installed rather late, causing many packages to not install
> correctly since /usr/sbin/adduer doesn't exist.  no kernel either,
> which is why bootup fails :|
> 
> Is this a bug or am I missing something?

You need to generate the fileorder list and pass that to genhdlist.  I do this
in two passes..

export PYTHONPATH=/usr/lib/anaconda
rhroot=/some/nifty/place
/usr/lib/anaconda-runtime/genhdlist $rhroot
/usr/lib/anaconda-runtime/pkgorder $rhroot i386 > $rhroot/RedHat/base/pkgorder
/usr/lib/anaconda-runtime/genhdlist --fileorder $rhroot/RedHat/base/pkgorder $rhroot

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California

Attachment: pgp00025.pgp
Description: PGP signature


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