Fix some simple typos found while looking through the code.

Signed-off-by: Ulrich Ölmann <u.oelm...@pengutronix.de>
---
 meta/classes/buildhistory.bbclass | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta/classes/buildhistory.bbclass 
b/meta/classes/buildhistory.bbclass
index fd53e924021c..c3d049aea380 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -58,7 +58,7 @@ SSTATEPOSTUNPACKFUNCS:append = " buildhistory_emit_outputsigs"
 sstate_installpkgdir[vardepsexclude] += "buildhistory_emit_outputsigs"
 SSTATEPOSTUNPACKFUNCS[vardepvalueexclude] .= "| buildhistory_emit_outputsigs"
 
-# All items excepts those listed here will be removed from a recipe's
+# All items except those listed here will be removed from a recipe's
 # build history directory by buildhistory_emit_pkghistory(). This is
 # necessary because some of these items (package directories, files that
 # we no longer emit) might be obsolete.
@@ -153,7 +153,7 @@ python buildhistory_emit_pkghistory() {
             # Variables that need to be written to their own separate file
             self.filevars = dict.fromkeys(['pkg_preinst', 'pkg_postinst', 
'pkg_prerm', 'pkg_postrm'])
 
-    # Should check PACKAGES here to see if anything removed
+    # Should check PACKAGES here to see if anything was removed
 
     def readPackageInfo(pkg, histfile):
         pkginfo = PackageInfo(pkg)
@@ -535,7 +535,7 @@ buildhistory_get_installed() {
                grep -v kernel-module $1/depends-nokernel-nolibc-noupdate.dot > 
$1/depends-nokernel-nolibc-noupdate-nomodules.dot
        fi
 
-       # add complementary package information
+       # Add complementary package information
        if [ -e ${WORKDIR}/complementary_pkgs.txt ]; then
                cp ${WORKDIR}/complementary_pkgs.txt $1
        fi
@@ -573,7 +573,7 @@ buildhistory_get_sdk_installed_target() {
 
 buildhistory_list_files() {
        # List the files in the specified directory, but exclude date/time etc.
-       # This is somewhat messy, but handles where the size is not printed for 
device files under pseudo
+       # This is somewhat messy, but handles cases where the size is not 
printed for device files under pseudo
        ( cd $1
        find_cmd='find . ! -path . -printf "%M %-10u %-10g %10s %p -> %l\n"'
        if [ "$3" = "fakeroot" ] ; then
@@ -587,7 +587,7 @@ buildhistory_list_files_no_owners() {
        # List the files in the specified directory, but exclude date/time etc.
        # Also don't output the ownership data, but instead output just - - so
        # that the same parsing code as for _list_files works.
-       # This is somewhat messy, but handles where the size is not printed for 
device files under pseudo
+       # This is somewhat messy, but handles cases where the size is not 
printed for device files under pseudo
        ( cd $1
        find_cmd='find . ! -path . -printf "%M -          -          %10s %p -> 
%l\n"'
        if [ "$3" = "fakeroot" ] ; then
@@ -855,7 +855,7 @@ END
                CMDLINE="${@buildhistory_get_cmdline(d)}"
                if [ "$repostatus" != "" ] ; then
                        git add -A .
-                       # porcelain output looks like "?? packages/foo/bar"
+                       # Porcelain output looks like "?? packages/foo/bar"
                        # Ensure we commit metadata-revs with the first commit
                        buildhistory_single_commit "$CMDLINE" "$HOSTNAME" dummy
                        git gc --auto --quiet
@@ -990,7 +990,7 @@ def write_latest_ptest_result(d, histdir):
     output_ptest = os.path.join(histdir, 'ptest')
     if os.path.exists(input_ptest):
         try:
-            # Lock it avoid race issue
+            # Lock it to avoid race issue
             lock = bb.utils.lockfile(output_ptest + "/ptest.lock")
             bb.utils.mkdirhier(output_ptest)
             oe.path.copytree(input_ptest, output_ptest)
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#201491): 
https://lists.openembedded.org/g/openembedded-core/message/201491
Mute This Topic: https://lists.openembedded.org/mt/107020320/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to