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 [2007-12-15 23:32] patrys |
packages:anaconda [2008-08-28 16:06] glen add primary source of comps.xml location |
||
---|---|---|---|
Line 19: | Line 19: | ||
<file># poldek -r /path/to/root -U anaconda | <file># poldek -r /path/to/root -U anaconda | ||
</file> | </file> | ||
+ | You will need to load all the necessary file system modules, so put the following into ''/path/to/root/etc/modules'': | ||
+ | |||
+ | |||
+ | |||
+ | <file>dm-mod | ||
+ | ext2 | ||
+ | ext3 | ||
+ | jfs | ||
+ | reiser4 | ||
+ | reiserfs | ||
+ | xfs | ||
+ | </file> | ||
+ | Also make sure the ''kbd'' package is installed and configured to start consoles in UTF-8 locale. | ||
+ | |||
Then proceed with the rest of the steps and create an ISO image. | Then proceed with the rest of the steps and create an ISO image. | ||
Line 32: | Line 46: | ||
createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/ | createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/ | ||
</file> | </file> | ||
- | NOTE: Currently PLD Linux AC and TH already have repodata on ftp. | + | 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/comps.xml | ||
+ | -rw-r--r-- 1 pldth pldth 114K 2008-01-06 19:09 /home/pld/admins/th/ftp/.stat/comps.xml | ||
+ | </file> | ||
+ | **NOTE** Currently PLD Linux AC and TH already have repodata on ftp. | ||
Line 41: | Line 64: | ||
- | <file># cat /root/anaconda-install | + | <file>anaconda -C -m ftp://ftp.pld-linux.org/dists/th/ |
- | export LC_ALL=en_US.utf-8 | + | |
- | mirror=http://your-mirror/pld | + | |
- | arch=`arch` | + | |
- | url=$mirror/dists/ac/PLD/$arch/ | + | |
- | anaconda --method=$url | + | |
</file> | </file> | ||
- | This will just autodetect your archidecture and invoke anaconda install from url. | + | This will anaconda install from the selected url. |