summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2018-02-14 11:03:13 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 18:05:40 +0000
commit81b5154aafc1fd941003fa066f4957d3e27a6b34 (patch)
tree0e5a03cd8bbdb0519eaec887655a3895deabd8c3 /meta/classes
parentbcf9c49f1595ff7349660a854871763b0f478057 (diff)
downloadpoky-81b5154aafc1fd941003fa066f4957d3e27a6b34.tar.gz
package.bbclass: fix typos
All typos were in comments but some of these comments end up in run/log files. The typos can be annoying when searching the log files so they're worth fixing with ispell. (From OE-Core rev: defffa3ba772d1643649591f6de96a4263570200) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 90e523693d..e7e93a067a 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -26,7 +26,7 @@
26# a list of affected files in FILER{PROVIDES,DEPENDS}FLIST_pkg 26# a list of affected files in FILER{PROVIDES,DEPENDS}FLIST_pkg
27# 27#
28# h) package_do_shlibs - Look at the shared libraries generated and autotmatically add any 28# h) package_do_shlibs - Look at the shared libraries generated and autotmatically add any
29# depenedencies found. Also stores the package name so anyone else using this library 29# dependencies found. Also stores the package name so anyone else using this library
30# knows which package to depend on. 30# knows which package to depend on.
31# 31#
32# i) package_do_pkgconfig - Keep track of which packages need and provide which .pc files 32# i) package_do_pkgconfig - Keep track of which packages need and provide which .pc files
@@ -401,7 +401,7 @@ def splitdebuginfo(file, debugfile, debugsrcdir, sourcefile, d):
401 return 0 401 return 0
402 402
403def copydebugsources(debugsrcdir, d): 403def copydebugsources(debugsrcdir, d):
404 # The debug src information written out to sourcefile is further procecessed 404 # The debug src information written out to sourcefile is further processed
405 # and copied to the destination here. 405 # and copied to the destination here.
406 406
407 import stat 407 import stat
@@ -650,7 +650,7 @@ python fixup_perms () {
650 # __str__ can be used to print out an entry in the input format 650 # __str__ can be used to print out an entry in the input format
651 # 651 #
652 # if fs_perms_entry.path is None: 652 # if fs_perms_entry.path is None:
653 # an error occured 653 # an error occurred
654 # if fs_perms_entry.link, you can retrieve: 654 # if fs_perms_entry.link, you can retrieve:
655 # fs_perms_entry.path = path 655 # fs_perms_entry.path = path
656 # fs_perms_entry.link = target of link 656 # fs_perms_entry.link = target of link
@@ -976,7 +976,7 @@ python split_and_strip_files () {
976 continue 976 continue
977 if not s: 977 if not s:
978 continue 978 continue
979 # Check its an excutable 979 # Check its an executable
980 if (s[stat.ST_MODE] & stat.S_IXUSR) or (s[stat.ST_MODE] & stat.S_IXGRP) or (s[stat.ST_MODE] & stat.S_IXOTH) \ 980 if (s[stat.ST_MODE] & stat.S_IXUSR) or (s[stat.ST_MODE] & stat.S_IXGRP) or (s[stat.ST_MODE] & stat.S_IXOTH) \
981 or ((file.startswith(libdir) or file.startswith(baselibdir)) and (".so" in f or ".node" in f)): 981 or ((file.startswith(libdir) or file.startswith(baselibdir)) and (".so" in f or ".node" in f)):
982 # If it's a symlink, and points to an ELF file, we capture the readlink target 982 # If it's a symlink, and points to an ELF file, we capture the readlink target
@@ -1004,7 +1004,7 @@ python split_and_strip_files () {
1004 # b) Only strip any hardlinked file once (no races) 1004 # b) Only strip any hardlinked file once (no races)
1005 # c) Track any hardlinks between files so that we can reconstruct matching debug file hardlinks 1005 # c) Track any hardlinks between files so that we can reconstruct matching debug file hardlinks
1006 1006
1007 # Use a reference of device ID and inode number to indentify files 1007 # Use a reference of device ID and inode number to identify files
1008 file_reference = "%d_%d" % (s.st_dev, s.st_ino) 1008 file_reference = "%d_%d" % (s.st_dev, s.st_ino)
1009 if file_reference in inodes: 1009 if file_reference in inodes:
1010 os.unlink(file) 1010 os.unlink(file)
@@ -1126,7 +1126,7 @@ python populate_packages () {
1126 d.setVar('FILES_%s' % src_package_name, '/usr/src/debug') 1126 d.setVar('FILES_%s' % src_package_name, '/usr/src/debug')
1127 1127
1128 # Sanity check PACKAGES for duplicates 1128 # Sanity check PACKAGES for duplicates
1129 # Sanity should be moved to sanity.bbclass once we have the infrastucture 1129 # Sanity should be moved to sanity.bbclass once we have the infrastructure
1130 package_list = [] 1130 package_list = []
1131 1131
1132 for pkg in packages.split(): 1132 for pkg in packages.split():