1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [156] remove basesystem_media_root, basesystem_media, and use_system_distrib config options, they have no use now that we don' t need a repository tree to check if chroot is up-to-date
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B156%5D%20remove%20basesystem_media_root%2C%20basesystem_media%2C%0A%20and%20use_system_distrib%20config%20options%2C%0A%20they%20have%20no%20use%20now%20that%20we%20don%27%20t%20need%20a%20repository%20tree%20to%20check%20if%0A%20chroot%20is%20up-to-date&In-Reply-To=%3C20101125234858.42FDE3FB18%40valstar.mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000959.html">
<LINK REL="Next" HREF="000961.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [156] remove basesystem_media_root, basesystem_media, and use_system_distrib config options, they have no use now that we don' t need a repository tree to check if chroot is up-to-date</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B156%5D%20remove%20basesystem_media_root%2C%20basesystem_media%2C%0A%20and%20use_system_distrib%20config%20options%2C%0A%20they%20have%20no%20use%20now%20that%20we%20don%27%20t%20need%20a%20repository%20tree%20to%20check%20if%0A%20chroot%20is%20up-to-date&In-Reply-To=%3C20101125234858.42FDE3FB18%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [156] remove basesystem_media_root, basesystem_media, and use_system_distrib config options, they have no use now that we don' t need a repository tree to check if chroot is up-to-date">root at mageia.org
</A><BR>
<I>Fri Nov 26 00:48:58 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="000959.html">[Mageia-sysadm] [155] fix indentation
</A></li>
<LI>Next message: <A HREF="000961.html">[Mageia-sysadm] [157] include arch in chroot dir name
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#960">[ date ]</a>
<a href="thread.html#960">[ thread ]</a>
<a href="subject.html#960">[ subject ]</a>
<a href="author.html#960">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 156
Author: blino
Date: 2010-11-26 00:48:57 +0100 (Fri, 26 Nov 2010)
Log Message:
-----------
remove basesystem_media_root, basesystem_media, and use_system_distrib config options, they have no use now that we don't need a repository tree to check if chroot is up-to-date
Modified Paths:
--------------
build_system/iurt/trunk/iurt2
build_system/iurt/trunk/lib/Iurt/Urpmi.pm
build_system/iurt/trunk/uiurt
Modified: build_system/iurt/trunk/iurt2
===================================================================
--- build_system/iurt/trunk/iurt2 2010-11-25 23:45:19 UTC (rev 155)
+++ build_system/iurt/trunk/iurt2 2010-11-25 23:48:57 UTC (rev 156)
@@ -273,9 +273,6 @@
[ "", "delete-on-success", 0, "",
"Don't keep generated packages and their logs",
sub { $run{delete_on_success} = 1 }, "Setting the delete on success flag" ],
- [ "", "use-system-distrib", 1, "<media>",
- "Use the current system urpmi configuration",
- sub { $run{use_system_distrib} = shift; 1 }, "Setting system distrib for urpmi configuration" ],
[ "v", "verbose", 1, "<verbose level>",
"Give more info messages about what is going on (level from 1 to 10)",
sub { $run{verbose} = $_[0]; 1 }, "Setting verbose level" ],
@@ -428,17 +425,6 @@
'contrib' => [ 'release' ]
}
},
- basesystem_media_root => {
- desc => 'Name of the media holding basesystem packages',
- default => sub {
- my ($config, $run) = @_;
- "$config->{repository}/$run->{distro}/$run->{my_arch}/";
- }
- },
- basesystem_media => {
- desc => 'Where to find basesystem packages',
- default => 'main/release'
- },
basesystem_packages => {
desc => 'List of packages needed for the chroot creation',
default => [
Modified: build_system/iurt/trunk/lib/Iurt/Urpmi.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Urpmi.pm 2010-11-25 23:45:19 UTC (rev 155)
+++ build_system/iurt/trunk/lib/Iurt/Urpmi.pm 2010-11-25 23:48:57 UTC (rev 156)
@@ -21,9 +21,7 @@
my $config = $self->{config};
my $run = $self->{run};
- if ($run->{use_system_distrib}) {
- $config->{basesystem_media_root} ||= $run->{use_system_distrib};
- } elsif ($run->{chrooted_urpmi}) {
+ if ($run->{chrooted_urpmi}) {
#my ($host) = $run->{chrooted_urpmi}{rooted_media} =~ m,(?:file|http|ftp)://([^/]*),;
#my ($_name, $_aliases, $_addrtype, $_length, @addrs) = gethostbyname($host);
#
Modified: build_system/iurt/trunk/uiurt
===================================================================
--- build_system/iurt/trunk/uiurt 2010-11-25 23:45:19 UTC (rev 155)
+++ build_system/iurt/trunk/uiurt 2010-11-25 23:48:57 UTC (rev 156)
@@ -240,9 +240,6 @@
[ "", "no-rsync", 0, "",
"Do not send build log to the distant rsync server",
sub { $run{no_rsync} = 1 }, "Setting the no rsync warn flag" ],
- [ "", "use-system-distrib", 1, "<media>",
- "Use the current system urpmi configuration",
- sub { $run{use_system_distrib} = shift; 1 }, "Setting system distrib for urpmi configuration" ],
[ "v", "verbose", 1, "<verbose level>",
"Give more info messages about what is going on (level from 1 to 10)",
sub { $run{verbose} = $_[0]; 1 }, "Setting verbose level" ],
@@ -354,17 +351,6 @@
'contrib' => [ '' ]
}
},
- basesystem_media_root => {
- desc => 'Name of the media holding basesystem packages',
- default => sub {
- my ($config, $run) = @_;
- "$config->{repository}/$run->{distro}/$run->{my_arch}/";
- }
- },
- basesystem_media => {
- desc => 'Where to find basesystem packages',
- default => 'main/release'
- },
basesystem_packages => {
desc => 'List of packages needed for the chroot creation',
default => [
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101126/10ae22ab/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000959.html">[Mageia-sysadm] [155] fix indentation
</A></li>
<LI>Next message: <A HREF="000961.html">[Mageia-sysadm] [157] include arch in chroot dir name
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#960">[ date ]</a>
<a href="thread.html#960">[ thread ]</a>
<a href="subject.html#960">[ subject ]</a>
<a href="author.html#960">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>
|