1 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL |
2 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL 1970-01-01 01:00:00.000000000 +0100 |
3 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL 2012-03-22 03:46:46.000000000 +0000 |
4 |
@@ -0,0 +1 @@ |
5 |
+http://vault.centos.org/4.9/addons/$basearch |
6 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/addons/MirrorList smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/MirrorList |
7 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/addons/MirrorList 2008-10-07 15:21:29.000000000 +0100 |
8 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/MirrorList 1970-01-01 01:00:00.000000000 +0100 |
9 |
@@ -1 +0,0 @@ |
10 |
-http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons |
11 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL |
12 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL 1970-01-01 01:00:00.000000000 +0100 |
13 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL 2012-03-22 03:43:36.000000000 +0000 |
14 |
@@ -0,0 +1 @@ |
15 |
+http://vault.centos.org/4.9/os/$basearch |
16 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/base/MirrorList smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/MirrorList |
17 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/base/MirrorList 2008-10-07 15:21:29.000000000 +0100 |
18 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/MirrorList 1970-01-01 01:00:00.000000000 +0100 |
19 |
@@ -1 +0,0 @@ |
20 |
-http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os |
21 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL |
22 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL 1970-01-01 01:00:00.000000000 +0100 |
23 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL 2012-03-22 03:46:16.000000000 +0000 |
24 |
@@ -0,0 +1 @@ |
25 |
+http://vault.centos.org/4.9/centosplus/$basearch |
26 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/centosplus/MirrorList smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/MirrorList |
27 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/centosplus/MirrorList 2008-10-07 15:21:29.000000000 +0100 |
28 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/MirrorList 1970-01-01 01:00:00.000000000 +0100 |
29 |
@@ -1 +0,0 @@ |
30 |
-http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus |
31 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL |
32 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL 1970-01-01 01:00:00.000000000 +0100 |
33 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL 2012-03-22 03:45:56.000000000 +0000 |
34 |
@@ -0,0 +1 @@ |
35 |
+http://vault.centos.org/4.9/contrib/$basearch |
36 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/contrib/MirrorList smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/MirrorList |
37 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/contrib/MirrorList 2008-10-07 15:21:29.000000000 +0100 |
38 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/MirrorList 1970-01-01 01:00:00.000000000 +0100 |
39 |
@@ -1 +0,0 @@ |
40 |
-http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib |
41 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL |
42 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL 1970-01-01 01:00:00.000000000 +0100 |
43 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL 2012-03-22 03:45:36.000000000 +0000 |
44 |
@@ -0,0 +1 @@ |
45 |
+http://vault.centos.org/4.9/extras/$basearch |
46 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/extras/MirrorList smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/MirrorList |
47 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/extras/MirrorList 2008-10-07 15:21:29.000000000 +0100 |
48 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/MirrorList 1970-01-01 01:00:00.000000000 +0100 |
49 |
@@ -1 +0,0 @@ |
50 |
-http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras |
51 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL |
52 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL 1970-01-01 01:00:00.000000000 +0100 |
53 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL 2012-03-22 03:45:21.000000000 +0000 |
54 |
@@ -0,0 +1 @@ |
55 |
+http://vault.centos.org/4.9/updates/$basearch |
56 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/updates/MirrorList smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/MirrorList |
57 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/defaults/updates/MirrorList 2008-10-07 15:21:29.000000000 +0100 |
58 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/MirrorList 1970-01-01 01:00:00.000000000 +0100 |
59 |
@@ -1 +0,0 @@ |
60 |
-http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates |
61 |
diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos |
62 |
--- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos 2012-03-21 04:24:20.000000000 +0000 |
63 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos 2012-03-22 03:41:06.000000000 +0000 |
64 |
@@ -1,9 +1,19 @@ |
65 |
{ |
66 |
- for my $name ( qw(base updates) ) |
67 |
+ for my $name ( qw(addons base centosplus contrib extras updates) ) |
68 |
{ |
69 |
my $repo = $DB->get($name) or next; |
70 |
+ |
71 |
+ $repo->merge_props( |
72 |
+ Visible => "yes", |
73 |
+ status => "enabled", |
74 |
+ ) if ($name eq "base" || $name eq "updates"); |
75 |
+ |
76 |
+ my $reponame = $name; |
77 |
+ $reponame =~ s/base/os/; |
78 |
+ my $baseurl = "http://vault.centos.org/4.9/$reponame/\$basearch"; |
79 |
|
80 |
- $repo->set_prop('Visible', 'yes'); |
81 |
- $repo->set_prop('status', 'disabled'); |
82 |
+ $repo->set_prop('BaseURL', $baseurl); |
83 |
+ $repo->delete_prop('MirrorList'); |
84 |
} |
85 |
} |
86 |
+ |