[Mageia-sysadm] [129] use chroot when adding additional media
root at mageia.org
root at mageia.org
Wed Nov 24 01:00:49 CET 2010
Revision: 129
Author: blino
Date: 2010-11-24 01:00:49 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
use chroot when adding additional media
Modified Paths:
--------------
build_system/iurt/trunk/lib/Iurt/Urpmi.pm
Modified: build_system/iurt/trunk/lib/Iurt/Urpmi.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Urpmi.pm 2010-11-23 23:36:41 UTC (rev 128)
+++ build_system/iurt/trunk/lib/Iurt/Urpmi.pm 2010-11-24 00:00:49 UTC (rev 129)
@@ -215,7 +215,7 @@
plog("add chroot media: $run->{chrooted_media}");
- if (!perform_command("urpmi-addmedia $media",
+ if (!perform_command("chroot $chroot urpmi.addmedia $media",
$run, $config, $cache,
mail => $config->{admin},
timeout => 300,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101124/f2aa4735/attachment.html>
More information about the Mageia-sysadm
mailing list