summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:49:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:49:55 +0000
commit496b9f9cdacf1f7c2dd2ba1e1ce910c79359492b (patch)
treeb84d060323e856f8511acdabd7af3e53dde69487
parentdd9c4b0393183a14c1f9782a107b63c4f0cfe0e6 (diff)
downloaddrakx-backup-do-not-use-496b9f9cdacf1f7c2dd2ba1e1ce910c79359492b.tar
drakx-backup-do-not-use-496b9f9cdacf1f7c2dd2ba1e1ce910c79359492b.tar.gz
drakx-backup-do-not-use-496b9f9cdacf1f7c2dd2ba1e1ce910c79359492b.tar.bz2
drakx-backup-do-not-use-496b9f9cdacf1f7c2dd2ba1e1ce910c79359492b.tar.xz
drakx-backup-do-not-use-496b9f9cdacf1f7c2dd2ba1e1ce910c79359492b.zip
- urpmi syntax had changed
- install all new media
-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');