From d5a9ff4b27e8826b47737c4094463896874253f4 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Mon, 16 Apr 2012 15:51:43 +0800 Subject: Hob: Fix contents in imagedetailsscreen This commit fixes the contents in imagedetailsscreen, which lacks some kind of image types, e.x., iso and hddimg. (Bitbake rev: 4505097f4f7834857a6086d5dabeedb24b49cf4c) Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/hig.py') diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 322efc698f..a85b478a87 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py @@ -1107,7 +1107,7 @@ class ImageSelectionDialog (CrumbsDialog): for image_type in self.image_types: for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]: if f.endswith('.' + real_image_type): - imageset.add(f.rsplit('.' + real_image_type)[0]) + imageset.add(f.rsplit('.' + real_image_type)[0].rsplit('.rootfs')[0]) self.image_list.append(f) for image in imageset: -- cgit v1.2.3-54-g00ecf