<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana color=#0000ff size=2>Hi All:</FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2> I succeed follow this 
method~</FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2> Thanks!</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT face=Verdana size=2>Wim Wan</FONT></DIV>
<DIV><FONT face=Verdana size=2>2006-04-20</FONT></FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发件人:</STRONG> Lambert 
Tran</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发送时间:</STRONG> 
2006-04-20 00:45:51</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG> Discussion list about 
Kickstart</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>抄送:</STRONG> </FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>主题:</STRONG> Re: How can i add a my 
own custom RPM package???</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Wim,</DIV>
<DIV> </DIV>
<DIV>What  you  need  to  do  is  to  run 
 genhdlist  twice.  The  1st  one  to  get 
 hdlists  for</DIV>
<DIV>pkgorder,  run  the  pkgorder,  then  finally 
 run  the  genhdlist  again  to  get 
 the</DIV>
<DIV>hdlists.</DIV>
<DIV>This  has  worked  for  me:</DIV>
<DIV> </DIV>
<DIV>#  cd  to  the  dir  contains  RedHat, 
 isolinux...</DIV>
<DIV>#  run  genhdlist  1st  time</DIV>
<DIV>/usr/lib/anaconda-runtime/genhdlist  --withnumbers  \</DIV>
<DIV>                    
                      
                      
     --hdlist  $PWD/RedHat/base/hdlist  $PWD</DIV>
<DIV>#  run  pkgorder,  this  will  create 
 pkgorder  file  in  cwd</DIV>
<DIV>PYTHONPATH=/usr/lib/anaconda  /usr/lib/anaconda-runtime/pkgorder 
 \</DIV>
<DIV>                    
                      
                      
                      
                    
 $PWD/  i386   >  pkgorder</DIV>
<DIV> </DIV>
<DIV>#  run  genhdlist  again  with  the  correct 
 order:</DIV>
<DIV>/usr/lib/anaconda-runtime/genhdlist  --withnumbers  \</DIV>
<DIV>                    
   --fileorder  $PWD/pkgorder  --hdlist 
 $PWD/RedHat/base/hdlist  $PWD</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-ltran</DIV>
<DIV> </DIV>
<DIV>---  Wim  Wan   <wwan@sigma-rt.com > 
 wrote:</DIV>
<DIV> </DIV>
<DIV>>  </DIV>
<DIV>>  Hi,</DIV>
<DIV>>  </DIV>
<DIV>>  I  want  to  network-autoinstall  CentOS, 
 so  I  copy  anything  needed  from 
 CentOS</DIV>
<DIV>>  CD1,CD2,CD3,CD4  to  my 
 $HTTPdocumentRoot/centos/      </DIV>
<DIV>>  </DIV>
<DIV>>  and  I  copy  my  Own  custom  RPM 
 to  $HTTPdocumentRoot/centos/CentOS/RPMS/....</DIV>
<DIV>>  </DIV>
<DIV>>  and  add   <package > <name >wim </name 
> </package >  to    CentOS/base/comps.xml</DIV>
<DIV>>  </DIV>
<DIV>>  and  /usr/lib/anaconda-runtime/genhdlist 
 $HTTPdocumentRoot/centos/  </DIV>
<DIV>>  </DIV>
<DIV>>  and  get  two  new  files:  hdlist, 
 hdlist2</DIV>
<DIV>>  </DIV>
<DIV>>  but,  when  I  use  ks.cfg  to 
 Install  it,  a  Warnning  "not  all 
 packages  in  hdlist</DIV>
<DIV>>  had  order  tag"  show  on  VC3(virtual 
 console  3),  and  install  stop  and 
 died???</DIV>
<DIV>>  </DIV>
<DIV>>  Please  help  me!</DIV>
<DIV>>  What  is  a  whole  way  to  add 
 a  custom  RPM  to  CentOS  install 
 tree?</DIV>
<DIV>>  </DIV>
<DIV>>  </DIV>
<DIV>>  </DIV>
<DIV>>  Wim  Wan</DIV>
<DIV>>  2006-04-18</DIV>
<DIV>>   > 
 _______________________________________________</DIV>
<DIV>>  Kickstart-list  mailing  list</DIV>
<DIV>>  Kickstart-list@redhat.com</DIV>
<DIV>>  https://www.redhat.com/mailman/listinfo/kickstart-list</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>__________________________________________________</DIV>
<DIV>Do  You  Yahoo!?</DIV>
<DIV>Tired  of  spam?    Yahoo!  Mail  has 
 the  best  spam  protection  around  </DIV>
<DIV><A href="http://mail.yahoo.com">http://mail.yahoo.com</A>  </DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>Kickstart-list  mailing  list</DIV>
<DIV>Kickstart-list@redhat.com</DIV>
<DIV>https://www.redhat.com/mailman/listinfo/kickstart-list</DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>