[master/f21] Log when using updates from /tmp/updates/

David Shea dshea at redhat.com
Wed Oct 15 18:18:43 UTC 2014


On 10/15/2014 01:07 PM, Brian C. Lane wrote:
> Also log the source of the updates.
> ---
>   anaconda | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/anaconda b/anaconda
> index 46fcb16..c0d1950 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -951,6 +951,8 @@ if __name__ == "__main__":
>               sys.exit(0)
>   
>       log.info("%s %s", sys.argv[0], getAnacondaVersionString())
> +    if os.path.exists("/tmp/updates"):
> +        log.info("Using updates in /tmp/updates/ from %s", opts.updateSrc)
>   
>       # TODO: uncomment this when we're sure that we're doing the right thing
>       # with flags.cmdline *everywhere* it appears...

Looks good.


More information about the anaconda-patches mailing list