RE: rebuild comps.xml

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

 



OK, just make sure my syntax is correct; my RedHat Enterprise
installation path is at /var/LZ.

I left comps.xml the way it is

I ran the pkgorder as follow

PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder /var/LZ/
i386 RedHat > /var/LZ/pkgfile

It took few minutes to generate, and then I cd to /var/LZ and run the
following to update my hdlist and hdlist2

/usr/lib/anaconda-runtime/genhdlist --withnumbers --hdlist hdlist
/var/LZ/

Afterward, I mkisofs.

>From what I see, I think I may have miss a few steps.  Here is my
questions

1.  when I rin pkgorder, is the output filename call 'pkgfile' or
'pkgorder.txt'

2.  With the genhdlist command from RHEL 3.0, the switch
--productpath=RedHat does not work.  Do I really need this

3.  in your example, 
/usr/lib/anaconda-runtime/genhdlist --withnumbers --productpath=Fedora 
--fileorder /data/Fedora-Test/pkgorder.txt /data/Fedora-Test/i386

it looks like the new hdlist get generate at the root of the CD, doesn't
it has to be inside your /RedHat/base directory?

dwc

Well I used to believe what I told you but you're starting to make me 
doubt myself because of you problem. Are you running genhdlist a second 
time after you run pkgorder? eg.

/usr/lib/anaconda-runtime/genhdlist --withnumbers --productpath=Fedora 
/data/Fedora-Test/i386

/usr/lib/anaconda-runtime/pkgorder /data/Fedora-Test/i386 i386 Fedora | 
tee /data/Fedora-Test/pkgorder.txt

/usr/lib/anaconda-runtime/genhdlist --withnumbers --productpath=Fedora 
--fileorder /data/Fedora-Test/pkgorder.txt /data/Fedora-Test/i386

I don't know why but it seems that you have to run genhdlist twice ...

Apart from that - don't be too scared to mess around with the comps.xml 
- actually something big changed in regards to comps.xml when Fedora was

released. If you're customizing fedora - don't be scared - if you're 
using something earlier - check out the Fedora doc on 'editing 
comps.xml' - because the doc acually applies to pre-Fedora (even though 
it is on the fedora site)

p.s. - don't forget to backup your original comps.xml before messing 
around :)

pantz

-- 
Before you criticize someone, walk a mile in their shoes ...
That way when you do criticize them, you're a mile away and you have
their shoes!


Both the individual sending this e-mail and The Lubrizol Corporation intend that this electronic message be used exclusively by the individual or entity to which it is intended to be addressed.  This message may contain information that is privileged, confidential and thereby exempt and protected from unauthorized disclosure under applicable law.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, be aware that any disclosure, dissemination, distribution or copying of this communication, or the use of its contents, is not authorized and is strictly prohibited.  If you have received this communication and are not the intended recipient, please notify the sender immediately and permanently delete the original message from your e-mail system.     

http://www.lubrizol.com/disclaimer/cliquez_ici_pour_traduction_en_francais.htm 
http://www.lubrizol.com/disclaimer/Für_die_deutsche_Übersetzung_bitte_hier_klicken.htm  
http://www.lubrizol.com/disclaimer/Clicar_aqui_para_versão_em_Português.htm
http://www.lubrizol.com/disclaimer/Dé_un_clic_aquí_para_su_traducción_al_español.htm 
http://www.lubrizol.com/disclaimer/Chinese.htm 
http://www.lubrizol.com/disclaimer/Japanese.htm     



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux