diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000960.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000960.html | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000960.html b/zarb-ml/mageia-sysadm/2010-November/000960.html new file mode 100644 index 000000000..46cb748ff --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000960.html @@ -0,0 +1,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> |