From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Cc: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Subject: [PATCH 2/5] classes-recipe: fix trailing whitespace
Date: Thu, 13 Aug 2026 21:16:12 +0200 [thread overview]
Message-ID: <20260813191615.34122-3-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20260813191615.34122-1-jaipaul.cheernam@est.tech>
Fix trailing whitespace in classes-recipe bbclass files to resolve
bitbake parsing warnings.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/classes-recipe/core-image.bbclass | 2 +-
meta/classes-recipe/gobject-introspection.bbclass | 4 ++--
meta/classes-recipe/kernel-yocto.bbclass | 10 +++++-----
meta/classes-recipe/lib_package.bbclass | 2 +-
meta/classes-recipe/libc-package.bbclass | 6 +++---
meta/classes-recipe/mime-xdg.bbclass | 2 +-
| 4 ++--
meta/classes-recipe/populate_sdk_ext.bbclass | 2 +-
meta/classes-recipe/ptest-cargo.bbclass | 4 ++--
meta/classes-recipe/ptest-python-pytest.bbclass | 4 ++--
meta/classes-recipe/uboot-config.bbclass | 2 +-
11 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/meta/classes-recipe/core-image.bbclass b/meta/classes-recipe/core-image.bbclass
index 994185ed4c..167fa97fd9 100644
--- a/meta/classes-recipe/core-image.bbclass
+++ b/meta/classes-recipe/core-image.bbclass
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: MIT
# IMAGE_FEATURES control the content of the core reference images
-#
+#
# By default we install packagegroup-core-boot and packagegroup-base-extended packages;
# this gives us a working (console only) rootfs.
#
diff --git a/meta/classes-recipe/gobject-introspection.bbclass b/meta/classes-recipe/gobject-introspection.bbclass
index d0052cd623..3f6ccaa02e 100644
--- a/meta/classes-recipe/gobject-introspection.bbclass
+++ b/meta/classes-recipe/gobject-introspection.bbclass
@@ -57,8 +57,8 @@ do_compile:prepend() {
# .typelib files are needed at runtime and so they go to the main package (so
# they'll be together with libraries they support).
-FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib"
-
+FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib"
+
# .gir files go to dev package, as they're needed for developing (but not for
# running) things that depends on introspection.
FILES:${PN}-dev:append = " ${datadir}/gir-*/*.gir ${libdir}/gir-*/*.gir"
diff --git a/meta/classes-recipe/kernel-yocto.bbclass b/meta/classes-recipe/kernel-yocto.bbclass
index 5464aa1115..628823ff54 100644
--- a/meta/classes-recipe/kernel-yocto.bbclass
+++ b/meta/classes-recipe/kernel-yocto.bbclass
@@ -98,7 +98,7 @@ def get_machine_branch(d, default):
btype = urldata.parm.get("type")
if btype != "kmeta":
return branches[0]
-
+
return default
# returns a list of all directories that are on FILESEXTRAPATHS (and
@@ -425,11 +425,11 @@ do_kernel_checkout() {
# checkout and clobber any unimportant files
git checkout -f ${machine_branch}
else
- # case: we have no git repository at all.
- # To support low bandwidth options for building the kernel, we'll just
+ # case: we have no git repository at all.
+ # To support low bandwidth options for building the kernel, we'll just
# convert the tree to a git repo and let the rest of the process work unchanged
-
- # if ${S} hasn't been set to the proper subdirectory a default of "linux" is
+
+ # if ${S} hasn't been set to the proper subdirectory a default of "linux" is
# used, but we can't initialize that empty directory. So check it and throw a
# clear error
diff --git a/meta/classes-recipe/lib_package.bbclass b/meta/classes-recipe/lib_package.bbclass
index 2a944268c8..ef0b3c3e15 100644
--- a/meta/classes-recipe/lib_package.bbclass
+++ b/meta/classes-recipe/lib_package.bbclass
@@ -8,5 +8,5 @@
#
# We need to allow the other packages to be greedy with what they
# want out of /usr/bin and /usr/sbin before ${PN}-bin gets greedy.
-#
+#
PACKAGE_BEFORE_PN += "${PN}-bin"
diff --git a/meta/classes-recipe/libc-package.bbclass b/meta/classes-recipe/libc-package.bbclass
index 73b7f5a708..560e935069 100644
--- a/meta/classes-recipe/libc-package.bbclass
+++ b/meta/classes-recipe/libc-package.bbclass
@@ -68,7 +68,7 @@ do_prep_locale_tree() {
mkdir -p $treedir/${base_bindir} $treedir/${base_libdir} $treedir/${datadir} $treedir/${localedir}
tar -cf - -C ${LOCALETREESRC}${datadir} -p i18n | tar -xf - -C $treedir/${datadir}
# unzip to avoid parsing errors
- for i in $treedir/${datadir}/i18n/charmaps/*gz; do
+ for i in $treedir/${datadir}/i18n/charmaps/*gz; do
gunzip $i
done
# The extract pattern "./l*.so*" is carefully selected so that it will
@@ -283,8 +283,8 @@ python package_do_split_gconvs () {
cmd = "PATH=\"%s\" I18NPATH=\"%s\" GCONV_PATH=\"%s\" cross-localedef %s" % \
(path, i18npath, gconvpath, localedef_opts)
- else: # earlier slower qemu way
- qemu = qemu_target_binary(d)
+ else: # earlier slower qemu way
+ qemu = qemu_target_binary(d)
localedef_opts = "--force --no-hard-links --no-archive --prefix=%s \
--inputfile=%s/i18n/locales/%s --charmap=%s %s" \
% (treedir, datadir, locale, encoding, name)
diff --git a/meta/classes-recipe/mime-xdg.bbclass b/meta/classes-recipe/mime-xdg.bbclass
index cbdcb4c7e9..7786c2d544 100644
--- a/meta/classes-recipe/mime-xdg.bbclass
+++ b/meta/classes-recipe/mime-xdg.bbclass
@@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
#
-# This class creates mime <-> application associations based on entry
+# This class creates mime <-> application associations based on entry
# 'MimeType' in *.desktop files
#
--git a/meta/classes-recipe/multilib_header.bbclass b/meta/classes-recipe/multilib_header.bbclass
index 33f7e027f0..dd65fc02fa 100644
--- a/meta/classes-recipe/multilib_header.bbclass
+++ b/meta/classes-recipe/multilib_header.bbclass
@@ -24,9 +24,9 @@ oe_multilib_header() {
case ${TARGET_ARCH} in
mips*) case "${MIPSPKGSFX_ABI}" in
"-n32")
- ident=n32
+ ident=n32
;;
- *)
+ *)
ident=${SITEINFO_BITS}
;;
esac
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index b75c8926a7..a1188da969 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -121,7 +121,7 @@ python write_host_sdk_ext_manifest () {
f.write("%s %s %s\n" % (info[1], info[2], info[3]))
}
-SDK_POSTPROCESS_COMMAND:append:task-populate-sdk-ext = " write_target_sdk_ext_manifest write_host_sdk_ext_manifest"
+SDK_POSTPROCESS_COMMAND:append:task-populate-sdk-ext = " write_target_sdk_ext_manifest write_host_sdk_ext_manifest"
SDK_TITLE:task-populate-sdk-ext = "${@d.getVar('DISTRO_NAME') or d.getVar('DISTRO')} Extensible SDK"
diff --git a/meta/classes-recipe/ptest-cargo.bbclass b/meta/classes-recipe/ptest-cargo.bbclass
index 2e008b306a..62444e9cc6 100644
--- a/meta/classes-recipe/ptest-cargo.bbclass
+++ b/meta/classes-recipe/ptest-cargo.bbclass
@@ -107,7 +107,7 @@ python do_install_ptest_cargo() {
f.write("#!/bin/sh\n")
else:
f.write(f"\necho \"\"\n")
- f.write(f"echo \"## starting to run rust tests ##\"\n")
+ f.write(f"echo \"## starting to run rust tests ##\"\n")
f.write("if [ -z \"$rc\" ]; then rc=0; fi\n")
for test_path in test_paths:
script = textwrap.dedent(f"""\
@@ -120,7 +120,7 @@ python do_install_ptest_cargo() {
fi
""")
f.write(script)
-
+
f.write("exit $rc\n")
if not script_exists:
diff --git a/meta/classes-recipe/ptest-python-pytest.bbclass b/meta/classes-recipe/ptest-python-pytest.bbclass
index a4615e12bf..57dbcda7ab 100644
--- a/meta/classes-recipe/ptest-python-pytest.bbclass
+++ b/meta/classes-recipe/ptest-python-pytest.bbclass
@@ -12,10 +12,10 @@ PTEST_PYTEST_DIR ?= "tests"
do_install_ptest() {
# Check if the recipe provides its own version of run-ptest
- # If nothing exists in the SRC_URI, dynamically create a
+ # If nothing exists in the SRC_URI, dynamically create a
# run-test script of "last resort" that has the default
# pytest behavior.
- #
+ #
# Users can override this behavior by simply including a
# custom script (run-ptest) in the source file list
if [ ! -f "${UNPACKDIR}/run-ptest" ]; then
diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass
index 9e24db1f48..412b2c7c57 100644
--- a/meta/classes-recipe/uboot-config.bbclass
+++ b/meta/classes-recipe/uboot-config.bbclass
@@ -181,7 +181,7 @@ python () {
binary = ubootbinary
imagefstype = ""
for f, v in ubootconfigflags.items():
- if config == f:
+ if config == f:
found = True
items = v.split(',')
if items[0] and len(items) > 1:
next prev parent reply other threads:[~2026-08-13 19:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 19:16 [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Jaipaul Cheernam
2026-08-13 19:16 ` [PATCH 1/5] classes-global: fix trailing whitespace Jaipaul Cheernam
2026-08-13 19:16 ` Jaipaul Cheernam [this message]
2026-08-13 19:16 ` [PATCH 3/5] classes: " Jaipaul Cheernam
2026-08-13 19:16 ` [PATCH 4/5] conf: " Jaipaul Cheernam
2026-08-13 19:16 ` [PATCH 5/5] recipes: " Jaipaul Cheernam
2026-08-15 7:05 ` [OE-core] [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Mathieu Dubois-Briand
2026-08-15 9:45 ` Richard Purdie
2026-08-15 14:55 ` Jaipaul Cheernam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260813191615.34122-3-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox