summaryrefslogtreecommitdiffstats
path: root/globetrotter/make_live
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:49:46 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:49:46 +0000
commit6b3ca192d2f268248fc66e30a78331dbc6f154e1 (patch)
treea83f930a8cf7044ddb90f69536af373fa5238baf /globetrotter/make_live
parent12e829f74a63a1d12b4e7773711ae809b54ddfda (diff)
downloaddrakx-backup-do-not-use-6b3ca192d2f268248fc66e30a78331dbc6f154e1.tar
drakx-backup-do-not-use-6b3ca192d2f268248fc66e30a78331dbc6f154e1.tar.gz
drakx-backup-do-not-use-6b3ca192d2f268248fc66e30a78331dbc6f154e1.tar.bz2
drakx-backup-do-not-use-6b3ca192d2f268248fc66e30a78331dbc6f154e1.tar.xz
drakx-backup-do-not-use-6b3ca192d2f268248fc66e30a78331dbc6f154e1.zip
- urpmi syntax had changed
- install all new media
Diffstat (limited to 'globetrotter/make_live')
-rwxr-xr-xglobetrotter/make_live3
1 files changed, 1 insertions, 2 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live
index 5ed55446e..2d9f3e36f 100755
--- a/globetrotter/make_live
+++ b/globetrotter/make_live
@@ -494,8 +494,7 @@ unlink $_ foreach glob("$::prefix/core.*");
system("rsync -rvltp /export/ $::prefix/mnt/packages/") if !$rescue;
unlink $_ foreach glob("$::prefix/var/lib/urpmi/*");
-run_program::rooted($::prefix, 'urpmi.addmedia', '-h', 'main', 'file:///mnt/packages/Mandrake/RPMS');
-run_program::rooted($::prefix, 'urpmi.addmedia', '-h', 'contrib', 'file:///mnt/packages/Mandrake/RPMS2');
+run_program::rooted($::prefix, 'urpmi.addmedia', '--probe-hdlist', $_, "/mnt/packages/media/$_/") foreach qw(main contrib firmwares dkms modules plugins);
# for fast test replaying:
run_program::rooted($::prefix, 'tar', 'cfj', '/root/etc.tar.bz2', '/etc');