FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 05-24-2010, 12:25 PM
Ales Kozumplik
 
Default fix: traceback in check_memory() (#595284).

because on livecd, opts.stage2 is None.
---
anaconda | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/anaconda b/anaconda
index 7be6cc8..2834c70 100755
--- a/anaconda
+++ b/anaconda
@@ -373,7 +373,7 @@ def check_memory(opts, display_mode=None):

extra_ram = 0
reason = '
- if opts.stage2.startswith(('http', 'ftp', '@')):
+ if opts.stage2 and opts.stage2.startswith(('http', 'ftp', '@')):
extra_ram += isys.URL_INSTALL_EXTRA_RAM
reason = " using this install method"

--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-24-2010, 05:03 PM
"Brian C. Lane"
 
Default fix: traceback in check_memory() (#595284).

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/24/2010 05:25 AM, Ales Kozumplik wrote:
> because on livecd, opts.stage2 is None.
> ---
> anaconda | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/anaconda b/anaconda
> index 7be6cc8..2834c70 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -373,7 +373,7 @@ def check_memory(opts, display_mode=None):
>
> extra_ram = 0
> reason = '
> - if opts.stage2.startswith(('http', 'ftp', '@')):
> + if opts.stage2 and opts.stage2.startswith(('http', 'ftp', '@')):
> extra_ram += isys.URL_INSTALL_EXTRA_RAM
> reason = " using this install method"
>

ack

- --
Brian C. Lane <bcl@redhat.com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS/qxUhF+jBaO/jp/AQKCBwf+M07T2ltgXwqXtZ0PkjD6D+ktjeWkmAJL
7Np1f86ubBlcqvEzblCQ5RC5d45ywKQF/wYnNvXeAy+i9Q2TB1fNH65ifW2I7qRK
ottvYMRZtWR5VK8Y7Wkt6VrzwWuZ+L5tB4N8TuW3eG9nL8Hvj+ bbIdNeszTPhQOZ
yM88BN5tT4lVnqcMktk9/g9oPDCQZTxnhLe2L5lgDrnBZDhih1qoFRxpsCbfCWgG
XCjCUKih+nrwXI0G6bq+2jKx6Cw+9cSFgyPVYdoFVNu6h+5HHR t0wBztr/x+I3Pz
mU+Yoe+ruqIcujoHpmzvdllHNgpN48sS9TtH3tJEVwpZbx/rNwHIZA==
=bHle
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 04:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org