summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-17 19:34:26 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-17 19:34:26 +0000
commit6847941451db611feceb7d0f433fc653dede2fd7 (patch)
tree88a67909907aa331ce39d482e7b5901e2549b056 /tools/draklive
parent599303b6101b7064ae2428a6655af6646889af21 (diff)
downloaddrakx-6847941451db611feceb7d0f433fc653dede2fd7.tar
drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar.gz
drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar.bz2
drakx-6847941451db611feceb7d0f433fc653dede2fd7.tar.xz
drakx-6847941451db611feceb7d0f433fc653dede2fd7.zip
allow to use a local rpmsrate
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 171ebea28..356e0ae78 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -441,7 +441,8 @@ sub install_system {
get_system_root($live),
if_($live->{system}{region}, '--langs', join(':', @{$live->{regions}{$live->{system}{region}}})),
if_($live->{system}{auto_install}, '--auto_install', abs_path($live->{system}{auto_install})),
- if_($live->{system}{patch_install}, '--defcfg', abs_path($live->{system}{patch_install})))
+ if_($live->{system}{patch_install}, '--defcfg', abs_path($live->{system}{patch_install})),
+ if_($live->{system}{rpmsrate}, '--rpmsrate', abs_path($live->{system}{rpmsrate})))
or die "unable to install system chroot";
#- remove urpmi media added by drakx-in-chroot, they're unusable
run_('chroot', get_system_root($live), 'urpmi.removemedia', '-a');
@@ -953,6 +954,7 @@ Here's a configuration sample:
kernel => '2.6.12-12mdk-i586-up-1GB',
auto_install => 'config/auto_inst.cfg.pl',
patch_install => 'config/patch-2006-live.pl',
+ rpmsrate => 'config/rpmsrate',
rpms => [
'rpms/unionfs-kernel-2.6.12-12mdk-i586-up-1GB-1.1.1.1.20051124.1mdk-1mdk.i586.rpm'
],