mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
yocto-check-layer: simple grammatical fixes
(From OE-Core rev: 15ad048ffa5a80e81b4e04bf98e14e8e23e409f9) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
10be0e446c
commit
27b30835a4
@@ -84,7 +84,7 @@ def main():
|
||||
logger.setLevel(logging.ERROR)
|
||||
|
||||
if not 'BUILDDIR' in os.environ:
|
||||
logger.error("You must source the environment before run this script.")
|
||||
logger.error("You must source the environment before running this script.")
|
||||
logger.error("$ source oe-init-build-env")
|
||||
return 1
|
||||
builddir = os.environ['BUILDDIR']
|
||||
@@ -92,7 +92,7 @@ def main():
|
||||
|
||||
layers = detect_layers(args.layers, args.no_auto)
|
||||
if not layers:
|
||||
logger.error("Fail to detect layers")
|
||||
logger.error("Failed to detect layers")
|
||||
return 1
|
||||
if args.additional_layers:
|
||||
additional_layers = detect_layers(args.additional_layers, args.no_auto)
|
||||
@@ -108,7 +108,7 @@ def main():
|
||||
for layer in layers:
|
||||
if layer['type'] == LayerType.ERROR_BSP_DISTRO:
|
||||
logger.error("%s: Can't be DISTRO and BSP type at the same time."\
|
||||
" The conf/distro and conf/machine folders was found."\
|
||||
" Both conf/distro and conf/machine folders were found."\
|
||||
% layer['name'])
|
||||
layers.remove(layer)
|
||||
elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF:
|
||||
|
||||
Reference in New Issue
Block a user