summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/yocto-check-layer6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 010830f842..ca6c79bc8d 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -84,7 +84,7 @@ def main():
84 logger.setLevel(logging.ERROR) 84 logger.setLevel(logging.ERROR)
85 85
86 if not 'BUILDDIR' in os.environ: 86 if not 'BUILDDIR' in os.environ:
87 logger.error("You must source the environment before run this script.") 87 logger.error("You must source the environment before running this script.")
88 logger.error("$ source oe-init-build-env") 88 logger.error("$ source oe-init-build-env")
89 return 1 89 return 1
90 builddir = os.environ['BUILDDIR'] 90 builddir = os.environ['BUILDDIR']
@@ -92,7 +92,7 @@ def main():
92 92
93 layers = detect_layers(args.layers, args.no_auto) 93 layers = detect_layers(args.layers, args.no_auto)
94 if not layers: 94 if not layers:
95 logger.error("Fail to detect layers") 95 logger.error("Failed to detect layers")
96 return 1 96 return 1
97 if args.additional_layers: 97 if args.additional_layers:
98 additional_layers = detect_layers(args.additional_layers, args.no_auto) 98 additional_layers = detect_layers(args.additional_layers, args.no_auto)
@@ -108,7 +108,7 @@ def main():
108 for layer in layers: 108 for layer in layers:
109 if layer['type'] == LayerType.ERROR_BSP_DISTRO: 109 if layer['type'] == LayerType.ERROR_BSP_DISTRO:
110 logger.error("%s: Can't be DISTRO and BSP type at the same time."\ 110 logger.error("%s: Can't be DISTRO and BSP type at the same time."\
111 " The conf/distro and conf/machine folders was found."\ 111 " Both conf/distro and conf/machine folders were found."\
112 % layer['name']) 112 % layer['name'])
113 layers.remove(layer) 113 layers.remove(layer)
114 elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF: 114 elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF: