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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-20-2010, 11:05 PM
"Brian C. Lane"
 
Default Fix product import for EFI (#635873)

product.py is under pyanaconda, so import from there.
---
pyanaconda/booty/x86.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/booty/x86.py b/pyanaconda/booty/x86.py
index 93c0a59..bb37f73 100644
--- a/pyanaconda/booty/x86.py
+++ b/pyanaconda/booty/x86.py
@@ -281,7 +281,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
f.write("#boot=/dev/%s
" % (grubTarget))

if iutil.isEfi():
- from product import productName
+ from pyanaconda.product import productName
# Map the target device to the full EFI path
if self.getEfiProductPath(productName):
(n, pn) = getDiskPart(bootDevs[0], self.storage)
--
1.7.2.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-20-2010, 11:18 PM
David Lehman
 
Default Fix product import for EFI (#635873)

Ack.

On Mon, 2010-09-20 at 16:05 -0700, Brian C. Lane wrote:
> product.py is under pyanaconda, so import from there.
> ---
> pyanaconda/booty/x86.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/booty/x86.py b/pyanaconda/booty/x86.py
> index 93c0a59..bb37f73 100644
> --- a/pyanaconda/booty/x86.py
> +++ b/pyanaconda/booty/x86.py
> @@ -281,7 +281,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
> f.write("#boot=/dev/%s
" % (grubTarget))
>
> if iutil.isEfi():
> - from product import productName
> + from pyanaconda.product import productName
> # Map the target device to the full EFI path
> if self.getEfiProductPath(productName):
> (n, pn) = getDiskPart(bootDevs[0], self.storage)


_______________________________________________
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 12:56 AM.

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