/usr/share/perl5/Config/Model/models/Multistrap.pl is in libconfig-model-perl 2.097-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | #
# This file is part of Config-Model
#
# This software is Copyright (c) 2005-2016 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'accept' => [
'\\w+',
{
'type' => 'leaf',
'value_type' => 'uniline',
'warn' => 'Handling unknown parameter as uniline value.'
}
],
'class_description' => 'Class for multistrap configuration files. Note that multistrap is based on INI where section and keys are case insensitive. Hence all sections and keys are converted to lower case and written back as lower case. Most values (but not all) are also case-insensitive. These values will also be written back as lowercase.',
'element' => [
'include',
{
'class' => 'Config::Model::Value::LayeredInclude',
'convert' => 'lc',
'description' => 'To support multiple variants of a basic (common) configuration, "multistrap" allows configuration files to include other (more general) configuration files. i.e. the most detailed / specific configuration file is specified on the command line and that file includes another file which is shared by other configurations.',
'summary' => 'Include file for cascaded configuration',
'type' => 'leaf',
'value_type' => 'uniline'
},
'arch',
{
'choice' => [
'alpha',
'arm',
'armel',
'powerpc'
],
'type' => 'leaf',
'value_type' => 'enum'
},
'directory',
{
'description' => 'top level directory where the bootstrap will be created',
'summary' => 'target directory',
'type' => 'leaf',
'value_type' => 'uniline'
},
'aptsources',
{
'cargo' => {
'convert' => 'lc',
'refer_to' => '- sections',
'type' => 'leaf',
'value_type' => 'reference'
},
'description' => 'aptsources is a list of sections to be used in the /etc/apt/sources.list.d/multistrap.sources.list of the target. Order is not important.',
'duplicates' => 'forbid',
'type' => 'list'
},
'bootstrap',
{
'cargo' => {
'convert' => 'lc',
'refer_to' => '- sections',
'type' => 'leaf',
'value_type' => 'reference'
},
'description' => 'the bootstrap option determines which repository is used to calculate the list of Priority: required packages and which packages go into the rootfs. The order of sections is not important.',
'duplicates' => 'forbid',
'type' => 'list'
},
'debootstrap',
{
'cargo' => {
'convert' => 'lc',
'refer_to' => '- sections',
'type' => 'leaf',
'value_type' => 'reference'
},
'description' => 'Replaced by bootstrap parameter',
'duplicates' => 'forbid',
'status' => 'deprecated',
'type' => 'list'
},
'omitrequired',
{
'type' => 'leaf',
'value_type' => 'boolean'
},
'addimportant',
{
'type' => 'leaf',
'value_type' => 'boolean'
},
'configscript',
{
'convert' => 'lc',
'type' => 'leaf',
'value_type' => 'uniline'
},
'setupscript',
{
'convert' => 'lc',
'type' => 'leaf',
'value_type' => 'uniline'
},
'cleanup',
{
'description' => 'remove apt cache data, downloaded Packages files and the apt package cache.',
'type' => 'leaf',
'value_type' => 'boolean'
},
'noauth',
{
'description' => 'allow the use of unauthenticated repositories',
'type' => 'leaf',
'value_type' => 'boolean'
},
'explicitsuite',
{
'description' => 'whether to add the /suite to be explicit about where apt needs to look for packages.',
'type' => 'leaf',
'upstream_default' => '0',
'value_type' => 'boolean'
},
'unpack',
{
'convert' => 'lc',
'migrate_from' => {
'formula' => '$old',
'variables' => {
'old' => '- forceunpack'
}
},
'summary' => 'extract all downloaded archives',
'type' => 'leaf',
'upstream_default' => '1',
'value_type' => 'boolean'
},
'sections',
{
'cargo' => {
'config_class_name' => 'Multistrap::Section',
'type' => 'node'
},
'convert' => 'lc',
'index_type' => 'string',
'type' => 'hash'
},
'forceunpack',
{
'convert' => 'lc',
'description' => 'deprecated. Replaced by unpack',
'status' => 'deprecated',
'summary' => 'extract all downloaded archives',
'type' => 'leaf',
'upstream_default' => '1',
'value_type' => 'boolean'
}
],
'name' => 'Multistrap',
'read_config' => [
{
'auto_create' => '1',
'backend' => 'IniFile',
'force_lc_key' => '1',
'force_lc_section' => '1',
'join_list_value' => ' ',
'section_map' => {
'general' => '!'
},
'split_list_value' => '\\s+',
'store_class_in_hash' => 'sections',
'write_boolean_as' => [
'false',
'true'
]
}
]
}
]
;
|