source: soft/build_system/build_system/mkcd/trunk/pm/Mkcd/Config.pm @ 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.6 KB
Line 
1package Mkcd::Config;
2
3use Mkcd::Package qw(%ARCH);
4our @ISA = qw(Exporter);
5our @EXPORT = qw(%config);
6
7our $topdir = `pwd`;
8chop $topdir;
9our %config = (
10    lists => [],
11    fast => 0,
12    nodeps => 0,
13    verbose => 0,
14    print => 0,
15    printscript => 0,
16    nolive => 0,
17    noiso => 0,
18    deps => 0,
19    nosrcfit => 0,
20    nosrc => 0,
21    product => 0,
22    bugzilla => 0,
23    builddir => 0,
24    topdir => $topdir,
25    discsize => 681000000,
26    isodir => 0,
27    filetag => 0,
28    Publisher => 'Mandriva',
29    sysid => 'Mandriva Linux',
30    log => 0,
31    mkisoopt => " -r -J -hide-rr-moved -nobak -cache-inodes",
32    tmp => $ENV{TMPDIR} || "$topdir/tmp",
33    disc_building_tries => 3,
34    rejected_options => { 
35        config => "Could not comply with packages filter directives",
36        no_disc => "Could not add more disc for this package",
37        no_space => "Not enough space",
38        deps => "Missing dependencies",
39        old_version => "More recent version found",
40        deps_rejected => "Some needed dependencies rejected",
41        excluded => "Explicitely excluded",
42        order_pb => "Needed dependency could not be put before",
43        sequential => "Could not add interlist dependencies in sequential mode",
44        autodeps => "not selected in rpm lists"
45    },
46    optimize_space => 1,
47    ARCH => \%ARCH,
48    # keys must be integers
49    struct => { 
50        '10.0' => { 
51            install => 'Mandrake',
52            media_hdlist => '',
53            media_info => 'Mandrake/base',
54            media => 'Mandrake/RPMS',
55            media_base => 'Mandrake',
56            srpm_media => 'Mandrake/SRPMS',
57            isolinux => 'isolinux',
58            images => 'images',
59            extra => 'Mandrake/share',
60            patch => 'Mandrake/base',
61            stage2 => 'Mandrake/mdkinst',
62            compssUsers => 'compssUsers',
63        },
64        '10.1' => {
65            install => 'install',
66            media_hdlist => 'media_info',
67            media_info => 'media/media_info',
68            media => 'media/main',
69            media_base => 'media',
70            srpm_media => 'SRPMS/main',
71            isolinux => 'isolinux',
72            images => 'install/images',
73            extra => 'install/extra',
74            patch => 'install',
75            stage2 => 'install/stage2',
76            compssUsers => 'compssUsers.pl',
77        },
78        '2007.0' => {
79            prefix => '__ARCH__',
80            install => 'install',
81            media_hdlist => 'media_info',
82            media_info => 'media/media_info',
83            media => 'media/main',
84            media_base => 'media',
85            srpm_media => 'SRPMS/main',
86            isolinux => 'isolinux',
87            images => 'install/images',
88            extra => 'install/extra',
89            patch => 'install',
90            stage2 => 'install/stage2',
91            compssUsers => 'compssUsers.pl',
92        },
93    },
94    # must be an int
95    struct_version => '2007.0',
96    version => '4.2.0',
97    boot_cat_fatal_location => [ 929, 740 ],
98);
99
100
Note: See TracBrowser for help on using the repository browser.