summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/builder.py
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: Hob wizard-like reorganizationCristian Iorga2012-08-221-5/+18
| | | | | | | | | | | | | | | | | | | | | | Hob is now more context-sensitive regarding user changes/options. Also, the workflow have been streamlined and resembles more of a wizard. Beautified some hardcoded values. Fixed typo. New streamlined Image Configuration page. Build and/or Edit image buttons presence is context sensitive. Recipes and packages tabs selected automatically based on custom image or pre-defined target image (included or all). Context sensitive Back button. Fixes [YOCTO 2165] (Bitbake rev: b48cd7dcf57b1abc8c5b46ced11d4f57bf06e557) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob: create console log directory before writingPaul Eggleton2012-08-221-0/+1
| | | | | | | | | | | The default value of BB_CONSOLELOG in OE-Core now points to a directory that might not exist prior to the first build, so ensure it is created first. (Bitbake rev: 660821769b9dfb89086291ffc835e9b5444509be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Hob: log for Hob and allow users to show logs after successful buildLiming An2012-08-021-10/+42
| | | | | | | | | | | | | | | | | | If users build images in Hob, record logs and allow users to retrieve the lo after successful build. The logs are generated if and only if: - users do "just bake" - users do "build image" after "build packages" - users do "build packages" only [YOCTO #1991] (Bitbake rev: 291289787bb042b99f0599babc2d67c220aadb87) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: deal event DiskFullKang Kai2012-08-021-0/+4
| | | | | | | | | | | | Part of [Yocto #2168] When bitbake runqueue is teminated by disk monitor, it will send event DiskFull. Update to handle it. (Bitbake rev: a691de10d8b8de552628b277e78d47c607ee3a46) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed issue about 'select a base image' combo not sensitiveLiming An2012-06-141-0/+2
| | | | | | | | | | | | The combo view is not sensitive, after select recipes come back. so fixed this issue. [YOCTO #2500] (Bitbake rev: debcea9c063f7bddcba1d4ed47edbe173ef1d9cf) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change 'run image' work flow and image detail screen as ui designLiming An2012-06-081-67/+51
| | | | | | | | | | | | Added the qemu_image_kernel selection view box to image detail screen GUI, and changed the 'run image' button clicked work flow. [YOCTO #2155] (Bitbake rev: d548eb8a03cfba5c64c018898972bc0a0bdb280c) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Interpret some special characters for label markupShane Wang2012-06-081-2/+11
| | | | | | | | | | | | | Interpret some special characters for label markup, such as &, <, >, etc. Otherwise, the message dialog can't show them, and worsely, it makes the whole message blank. [Yocto #2492] (Bitbake rev: fb82f6eb5405274f702bd6d64cbe995fd4b74145) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add versions for compatibility check between Hob and templatesShane Wang2012-06-081-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | If a user uses a very old version of Hob and does some work, later on he/she upgrade to the latest version of Hob, because Hob may change the settings (add more config option into the Adv. Settings dialog or remove some), then the old templates are not loadable and workable for the new Hob. Even though the user hasn't save any template before, the Hob could remember the settings between Hob sessions as a default template, (Remember we have a bug to ask Hob remember between sessions?), the new Hob will also load the default template. By adding versions, we can easily to fix the issue. If the versions don't match, Hob will remove the old default template first and initiate a new build, which has very very little impact on the user. (Just can't remember from the previous session after the user upgrades to a new and incompatible Hob) [Yocto #2492] (Bitbake rev: d5dd9a7af9d35c588528f9937430d1ef5de216c6) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clear the repeated function get_kernel_file_nameLiming An2012-06-081-2/+3
| | | | | | | | | | there are a repeated function in builder.py and imagedetailspage.py, so combine them to one. (Bitbake rev: 4bada20cd244a2dd6d72acd38f0cadc90453e60b) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: handle sanity check failures as a separate eventPaul Eggleton2012-05-301-1/+6
| | | | | | | | | | | | | | | | In order to show a friendlier error message that does not bury the actual sanity error in our typical preamble about disabling sanity checks, use a separate event to indicate that sanity checks failed. This change is intended to work together with the related change to sanity.bbclass in OE-Core. Fixes [YOCTO #2336]. (Bitbake rev: 24b631acdaa143a4de39c6e1328849660c66f219) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Adjust the progress bar and set 100% only when all is done.Shane Wang2012-05-231-2/+10
| | | | | | | | | | | | | | | | After parsing recipes, Hob will populate recipes and packages, which is probably time exhaused. So, this patch is to adjust the progress bar and ensure 100% is set if and only if all populations are done. The patch also fixes "weird 18 second delay when parsing recipes" on build appliance. Because Hob is doing something, but the progress bar shows 100% and wait there. [Yocto #2341] (Bitbake rev: 2c4a21dc8a588c8cf05549ddd9734731a46bea10) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the build failure scenario as ui designLiming An2012-05-231-0/+8
| | | | | | | | | | | change the top bar display in build 'issue' page [YOCTO #2183] (Bitbake rev: 0705d3db1ce6d0f29301e2428c990ab0d9b2860e) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add '--select a machine--' and '--select a base image--' to GUILiming An2012-05-221-3/+3
| | | | | | | | | [YOCTO #2175] (Bitbake rev: 2729729012f035043fedc5098be2ec12b761166d) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Get image name internally when updating the image descriptionDongxiao Xu2012-05-221-1/+1
| | | | | | | | | | | The image name shouldn't be passed from outside caller, since the image name may not in the combobox list. Getting the name from update_image_desc() internally. (Bitbake rev: 6635cd7bc2a448d1324e9344100f97613f4272b5) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Add filter for images listed in image comboDongxiao Xu2012-05-221-0/+4
| | | | | | | | | | | | | | | Define BBUI_IMAGE_WHITE_PATTERN variable to indicate which image is allowed to be displayed in image combobox. Define BBUI_IMAGE_BLACK_PATTERN variable to indicate which image is NOT allowed to be displayed in image combobox. This fixes [YOCTO #1581] (Bitbake rev: 960461bc12945675af3081eb469f932f4a6eb1cd) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reimplement the proxy pageShane Wang2012-05-221-37/+106
| | | | | | | | | | | | | This patch is to reimplement the proxy page in the "Advanced Settings" dialog per the new design in https://bugzilla.yoctoproject.org/attachment.cgi?id=442 and https://bugzilla.yoctoproject.org/attachment.cgi?id=443. [Yocto #2247] (Bitbake rev: 911a60c09c1539a3f10c2bcdb26d40e458c31303) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the workflow about click 'Run Image' to run directly after ↵Liming An2012-05-091-15/+37
| | | | | | | | | | | builded a qemu image [YOCTO #2155] (Bitbake rev: d8a1fc4613ce1d6c1d0e3dad53d7af15b2011fd5) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Issue sanity check after parse is completedDongxiao Xu2012-04-241-2/+5
| | | | | | | | | | | | | | | | In original scheme, sanity check is part of the parsing process. If a sanity check fails, it means the parsing is failed and values in Hob GUI may not correct. With this commit, Hob will actively issue sanity_check() after the parsing is completed. This fixes [YOCTO #2361] (Bitbake rev: 36968815dcc91759eeacb308bf4b294af416eee5) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: enable sanity checks after launchJoshua Lock2012-04-231-0/+2
| | | | | | | | | | To ensure the users configuration is sanity tested enable the sanity checks after the GUI has started but before any parsing is done. (Bitbake rev: 244ce2b900ae6cecbeeccfe2056e61c132476261) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add the parent window to 'binb' popup window for managing itLiming An2012-04-161-1/+1
| | | | | | | | | | The 'binb' popup window should be "set transient for" the main application window which they were spawned from. (Bitbake rev: a6f45b23851e22c7793d9a534fd197316bb5b9b8) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix contents in imagedetailsscreenDongxiao Xu2012-04-161-4/+5
| | | | | | | | | | 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 <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add exception handlingShane Wang2012-04-151-20/+36
| | | | | | | | | | Create a wrapper with exception handling to call self.server.runCommand() safely. Again, add exception handling to load_template() and save_template() (Bitbake rev: cb07a027d3366ed30b0f7e5e85d08c6fda4eb5b9) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Simplify the init processDongxiao Xu2012-04-151-10/+3
| | | | | | | | | | This commit merges some functionalities together and avoid unnecessary signal handling. This can help to speed up the Hob startup. (Bitbake rev: e5a6eb4f007bf270f2fddc814eb856da46e20eee) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Handle NoProvider event in runningbuild moduleDongxiao Xu2012-04-151-4/+14
| | | | | | | | | | | | | If NoProvider event is received, we will handle it in runningbuild module and send notification to Hob instance, avoiding stepping into the final page with no image built out. This fixes [YOCTO #2249] (Bitbake rev: 067bc46a0fbc542fef1fcaa406ad3737a4c5a55a) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reset user recipe selection and package selection after settings are ↵Shane Wang2012-04-141-4/+8
| | | | | | | | | | | | | | | | changed Reset user recipe list and package list after the user changes the settings and triggers recipe reparsing. This is to continue to fix the bug [Yocto #2255] [Yocto #2255] (Bitbake rev: 95f4e9dc351f67442844ff52f90fc154fa95ba95) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: remember layers and settings between Hob sessionsShane Wang2012-04-141-59/+99
| | | | | | | | | | | | | | | | | | | | | | | This patch is to remember layers and settings between Hob sessions, which includes: - Put some variables for the build details screen from Configuration to Parameters because they are not actually for build but for show - We create a dummy Configuration instance and a dummy Parameters instance in __init__ of builder - The two instances will be assigned the real values by update_configuration_parameters() after parsing (in the event callback) - When it is the first time to launch Hob in a build directory, nothing is remembered since everything is fresh. - The feature is implemented with templates, and based on the hook for Hob. - When the user changes the layers or the settings, a default template file is saved into ".hob/". - Later on, the layers and the settings are remembered by loading the default template automatically. (Bitbake rev: f7c874ab930b9e7f95e79d0e84e62eb9b967f566) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Use BB_DEFAULT_TASK as build task instead of hardcoded "build"Dongxiao Xu2012-04-141-3/+7
| | | | | | | | | | | | Originally we use hardcoded "build" as the default task. This commit fixes it by using BB_DEFAULT_TASK. This fixes [YOCTO #2283] (Bitbake rev: 7540f8d446345559ea9b47f4ff71d203ffdfaf8d) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Build selected image if not customizedDongxiao Xu2012-04-141-5/+14
| | | | | | | | | | | | If user selected a base image and didn't customize it, Hob will still build the selected image instead of hob-image. This fixes [YOCTO #2253] (Bitbake rev: a74a6a033e66a0ae7b47c84d842bdd54066c69a1) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Save the original image name into templateDongxiao Xu2012-04-141-7/+2
| | | | | | | | | | Previously we use the template file name as the image name. This commit changes to use the original selected image into template file. (Bitbake rev: 14a9da66fe08d181f45853c52e0c9f14773070a8) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: forbid users to exit Hob directly when Hob is busyShane Wang2012-04-131-0/+6
| | | | | | | | | | | | | When Hob is busy with generating data, exiting Hob is not allowed. That should be reasonable because at that time the mouse cursor is not a pointer. If users want to exit, they can click "Stop" first and then do exit. That is also a walkaround for [Yocto #2142] (Bitbake rev: ad7f6bf3c7c4c15d546781aaefdaf03f00193f7c) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Implement Hob config parse hookDongxiao Xu2012-04-131-0/+26
| | | | | | | | | | | | | | | To make Hob's specific variable settings take effect, we add a Hob config hook at the end of parsing for each configuration file, and in the hook function, Hob will set its own variables to the data store. This fixes: [YOCTO #2210] [YOCTO #2254] (Bitbake rev: 0ec7d1bbfd2e09ae60f99e6134b20ffd1d9145b1) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* builder: fix missing \ for if continuationSaul Wold2012-04-121-1/+1
| | | | | | | (Bitbake rev: f44f12b812d246da994519bc39789bf2dcfbac4b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hig/builder: use the new which_terminal() functionSaul Wold2012-04-111-4/+7
| | | | | | | | | | Also adjusted the cmdline ordering to work correctly with both xterm and vte. (Bitbake rev: 4219e2ea033232d95117211947b751bdb5efafd4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob:Fixed some incorrect values of Build configuration tabLiming An2012-04-111-7/+7
| | | | | | | | | | | | | Because some variables not be updated when building started, so add them to the updating function of configuration class, and add reset function of configurate treeview of building detail page [YOCTO #2244] (Bitbake rev: 06ce753fd4680a204ccc63949ace637dc1c115e2) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: forget selected_recipes and selected_packages after users change the ↵Shane Wang2012-04-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | machine The patch is to fix [Yocto #2255]. Now the logic is: - If users change the machine, the image combo is empty for users to select. - If users load the template, the image combo should set the value of selected_image specified in the template. - After loading a template, if users change the machine, the selected_image specified in the template should be removed from the image combo because it is probably invalid for a new machine. - If users customize the recipe/package list, and change the settings which causes reparsing, selected_recipes and selected_packages should be remembered. - If users add more layers, selected_recipes and selected_packages should be remembered. (Bitbake rev: e549b11f4f31863393f62a253ee96bead4594523) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and reword stop_parse()Shane Wang2012-04-111-3/+3
| | | | | | | (Bitbake rev: f6e0d93c96d1626e7da298e296b1be9e425173b2) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up generate_configuration()Shane Wang2012-04-111-1/+4
| | | | | | | (Bitbake rev: 569d5ac3a3e89c7a8d69ec611b69edbae414b5fe) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up cancel_build()Shane Wang2012-04-111-2/+5
| | | | | | | (Bitbake rev: ef441d51700f73577e72c106ee2a0ecd4eceda08) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up request_package_info_async()Shane Wang2012-04-111-1/+4
| | | | | | | (Bitbake rev: e95b52820f26a7a35865e8978ea752053dccd4b1) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and unify get_parameters() to be get_parameters_sync()Shane Wang2012-04-111-3/+6
| | | | | | | (Bitbake rev: 16fecd0d0f95285bf774030cd24006206185faee) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up to call clear_busy() in hobeventhandler.pyShane Wang2012-04-111-1/+0
| | | | | | | (Bitbake rev: 7b6414e2b82666c3cfa5432ce8fe8c348b227441) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and unify the steps for IMAGE_GENERATING to call ↵Shane Wang2012-04-111-16/+16
| | | | | | | | | | | | generate_image_async() For the steps in IMAGE_GENERATING, the patch consolidates them into generate_image_async() to call. (Bitbake rev: d4f2335e40d4d667847d3faed79bcee74baeea37) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and unify the steps for PACKAGE_GENERATING and ↵Shane Wang2012-04-111-11/+19
| | | | | | | | | | | | | | | FAST_IMAGE_GENERATING to call generate_packages_async() and fast_generate_image_async() For the steps in PACKAGE_GENERATING, the patch consolidates them into generate_packages_async() to call. For the steps in FAST_IMAGE_GENERATING, the patch also consolidates them into fast_generate_image_async() to call. (Bitbake rev: 1ec53d41774528ab01e835d1cf4166f0202a7c38) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and unify the steps for RCPPKGINFO_POPULATING to call ↵Shane Wang2012-04-111-7/+7
| | | | | | | | | | | | populate_recipe_package_info_async() For the steps in RCPPKGINFO_POPULATING, This patch consolidates them into populate_recipe_package_info_async() to call. (Bitbake rev: ed2aa6f235e1b789af8a33729302a4269674c6b4) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and unify the steps for CONFIG_UPDATE to call ↵Shane Wang2012-04-111-12/+9
| | | | | | | | | | | | | update_config_async() For the steps in CONFIG_UPDATE, the patch consolidates them into update_config_async() to call. consequently remove CONFIG_UPDATE since MACHINE_SELECTION covers it. (Bitbake rev: f583d43e87c049bdee88890e289f14520c7c31a1) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: clean up and unify the steps for new build to call ↵Shane Wang2012-04-111-12/+7
| | | | | | | | | | | | | | | initiate_new_build_async() initiate_new_build() (changed the function name into initiate_new_build_async() to indicate it is an async function) or the similar sub-functions are called at different places. This patch is unify to call initiate_new_build_async(). (Bitbake rev: ec42be626a5d6362a09f12f4f4025ad92d70c89b) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change base image to "Create your own image" if customizedDongxiao Xu2012-04-111-0/+3
| | | | | | | | | | | | | Once user did customization to his base image, we change the base image to be "Create your own image" to avoid some issues caused by the relationship between base image and its default recipes and packages. This fixes [YOCTO #2211] (Bitbake rev: 8edad8d282b69896237e956a00c66cd4d10ef494) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: a minor fix on pmakeShane Wang2012-04-051-2/+2
| | | | | | | | | | | | | | | params["pmake"] should be in the format "-j int". When loading/saving "PARALLEL_MAKE" into templates, configuration.pmake will be converted into "-j int", as "PACKAGE_CLASSES" and "BBLAYERS" do. For "PACKAGE_CLASSES" and "BBLAYERS", params["pclass"] and params["layer"] are also strings rather than the types of configuration.curr_package_format and configuration.layers. (Bitbake rev: d49db15badb77855cef855ee73430fcbc16b6916) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: a minor fix on image_fstypesShane Wang2012-04-051-1/+1
| | | | | | | | | | | image_fstypes in the configuration has been changed into a string rather than a list. Here we correct it in __init__() of class Configuration. At other places, image_fstypes are all strings. (Bitbake rev: 59dd7e91c11e0348f967578f32e13f5984c6a452) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: handle exceptions when loading templatesShane Wang2012-04-051-4/+16
| | | | | | | | | Handle exceptions during type conversion to integers. (Bitbake rev: bb3a4e2d40486a347c13563d73e4df6d015a3c6c) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>