avatar
Denis Silakov has added f1779868fe
Add separate config for rosa2016.1
view file @ f1779868fe
... ... --- a/build-packages/build.sh
... ... +++ b/build-packages/build.sh
... ... @@ -235,6 +235,8 @@ if [[ "$platform_name" =~ .*lts$ ]] ; then
235 235
  config_name="mdv-lts"
236 236
elif [[ "$platform_name" =~ ^(current|Nickel)$ ]] ; then
237 237
  config_name="rosa"
238
elif [[ "$platform_name" =~ ^rosa2016.1$ ]] ; then
239
  config_name="rosa2016.1"
238 240
elif [[ "$platform_name" =~ ^(cooker|openmandriva) ]] ; then
239 241
  config_name="openmandriva"
240 242
fi
view file @ f1779868fe
... ... --- /dev/null
... ... +++ b/build-packages/configs/rosa2016.1.sh
... ... @@ -0,0 +1,37 @@
1
#!/bin/sh
2
3
echo '--> mdv-scripts/build-packages/configs: mdv.sh'
4
5
extra_cfg_options="$EXTRA_CFG_OPTIONS"
6
extra_cfg_urpm_options="$EXTRA_CFG_URPM_OPTIONS"
7
uname="$UNAME"
8
email="$EMAIL"
9
platform_arch="$PLATFORM_ARCH"
10
default_cfg="$DEFAULT_CFG"
11
12
cat <<EOF> $default_cfg
13
config_opts['root'] = 'Rosa-2012.1-$platform_arch'
14
config_opts['use_host_resolv'] = True
15
config_opts['target_arch'] = '$platform_arch'
16
config_opts['legal_host_arches'] = ('i586', 'i686', 'x86_64')
17
18
config_opts['chroot_setup'] = 'basesystem-minimal basesystem-build locales locales-en locales-de locales-uk locales-es locales-ru make patch unzip gnupg rpm-build meta-task urpmi wget'
19
config_opts['urpmi_options'] = '--downloader wget --wget-options --auth-no-challenge --retry 5 --no-suggests --no-verify-rpm --fastunsafe --ignoresize $extra_cfg_options'
20
config_opts['urpm_options'] = '--xml-info=never --downloader wget --wget-options --auth-no-challenge $extra_cfg_urpm_options'
21
22
# If it's True - current urpmi configs will be copied to the chroot.
23
# Ater that other media will be added.
24
# config_opts['use_system_media'] = True
25
26
config_opts['plugin_conf']['root_cache_enable'] = False
27
config_opts['plugin_conf']['ccache_enable'] = False
28
config_opts['use_system_media'] = False
29
config_opts['basedir'] = '/home/vagrant/tmpfs'
30
config_opts['cache_topdir'] = '/home/vagrant/tmpfs/cache'
31
32
config_opts['dist'] = 'rosa2012.1'  # only useful for --resultdir variable subst
33
config_opts['macros']['%packager'] = '$uname <$email>'
34
35
config_opts["urpmi_media"] = {
36
EOF
37

Comments