Re: How can i add a my own custom RPM package???

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

 



Wim,

What you need to do is to run genhdlist twice. The 1st one to get hdlists for
pkgorder, run the pkgorder, then finally run the genhdlist again to get the
hdlists.
This has worked for me:

# cd to the dir contains RedHat, isolinux...
# run genhdlist 1st time
/usr/lib/anaconda-runtime/genhdlist --withnumbers \
                                   --hdlist $PWD/RedHat/base/hdlist $PWD
# run pkgorder, this will create pkgorder file in cwd
PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder \
                                                      $PWD/ i386 > pkgorder

# run genhdlist again with the correct order:
/usr/lib/anaconda-runtime/genhdlist --withnumbers \
            --fileorder $PWD/pkgorder --hdlist $PWD/RedHat/base/hdlist $PWD


-ltran

--- Wim Wan <wwan@xxxxxxxxxxxx> wrote:

> 
> Hi,
> 
> I want to network-autoinstall CentOS, so I copy anything needed from CentOS
> CD1,CD2,CD3,CD4 to my $HTTPdocumentRoot/centos/   
> 
> and I copy my Own custom RPM to $HTTPdocumentRoot/centos/CentOS/RPMS/....
> 
> and add <package><name>wim</name></package> to  CentOS/base/comps.xml
> 
> and /usr/lib/anaconda-runtime/genhdlist $HTTPdocumentRoot/centos/ 
> 
> and get two new files: hdlist, hdlist2
> 
> but, when I use ks.cfg to Install it, a Warnning "not all packages in hdlist
> had order tag" show on VC3(virtual console 3), and install stop and died???
> 
> Please help me!
> What is a whole way to add a custom RPM to CentOS install tree?
> 
> 
> 
> Wim Wan
> 2006-04-18
> > _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux