Patchwork [bitbake-devel] hob/image_details/run_image: Kernel must be set

login
register
mail settings
Submitter Ioana Grigoropol
Date Oct. 3, 2012, 11:13 a.m.
Message ID <1349262798-9401-1-git-send-email-ioanax.grigoropol@intel.com>
Download mbox | patch
Permalink /patch/37675/
State New
Headers show

Comments

Ioana Grigoropol - Oct. 3, 2012, 11:13 a.m.
- when displaying image details, even if the kernel information is not shown, the kernel value must be set (if dealing with qemu) otherwise running the image will throw an error
Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
---
 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index 44f8987..03afc55 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -329,8 +329,8 @@  class ImageDetailsPage (HobPage):
         # The default kernel box for the qemu images
         self.sel_kernel = ""
         self.kernel_detail = None
-        #if 'qemu' in image_name:
-        #    self.sel_kernel = self.get_kernel_file_name()
+        if 'qemu' in image_name:
+            self.sel_kernel = self.get_kernel_file_name()
 
         #    varlist = ["Kernel: "]
         #    vallist = []