source: soft/build_system/build_system/mkcd/tags/V4_0_11_1mdk/README.mkcd @ 1

Last change on this file since 1 was 1, checked in by fasma, 12 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 2.4 KB
Line 
1mkcd basic documentation
2
3Steps:
4-----
5initialize directories ( create bin build config/  input/  iso/  log/  pieces/ )
6/usr/local/bin/mkcd.pl -i
7
8bin/
9Edit 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 
16input/
17modify input/corpo-web.conf
18modifiy 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
39Don't forget to see the log file in log/
40
41README this file
42bin     Makefile to synchronise from first repository ( first step )
43input   corpo.conf rpm list ....
44build   specific distribution generate from mkcd.pl -
45config  output from input and config for mkcd.pl to iso or images
46iso     fruit of success !
47log             log from mkcd.pl
48pieces  first repository, snapshot of current stable distrib. (install,
49                distrib(RPMS/SRPMS))
50
51
52Important file and steps to create distrib from 3 points
53You need one installer ( 7.1 or 7.2 )  compiled
54        RPMS / SRPMS contains rpm and srpm package.
55
56------------------------------------------------------------------------
57script                  Mandrake/base/<files>
58                7.2                             7.1
59------------------------------------------------------------------------
60genhdlist_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
65genbasefiles    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
80gencomps        compss                          =
81
82(static)        compssList                      =
83                compssUser                      =
84
85
86Graphical Install  modification
87ex: change icon, ....
88misc/make_mdkinst_stage2 Mandrake/mdkinst Mandrake/base/mdkinst_stage2
89
90---------------------------------------------------------------------------
91
Note: See TracBrowser for help on using the repository browser.