Pino Toscano
2015-Feb-17 15:04 UTC
[Libguestfs] [PATCH] builder: process --source sources before
Process the sources specified via the --source command line arguments before sources read from repositories, so the former have a chance to "override" the latter. Related to RHBZ#1193238. --- builder/builder.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/builder.ml b/builder/builder.ml index c7f1dae..a519913 100644 --- a/builder/builder.ml +++ b/builder/builder.ml @@ -158,7 +158,7 @@ let main () proxy = Downloader.SystemProxy; } ) sources in - let sources = List.append repos sources in + let sources = List.append sources repos in let index : Index_parser.index List.concat ( List.map ( -- 2.1.4
Richard W.M. Jones
2015-Feb-18 11:48 UTC
Re: [Libguestfs] [PATCH] builder: process --source sources before
On Tue, Feb 17, 2015 at 04:04:13PM +0100, Pino Toscano wrote:> Process the sources specified via the --source command line arguments > before sources read from repositories, so the former have a chance to > "override" the latter. > > Related to RHBZ#1193238. > --- > builder/builder.ml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/builder/builder.ml b/builder/builder.ml > index c7f1dae..a519913 100644 > --- a/builder/builder.ml > +++ b/builder/builder.ml > @@ -158,7 +158,7 @@ let main () > proxy = Downloader.SystemProxy; > } > ) sources in > - let sources = List.append repos sources in > + let sources = List.append sources repos in > let index : Index_parser.index > List.concat ( > List.map ( > -- > 2.1.4Pretty obvious fix, so ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Apparently Analagous Threads
- [PATCH] builder: move the gpgkey_type type from Sigchecker to Utils
- [PATCH] builder: pass Sources.source objects directly
- [PATCH v2 1/2] mllib: curl: add optional tmpdir parameter
- [PATCH 1/2] mllib: curl: add optional tmpdir parameter
- [PATCH 3/3] builder: Use the new Curl module for passing parameters to curl.