summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-12-27 19:31:52 +0000
committerOlivier Blin <oblin@mandriva.org>2005-12-27 19:31:52 +0000
commitf846e49abc7cd9d54fc3d4ce43bd9f4e97edecd1 (patch)
tree836329cfa503180ad51e62fb6e759881a647789f /tools/draklive
parent9b4d6e6beb626083c04748508852413638dc3f73 (diff)
downloaddrakx-f846e49abc7cd9d54fc3d4ce43bd9f4e97edecd1.tar
drakx-f846e49abc7cd9d54fc3d4ce43bd9f4e97edecd1.tar.gz
drakx-f846e49abc7cd9d54fc3d4ce43bd9f4e97edecd1.tar.bz2
drakx-f846e49abc7cd9d54fc3d4ce43bd9f4e97edecd1.tar.xz
drakx-f846e49abc7cd9d54fc3d4ce43bd9f4e97edecd1.zip
remove urpmi media added by drakx-in-chroot, they're unusable
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive
index 1cb19d968..60ec6dc4c 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -423,6 +423,8 @@ sub install_system {
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})))
or die "unable to install system chroot";
+ #- remove urpmi media added by drakx-in-chroot, they're unusable
+ run_('chroot', $live->{system}{root}, 'urpmi.removemedia', '-a');
post_install_system($live);
}