diff options
author | rpjday@crashcourse.ca <rpjday@crashcourse.ca> | 2020-03-29 07:39:49 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-30 12:33:29 +0100 |
commit | 27b30835a45629cff186d4ec63d1606eb93b9f91 (patch) | |
tree | 646353f9ce08b139cb2c578a259c249ee9cf92a7 | |
parent | 10be0e446ca2adf325cd59a3d1ec6c01709c208f (diff) | |
download | poky-27b30835a45629cff186d4ec63d1606eb93b9f91.tar.gz |
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>
-rwxr-xr-x | scripts/yocto-check-layer | 6 |
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: |