1 | mkcd basic documentation |
---|
2 | |
---|
3 | Steps: |
---|
4 | ----- |
---|
5 | initialize directories ( create bin build config/ input/ iso/ log/ pieces/ ) |
---|
6 | /usr/local/bin/mkcd.pl -i |
---|
7 | |
---|
8 | bin/ |
---|
9 | Edit bin/Makefile and |
---|
10 | make it to synchronise static distrib RPMS and install |
---|
11 | create sub directories in pieces/ |
---|
12 | install |
---|
13 | ulysses(current stable distro) |
---|
14 | contrib(if exist) |
---|
15 | |
---|
16 | input/ |
---|
17 | modify input/corpo-web.conf |
---|
18 | modifiy input/web ( rpm lists for specifiq distrib ) |
---|
19 | |
---|
20 | /usr/local/bin/mkcd.pl -l inpu/corpo.conf -o Version Distro Name -c file.log |
---|
21 | -ld : rebuild dependencies list |
---|
22 | -la : do all correct depencies |
---|
23 | create List in input |
---|
24 | depslist |
---|
25 | depslist.ordered |
---|
26 | hdlist0.cz |
---|
27 | create List of RPMS/SRPMS with correct version for each CD in config/ |
---|
28 | cd1 |
---|
29 | cd1s |
---|
30 | cd1.rpm |
---|
31 | cd1.srpm |
---|
32 | |
---|
33 | |
---|
34 | /usr/local/bin/mkcd.pl -m corpo.conf -o Version Distro Name |
---|
35 | -mf : fast just create the arbo not iso |
---|
36 | create arbo + iso in build/ |
---|
37 | |
---|
38 | |
---|
39 | Don't forget to see the log file in log/ |
---|
40 | |
---|
41 | README this file |
---|
42 | bin Makefile to synchronise from first repository ( first step ) |
---|
43 | input corpo.conf rpm list .... |
---|
44 | build specific distribution generate from mkcd.pl - |
---|
45 | config output from input and config for mkcd.pl to iso or images |
---|
46 | iso fruit of success ! |
---|
47 | log log from mkcd.pl |
---|
48 | pieces first repository, snapshot of current stable distrib. (install, |
---|
49 | distrib(RPMS/SRPMS)) |
---|
50 | |
---|
51 | |
---|
52 | Important file and steps to create distrib from 3 points |
---|
53 | You need one installer ( 7.1 or 7.2 ) compiled |
---|
54 | RPMS / SRPMS contains rpm and srpm package. |
---|
55 | |
---|
56 | ------------------------------------------------------------------------ |
---|
57 | script Mandrake/base/<files> |
---|
58 | 7.2 7.1 |
---|
59 | ------------------------------------------------------------------------ |
---|
60 | genhdlist_cz2 hdlist1.cz (/CD) hdlist1.cz2 |
---|
61 | genhdlist_cz2 --noclean -o /tmp/hdlist1.cz ./Mandrake/RPMS |
---|
62 | genhdlist_cz2 --noclean -o /tmp/hdlist2.cz ./Mandrake/RPMS2 |
---|
63 | conversion : gunzip -cd /tmp/hdlist.cz | bzip2 -z9c > /tmp/hdlist.cz2 |
---|
64 | |
---|
65 | genbasefiles 0 depslist gendepslist2 |
---|
66 | gendepslist2 -o /tmp/depslist /tmp/hdlist1.cz2 /tmp/hdlist2.cz2 |
---|
67 | order of hdlists |
---|
68 | |
---|
69 | depslist.ordered = |
---|
70 | |
---|
71 | genhdlist_cz2 --noclean --ordered-depslist /tmp/depslist.ordered -o /tmp/hdlist.cz ./Mandrake/RPMS |
---|
72 | |
---|
73 | hdlists = |
---|
74 | |
---|
75 | filelist = genfilelist |
---|
76 | genfilelist Mandrake/RPMS/ Mandrake/RPMS2 |
---|
77 | |
---|
78 | provides 0 |
---|
79 | |
---|
80 | gencomps compss = |
---|
81 | |
---|
82 | (static) compssList = |
---|
83 | compssUser = |
---|
84 | |
---|
85 | |
---|
86 | Graphical Install modification |
---|
87 | ex: change icon, .... |
---|
88 | misc/make_mdkinst_stage2 Mandrake/mdkinst Mandrake/base/mdkinst_stage2 |
---|
89 | |
---|
90 | --------------------------------------------------------------------------- |
---|
91 | |
---|