[PATCH 2/4] ARM: clean up the kernel selection to be consistent with the rest of the code

Dennis Gilmore dennis at ausil.us
Wed Aug 1 07:42:04 UTC 2012


Signed-off-by: Dennis Gilmore <dennis at ausil.us>
---
 pyanaconda/yuminstall.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 63d077d..9ac780b 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -1467,7 +1467,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
 
         if not foundkernel and iutil.isARM():
             if anaconda.platform.armMachine is not None:
-                selectKernel("kernel-" + anaconda.platform.armMachine)
+                selectKernel("kernel-%s" % anaconda.platform.armMachine)
                 foundkernel = True
 
         if not foundkernel:
-- 
1.7.11.2



More information about the anaconda-patches mailing list