Bug 7773 - The sanity_check function in scripts/combo-layer throws an exception if dest_dir is not set
Summary: The sanity_check function in scripts/combo-layer throws an exception if dest_...
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-18 09:14 UTC by Igor Stoppa
Modified: 2015-06-09 17:03 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Stoppa 2015-05-18 09:14:42 UTC
Following the instructions from the master README file, I forgot to set the dest_dir, then continued with scripts/combo-layer init and got the following:

./scripts/combo-layer init
Traceback (most recent call last):
  File "./scripts/combo-layer", line 869, in <module>
    ret = main()
  File "./scripts/combo-layer", line 864, in main
    confdata.sanity_check(initmode)
  File "./scripts/combo-layer", line 149, in sanity_check
    dest_dir = os.path.normpath(self.repos[name]["dest_dir"])
KeyError: 'dest_dir'
Comment 1 Patrick Ohly 2015-05-20 11:49:19 UTC
Patch sent to OE-core mailing list, see "combo-layer: handle unset dest_dir in sanity_check()".