This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
packages:anaconda [2008-08-27 23:28] patrys |
packages:anaconda [2008-08-29 14:40] patrys |
||
---|---|---|---|
Line 46: | Line 46: | ||
createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/ | createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/ | ||
</file> | </file> | ||
+ | th/ac ftp admin could generate repodata with: | ||
+ | |||
+ | <file>$ gen-indexes ready | ||
+ | </file> | ||
+ | the comps.xml that is used for generation is at: | ||
+ | |||
+ | <file>$ l ~/ftp/.stat/repodata/comps.xml | ||
+ | -rw-r--r-- 1 pldth pldth 114K 2008-01-06 19:09 /home/pld/admins/th/ftp/.stat/repodata/comps.xml | ||
+ | </file> | ||
+ | and in CVS: [[http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/repodata/|http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/repodata/]] | ||
+ | |||
**NOTE** Currently PLD Linux AC and TH already have repodata on ftp. | **NOTE** Currently PLD Linux AC and TH already have repodata on ftp. | ||
Line 55: | Line 66: | ||
- | <file>anaconda -C -m ftp://ftp.pld-linux.org/dists/th/ | + | <file>anaconda -T -m ftp://ftp.pld-linux.org/dists/th/ |
</file> | </file> | ||
This will anaconda install from the selected url. | This will anaconda install from the selected url. | ||
+ | |||
+ | |||
+ | |||
+ | ===== Testing changes ===== | ||
+ | In order to test your changes without building a whole new CD, you can test Anaconda on your local system. To do so, go to the folder where your local build is and type: | ||
+ | |||
+ | |||
+ | |||
+ | <file>sudo ./anaconda --test -T -m ftp://ftp.pld-linux.org/dists/th/ | ||
+ | </file> | ||
+ | You can also test the graphic mode using: | ||
+ | |||
+ | |||
+ | |||
+ | <file>sudo ./anaconda --test -G -m ftp://ftp.pld-linux.org/dists/th/ | ||
+ | </file> | ||
+ | |||
+ | |||
+ | ===== Installing a chroot ===== | ||
+ | To install into a chroot, pass the ''-r'' command line switch: | ||
+ | |||
+ | |||
+ | |||
+ | <file>anaconda -G -m ftp://ftp.pld-linux.org/dists/th/ -r /path/to/chroot | ||
+ | </file> | ||
+ | This will skip the partitioning steps and proceed with software selection and package installation. | ||