* [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes
@ 2026-08-13 19:16 Jaipaul Cheernam
2026-08-13 19:16 ` [PATCH 1/5] classes-global: fix trailing whitespace Jaipaul Cheernam
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Jaipaul Cheernam @ 2026-08-13 19:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Jaipaul Cheernam
Fix all trailing whitespace warnings reported by bitbake during parsing.
These were flagged on the Yocto autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4405
53 files fixed across 5 patches, split by category:
- classes-global (7 files)
- classes-recipe (11 files)
- classes (2 files)
- conf (2 files)
- recipes (31 files)
Jaipaul Cheernam (5):
classes-global: fix trailing whitespace
classes-recipe: fix trailing whitespace
classes: fix trailing whitespace
conf: fix trailing whitespace
recipes: fix trailing whitespace
meta/classes-global/base.bbclass | 2 +-
meta/classes-global/buildstats.bbclass | 10 ++++----
meta/classes-global/debian.bbclass | 2 +-
meta/classes-global/devshell.bbclass | 2 +-
meta/classes-global/logging.bbclass | 4 ++--
meta/classes-global/packagedata.bbclass | 4 ++--
meta/classes-global/sanity.bbclass | 16 ++++++-------
meta/classes-recipe/core-image.bbclass | 2 +-
.../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 +-
meta/classes-recipe/multilib_header.bbclass | 4 ++--
meta/classes-recipe/populate_sdk_ext.bbclass | 2 +-
meta/classes-recipe/ptest-cargo.bbclass | 4 ++--
.../ptest-python-pytest.bbclass | 4 ++--
meta/classes-recipe/uboot-config.bbclass | 2 +-
meta/classes/image-buildinfo.bbclass | 2 +-
meta/classes/useradd.bbclass | 8 +++----
meta/conf/abi_version.conf | 4 ++--
meta/conf/templates/default/local.conf.sample | 2 +-
meta/recipes-connectivity/avahi/avahi_0.9.bb | 2 +-
.../base-files/base-files_3.0.14.bb | 2 +-
.../gettext/gettext-minimal-native_1.0.bb | 2 +-
meta/recipes-core/glibc/glibc-scripts.inc | 2 +-
.../initramfs-live-install_1.0.bb | 2 +-
.../nativesdk-packagegroup-sdk-host.bb | 2 +-
.../packagegroup-cross-canadian.bb | 2 +-
meta/recipes-devtools/apt/apt_3.0.3.bb | 2 +-
.../autoconf/autoconf_2.73.bb | 2 +-
.../bootchart2/bootchart2_0.14.9.bb | 24 +++++++++----------
.../gcc/gcc-configure-common.inc | 2 +-
.../gcc/gcc-multilib-config.inc | 2 +-
meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +-
.../opkg/opkg-arch-config_1.0.bb | 2 +-
meta/recipes-devtools/perl/perl_5.44.0.bb | 4 ++--
meta/recipes-devtools/pseudo/pseudo.inc | 6 ++---
meta/recipes-devtools/ruby/ruby_4.0.6.bb | 2 +-
.../iptables/iptables_1.8.13.bb | 2 +-
meta/recipes-extended/mc/mc_4.8.33.bb | 6 ++---
.../perl/libxml-sax-perl_1.02.bb | 2 +-
meta/recipes-extended/psmisc/psmisc_23.7.bb | 4 ++--
.../xorg-font/xorg-font-common.inc | 2 +-
.../xorg-lib/pixman_0.46.4.bb | 2 +-
.../kern-tools/kern-tools-native_git.bb | 2 +-
.../linux-libc-headers/linux-libc-headers.inc | 8 +++----
meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
.../lttng/lttng-tools_2.15.1.bb | 2 +-
meta/recipes-kernel/perf/perf.bb | 2 +-
meta/recipes-support/libcap/libcap_2.78.bb | 4 ++--
.../recipes-support/libssh2/libssh2_1.11.1.bb | 2 +-
.../recipes-support/numactl/numactl_2.0.19.bb | 2 +-
53 files changed, 101 insertions(+), 101 deletions(-)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/5] classes-global: fix trailing whitespace
2026-08-13 19:16 [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Jaipaul Cheernam
@ 2026-08-13 19:16 ` Jaipaul Cheernam
2026-08-13 19:16 ` [PATCH 2/5] classes-recipe: " Jaipaul Cheernam
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Jaipaul Cheernam @ 2026-08-13 19:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Jaipaul Cheernam
Fix trailing whitespace in classes-global bbclass files to resolve
bitbake parsing warnings.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/classes-global/base.bbclass | 2 +-
meta/classes-global/buildstats.bbclass | 10 +++++-----
meta/classes-global/debian.bbclass | 2 +-
meta/classes-global/devshell.bbclass | 2 +-
meta/classes-global/logging.bbclass | 4 ++--
meta/classes-global/packagedata.bbclass | 4 ++--
meta/classes-global/sanity.bbclass | 16 ++++++++--------
7 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index 5177179d57..5b4996a1e0 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -346,7 +346,7 @@ python base_eventhandler() {
#
# If we have multiple providers of virtual/X and a PREFERRED_PROVIDER_virtual/X is set
# skip parsing for all the other providers which will mean they get uninstalled from the
- # sysroot since they're now "unreachable". This makes switching virtual/kernel work in
+ # sysroot since they're now "unreachable". This makes switching virtual/kernel work in
# particular.
#
pn = d.getVar('PN')
diff --git a/meta/classes-global/buildstats.bbclass b/meta/classes-global/buildstats.bbclass
index fe64789e10..b97f2fd939 100644
--- a/meta/classes-global/buildstats.bbclass
+++ b/meta/classes-global/buildstats.bbclass
@@ -24,11 +24,11 @@ def get_process_cputime(pid):
import resource
with open("/proc/%d/stat" % pid, "r") as f:
fields = f.readline().rstrip().split()
- stats = {
+ stats = {
'utime' : fields[13],
- 'stime' : fields[14],
- 'cutime' : fields[15],
- 'cstime' : fields[16],
+ 'stime' : fields[14],
+ 'cutime' : fields[15],
+ 'cstime' : fields[16],
}
iostats = {}
if os.path.isfile("/proc/%d/io" % pid):
@@ -161,7 +161,7 @@ def write_host_data(logfile, e, d, type):
bb.warn("buildstats: Collecting host data failed. BB_HEARTBEAT_EVENT interval not enough to run the specified commands. Increase value of BB_HEARTBEAT_EVENT in conf/local.conf.")
return
- # set the environment variables
+ # set the environment variables
path = d.getVar("PATH")
opath = d.getVar("BB_ORIGENV", False).getVar("PATH")
ospath = os.environ['PATH']
diff --git a/meta/classes-global/debian.bbclass b/meta/classes-global/debian.bbclass
index e2a129d028..aa866f523d 100644
--- a/meta/classes-global/debian.bbclass
+++ b/meta/classes-global/debian.bbclass
@@ -127,7 +127,7 @@ python debian_package_name_hook () {
add_rprovides(orig_pkg, d)
# reversed sort is needed when some package is substring of another
- # ie in ncurses we get without reverse sort:
+ # ie in ncurses we get without reverse sort:
# DEBUG: LIBNAMES: pkgname libtic5 devname libtic pkg ncurses-libtic orig_pkg ncurses-libtic debian_pn None newpkg libtic5
# and later
# DEBUG: LIBNAMES: pkgname libtic5 devname libtic pkg ncurses-libticw orig_pkg ncurses-libtic debian_pn None newpkg libticw
diff --git a/meta/classes-global/devshell.bbclass b/meta/classes-global/devshell.bbclass
index 4c23049cf0..1c9eb25696 100644
--- a/meta/classes-global/devshell.bbclass
+++ b/meta/classes-global/devshell.bbclass
@@ -39,7 +39,7 @@ python () {
# can't manipulate the environment and variables here yet (see YOCTO #4795)
d.setVarFlag("do_devshell", "manualfakeroot", "1")
d.delVarFlag("do_devshell", "fakeroot")
-}
+}
def pydevshell(d):
diff --git a/meta/classes-global/logging.bbclass b/meta/classes-global/logging.bbclass
index 136f1e1733..d5ff58fa2f 100644
--- a/meta/classes-global/logging.bbclass
+++ b/meta/classes-global/logging.bbclass
@@ -22,7 +22,7 @@ bbplain() {
fi
}
-# Notify the user of a noteworthy condition.
+# Notify the user of a noteworthy condition.
# Output: logs
bbnote() {
if [ -p ${LOGFIFO} ] ; then
@@ -99,7 +99,7 @@ bbdebug() {
if [ $# -lt 2 ]; then
bbfatal "$USAGE"
fi
-
+
# Strip off the debug level and ensure it is an integer
DBGLVL=$1; shift
NONDIGITS=$(echo "$DBGLVL" | tr -d "[:digit:]")
diff --git a/meta/classes-global/packagedata.bbclass b/meta/classes-global/packagedata.bbclass
index 9f72c01d77..748cbe18bf 100644
--- a/meta/classes-global/packagedata.bbclass
+++ b/meta/classes-global/packagedata.bbclass
@@ -8,8 +8,8 @@ python read_subpackage_metadata () {
import oe.packagedata
vars = {
- "PN" : d.getVar('PN'),
- "PE" : d.getVar('PE'),
+ "PN" : d.getVar('PN'),
+ "PE" : d.getVar('PE'),
"PV" : d.getVar('PV'),
"PR" : d.getVar('PR'),
}
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass
index 9514e7d218..05906d0db2 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -11,7 +11,7 @@
SANITY_REQUIRED_UTILITIES ?= "patch diffstat git bzip2 tar \
gzip gawk chrpath wget cpio perl file which"
-# Functions added to this variable MUST throw a NotImplementedError exception unless
+# Functions added to this variable MUST throw a NotImplementedError exception unless
# they successfully changed the config version in the config file. Exceptions
# are used since exec_func doesn't handle return values.
BBLAYERS_CONF_UPDATE_FUNCS += " \
@@ -28,13 +28,13 @@ python oecore_update_localconf() {
current_conf = d.getVar('CONF_VERSION')
conf_version = d.getVar('LOCALCONF_VERSION')
- failmsg = """Your version of local.conf was generated from an older/newer version of
-local.conf.sample and there have been updates made to this file. Please compare the two
+ failmsg = """Your version of local.conf was generated from an older/newer version of
+local.conf.sample and there have been updates made to this file. Please compare the two
files and merge any changes before continuing.
Matching the version numbers will remove this message.
-\"${SANITY_DIFF_TOOL} conf/local.conf ${SANITY_LOCALCONF_SAMPLE}\"
+\"${SANITY_DIFF_TOOL} conf/local.conf ${SANITY_LOCALCONF_SAMPLE}\"
is a good way to visualise the changes."""
failmsg = d.expand(failmsg)
@@ -48,13 +48,13 @@ python oecore_update_siteconf() {
current_sconf = d.getVar('SCONF_VERSION')
sconf_version = d.getVar('SITE_CONF_VERSION')
- failmsg = """Your version of site.conf was generated from an older version of
-site.conf.sample and there have been updates made to this file. Please compare the two
+ failmsg = """Your version of site.conf was generated from an older version of
+site.conf.sample and there have been updates made to this file. Please compare the two
files and merge any changes before continuing.
Matching the version numbers will remove this message.
-\"${SANITY_DIFF_TOOL} conf/site.conf ${SANITY_SITECONF_SAMPLE}\"
+\"${SANITY_DIFF_TOOL} conf/site.conf ${SANITY_SITECONF_SAMPLE}\"
is a good way to visualise the changes."""
failmsg = d.expand(failmsg)
@@ -71,7 +71,7 @@ python oecore_update_bblayers() {
failmsg = """Your version of bblayers.conf has the wrong LCONF_VERSION (has ${LCONF_VERSION}, expecting ${LAYER_CONF_VERSION}).
Please compare your file against bblayers.conf.sample and merge any changes before continuing.
-"${SANITY_DIFF_TOOL} conf/bblayers.conf ${SANITY_BBLAYERCONF_SAMPLE}"
+"${SANITY_DIFF_TOOL} conf/bblayers.conf ${SANITY_BBLAYERCONF_SAMPLE}"
is a good way to visualise the changes."""
failmsg = d.expand(failmsg)
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/5] classes-recipe: fix trailing whitespace
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
2026-08-13 19:16 ` [PATCH 3/5] classes: " Jaipaul Cheernam
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Jaipaul Cheernam @ 2026-08-13 19:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Jaipaul Cheernam
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:
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/5] classes: fix trailing whitespace
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 ` [PATCH 2/5] classes-recipe: " Jaipaul Cheernam
@ 2026-08-13 19:16 ` Jaipaul Cheernam
2026-08-13 19:16 ` [PATCH 4/5] conf: " Jaipaul Cheernam
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Jaipaul Cheernam @ 2026-08-13 19:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Jaipaul Cheernam
Fix trailing whitespace in classes bbclass files to resolve
bitbake parsing warnings.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/classes/image-buildinfo.bbclass | 2 +-
meta/classes/useradd.bbclass | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/classes/image-buildinfo.bbclass b/meta/classes/image-buildinfo.bbclass
index b83ce650ad..01636dac65 100644
--- a/meta/classes/image-buildinfo.bbclass
+++ b/meta/classes/image-buildinfo.bbclass
@@ -9,7 +9,7 @@
# Usage: add INHERIT += "image-buildinfo" to your conf file
#
-# Desired variables to display
+# Desired variables to display
IMAGE_BUILDINFO_VARS ?= "DISTRO DISTRO_VERSION"
# Desired location of the output file in the image.
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index e9e835e1a2..aafd996fae 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -68,7 +68,7 @@ if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then
opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'`
remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'`
done
-fi
+fi
if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then
echo "Running useradd commands..."
@@ -132,8 +132,8 @@ usermod_sysroot() {
}
common_useradd_sysroot() {
- # Pseudo may (do_prepare_recipe_sysroot) or may not (do_populate_sysroot_setscene) be running
- # at this point so we're explicit about the environment so pseudo can load if
+ # Pseudo may (do_prepare_recipe_sysroot) or may not (do_populate_sysroot_setscene) be running
+ # at this point so we're explicit about the environment so pseudo can load if
# not already present.
# PSEUDO_SYSROOT can contain references to the build architecture and COMPONENT_DIR
# so needs the STAGING_FIXME below
@@ -247,7 +247,7 @@ python __anonymous() {
# (groupadd|useradd|usermod) parameters for all USERADD_PACKAGES in this recipe
def get_all_cmd_params(d, cmd_type):
import string
-
+
param_type = cmd_type.upper() + "_PARAM:%s"
params = []
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/5] conf: fix trailing whitespace
2026-08-13 19:16 [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Jaipaul Cheernam
` (2 preceding siblings ...)
2026-08-13 19:16 ` [PATCH 3/5] classes: " Jaipaul Cheernam
@ 2026-08-13 19:16 ` 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
5 siblings, 0 replies; 8+ messages in thread
From: Jaipaul Cheernam @ 2026-08-13 19:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Jaipaul Cheernam
Fix trailing whitespace in conf files and local.conf.sample template
to resolve bitbake parsing warnings.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/conf/abi_version.conf | 4 ++--
meta/conf/templates/default/local.conf.sample | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/conf/abi_version.conf b/meta/conf/abi_version.conf
index ac97752c97..3488363a6a 100644
--- a/meta/conf/abi_version.conf
+++ b/meta/conf/abi_version.conf
@@ -1,7 +1,7 @@
#
-# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
+# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
# an incompatible way. Such changes should usually be detailed in the commit
-# that breaks the format and have been previously discussed on the mailing list
+# that breaks the format and have been previously discussed on the mailing list
# with general agreement from the core team.
#
OELAYOUT_ABI = "15"
diff --git a/meta/conf/templates/default/local.conf.sample b/meta/conf/templates/default/local.conf.sample
index 2b837806b1..935699929c 100644
--- a/meta/conf/templates/default/local.conf.sample
+++ b/meta/conf/templates/default/local.conf.sample
@@ -220,7 +220,7 @@ BB_DISKMON_DIRS ??= "\
#
# By default native qemu will build with a builtin VNC server and a SDL UI frontend
# where graphical output can be seen.
-# By default libsdl2-native will be built, if you want to use your host's libSDL instead of
+# By default libsdl2-native will be built, if you want to use your host's libSDL instead of
# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
#ASSUME_PROVIDED += "libsdl2-native"
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 5/5] recipes: fix trailing whitespace
2026-08-13 19:16 [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Jaipaul Cheernam
` (3 preceding siblings ...)
2026-08-13 19:16 ` [PATCH 4/5] conf: " Jaipaul Cheernam
@ 2026-08-13 19:16 ` Jaipaul Cheernam
2026-08-15 7:05 ` [OE-core] [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Mathieu Dubois-Briand
5 siblings, 0 replies; 8+ messages in thread
From: Jaipaul Cheernam @ 2026-08-13 19:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Jaipaul Cheernam
Fix trailing whitespace in recipe files to resolve bitbake parsing
warnings.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/recipes-connectivity/avahi/avahi_0.9.bb | 2 +-
.../base-files/base-files_3.0.14.bb | 2 +-
.../gettext/gettext-minimal-native_1.0.bb | 2 +-
meta/recipes-core/glibc/glibc-scripts.inc | 2 +-
.../initramfs-live-install_1.0.bb | 2 +-
.../nativesdk-packagegroup-sdk-host.bb | 2 +-
.../packagegroup-cross-canadian.bb | 2 +-
meta/recipes-devtools/apt/apt_3.0.3.bb | 2 +-
.../autoconf/autoconf_2.73.bb | 2 +-
.../bootchart2/bootchart2_0.14.9.bb | 24 +++++++++----------
.../gcc/gcc-configure-common.inc | 2 +-
.../gcc/gcc-multilib-config.inc | 2 +-
meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +-
.../opkg/opkg-arch-config_1.0.bb | 2 +-
meta/recipes-devtools/perl/perl_5.44.0.bb | 4 ++--
meta/recipes-devtools/pseudo/pseudo.inc | 6 ++---
meta/recipes-devtools/ruby/ruby_4.0.6.bb | 2 +-
.../iptables/iptables_1.8.13.bb | 2 +-
meta/recipes-extended/mc/mc_4.8.33.bb | 6 ++---
.../perl/libxml-sax-perl_1.02.bb | 2 +-
meta/recipes-extended/psmisc/psmisc_23.7.bb | 4 ++--
.../xorg-font/xorg-font-common.inc | 2 +-
.../xorg-lib/pixman_0.46.4.bb | 2 +-
.../kern-tools/kern-tools-native_git.bb | 2 +-
| 8 +++----
meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
.../lttng/lttng-tools_2.15.1.bb | 2 +-
meta/recipes-kernel/perf/perf.bb | 2 +-
meta/recipes-support/libcap/libcap_2.78.bb | 4 ++--
.../recipes-support/libssh2/libssh2_1.11.1.bb | 2 +-
.../recipes-support/numactl/numactl_2.0.19.bb | 2 +-
31 files changed, 52 insertions(+), 52 deletions(-)
diff --git a/meta/recipes-connectivity/avahi/avahi_0.9.bb b/meta/recipes-connectivity/avahi/avahi_0.9.bb
index 7cf0eb2b71..15189d0906 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.9.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.9.bb
@@ -184,7 +184,7 @@ do_install:append() {
sed -i -e 's,@sbindir@,${sbindir},g' -e 's,@sysconfdir@,${sysconfdir},g' ${D}${sysconfdir}/init.d/avahi-*
}
-# At the time the postinst runs, dbus might not be setup so only restart if running
+# At the time the postinst runs, dbus might not be setup so only restart if running
# Don't exit early, because update-rc.d needs to run subsequently.
pkg_postinst:avahi-daemon () {
if [ -z "$D" ]; then
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 332c094eee..df7ba4e4bc 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "The base-files package creates the basic system directory structu
SECTION = "base"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
-# Removed all license related tasks in this recipe as license.bbclass
+# Removed all license related tasks in this recipe as license.bbclass
# now deals with this. In order to get accurate licensing on to the image:
# Set COPY_LIC_MANIFEST to just copy just the license.manifest to the image
# For the manifest and the license text for each package:
diff --git a/meta/recipes-core/gettext/gettext-minimal-native_1.0.bb b/meta/recipes-core/gettext/gettext-minimal-native_1.0.bb
index c0cd701ab1..2b4af91581 100644
--- a/meta/recipes-core/gettext/gettext-minimal-native_1.0.bb
+++ b/meta/recipes-core/gettext/gettext-minimal-native_1.0.bb
@@ -45,5 +45,5 @@ do_install () {
cp ${S}/gettext-runtime/po/remove-potcdate.sed ${D}${datadir}/gettext/po/
# The gettext recipe also installs the same Makevars.template at the same place, rename it
# cp ${S}/gettext-tools/po/Makevars.template ${D}${datadir}/gettext/po/Makevars.template.minimal
- cp ${S}/gettext-tools/wizard/po-templates/traditional/Makevars.template ${D}${datadir}/gettext/po/Makevars.template.minimal
+ cp ${S}/gettext-tools/wizard/po-templates/traditional/Makevars.template ${D}${datadir}/gettext/po/Makevars.template.minimal
}
diff --git a/meta/recipes-core/glibc/glibc-scripts.inc b/meta/recipes-core/glibc/glibc-scripts.inc
index 47216ae7d7..cdf4dce928 100644
--- a/meta/recipes-core/glibc/glibc-scripts.inc
+++ b/meta/recipes-core/glibc/glibc-scripts.inc
@@ -15,7 +15,7 @@ do_install() {
done
}
-# sotruss script requires sotruss-lib.so (given by libsotruss package),
+# sotruss script requires sotruss-lib.so (given by libsotruss package),
# to produce trace of the library calls.
RDEPENDS:${PN} += "libsotruss"
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
index 791bd57171..95136c54ec 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
@@ -12,7 +12,7 @@ do_install() {
install -m 0755 ${S}/init-install.sh ${D}/install.sh
}
-# While this package maybe an allarch due to it being a
+# While this package maybe an allarch due to it being a
# simple script, reality is that it is Host specific based
# on the COMPATIBLE_HOST below, which needs to take precedence
#inherit allarch
diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index 51e48f250b..d0dffb5815 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -9,7 +9,7 @@ inherit_defer nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
-# autoconf pulls in nativesdk-perl but perl-module-integer is needed to
+# autoconf pulls in nativesdk-perl but perl-module-integer is needed to
# build some recent linux kernels (5.14+) for arm
RDEPENDS:${PN} = "\
nativesdk-pkgconfig \
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index 4b0499b1b9..b87721a4bc 100644
--- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
@@ -17,7 +17,7 @@ RDEPENDS:${PN} = "\
meta-environment-${MACHINE} \
"
-# When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated),
+# When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated),
# cross-canadian.bbclass prevents variable dependency propagation to TRANSLATED_TARGET_ARCH
# This will result in erroneous reuse of previous sstate packages. The following line
# establishes a direct dependency instead.
diff --git a/meta/recipes-devtools/apt/apt_3.0.3.bb b/meta/recipes-devtools/apt/apt_3.0.3.bb
index 08b6bac2e4..5241626e05 100644
--- a/meta/recipes-devtools/apt/apt_3.0.3.bb
+++ b/meta/recipes-devtools/apt/apt_3.0.3.bb
@@ -55,7 +55,7 @@ EXTRA_OECMAKE:append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
"
PACKAGECONFIG ??= ""
-# usrmerge displays a runtime warning during package installation in case
+# usrmerge displays a runtime warning during package installation in case
# the system doesn't have merged /usr folders.
PACKAGECONFIG[usrmerge] = "-DREQUIRE_MERGED_USR=ON,-DREQUIRE_MERGED_USR=OFF"
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.73.bb b/meta/recipes-devtools/autoconf/autoconf_2.73.bb
index 15baa47e63..227fd043cc 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.73.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.73.bb
@@ -1,5 +1,5 @@
SUMMARY = "A GNU tool that produce shell scripts to automatically configure software"
-DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
+DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
configure software source code packages. Autoconf creates a configuration script for a package from a template \
file that lists the operating system features that the package can use, in the form of M4 macro calls."
LICENSE = "GPL-3.0-or-later"
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
index c03bee4c1f..05226030eb 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
@@ -1,20 +1,20 @@
# Copyright (c) 2013 LG Electronics, Inc.
# Copyright (C) 2014 Intel Corp.
-# This recipe creates packages for the bootchart2 system-wide profiler daemon
+# This recipe creates packages for the bootchart2 system-wide profiler daemon
# and related utilities. Depending on the images you're building, additional
# configuration may be needed in order to use it.
#
# Packages:
# * bootchart2 - The daemon itself.
# * pybootchartgui - Python program to visualize and display the data
-# collected by bootchart2 or compatible daemons such as the original
+# collected by bootchart2 or compatible daemons such as the original
# bootchart.
# * bootchartd-stop-initscript - A SysV init script to stop data collection
# when booting completes (see below for details.)
#
-# While bootchart2 is designed to stop collecting data roughly when the boot
-# process completes, it is not exactly a stopwatch. It has a list of programs
+# While bootchart2 is designed to stop collecting data roughly when the boot
+# process completes, it is not exactly a stopwatch. It has a list of programs
# which are supposed signify that the boot process has completed (for example,
# openbox or gnome-shell,) but it waits a full 20 seconds after such a program
# is launched before stopping itself, to collect additional data.
@@ -30,22 +30,22 @@
# You might set this command to be launched by the desktop environment shipped
# on the image you're building after the other startup programs are complete.
# This will not incur the 20 second wait period and will cause bootchart2 to
-# behave a bit more like a stopwatch. An example of this is shown in this
+# behave a bit more like a stopwatch. An example of this is shown in this
# recipe, specifically the bootchartd-stop-initscript package, which stops data
# collection as the last action when switching to runlevels 2 through 5. You can
# add bootchartd-stop-initscript to IMAGE_INSTALL if you need to use it.
#
-# Unless you're doing something special, if your image does not launch an X
+# Unless you're doing something special, if your image does not launch an X
# window manager, you will need to add bootchartd-stop-initscript to your image.
#
# Bootchart2 can be started in two ways. Data collection can be initiated by
# running the following command:
# bootchartd start
# However, for the most complete data, the bootchart2 developers recommend
-# running it as PID 1. This can be done by adding the following to the kernel
+# running it as PID 1. This can be done by adding the following to the kernel
# command line parameters in the bootloader setup:
# init=/sbin/bootchartd
-# When invoked this way, bootchart2 will set itself up and then automatically
+# When invoked this way, bootchart2 will set itself up and then automatically
# run /sbin/init. For example, when booting the default qemux86 image, one might
# use a command like this:
# runqemu qemux86 bootparams="initcall_debug printk.time=y quiet \
@@ -54,10 +54,10 @@
# Neither method is actually implemented here, choose what works for you.
#
# If you are building your image with systemd instead of SysV init, bootchart2
-# includes systemd service files to begin collection automatically at boot and
+# includes systemd service files to begin collection automatically at boot and
# end collection automatically 20 seconds after the boot process has completed.
# However, be aware that systemd tends to start bootchart2 relatively late into
-# the boot process, so it's highly recommended to use bootchart2 as PID 1. If
+# the boot process, so it's highly recommended to use bootchart2 as PID 1. If
# you're using systemd and you wish to use another method to stop data
# collection at a time of your choosing, you may do so as long as you get to it
# before the 20 second timeout of the systemd service files. Also, you may write
@@ -76,8 +76,8 @@
# and find pybootchartgui in the native sysroot:
# bitbake bootchart2-native
# ./tmp/sysroots/x86_64-linux/usr/bin/pybootchartgui /path/to/bootchart.tgz
-# Note that, whether installed on your build system or on your image, the
-# pybootchartgui provided by this recipe does not support the -i option. You
+# Note that, whether installed on your build system or on your image, the
+# pybootchartgui provided by this recipe does not support the -i option. You
# will need to install pybootchartgui by other means in order to run it in
# interactive mode.
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index f152ae5555..ff98f828e5 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -42,7 +42,7 @@ EXTRA_OECONF = "\
${@get_gcc_multiarch_setting(bb, d)} \
"
-# glibc version is a minimum controlling whether features are enabled.
+# glibc version is a minimum controlling whether features are enabled.
# Doesn't need to track glibc exactly
EXTRA_OECONF:append:libc-glibc = " --with-glibc-version=2.28 "
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
index 2afd8f6f2a..cafc64971d 100644
--- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc
+++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
@@ -14,7 +14,7 @@
# gcc/config/mips/linux64.h
# gcc/config/rs6000/linux64.h
-MULTILIB_OPTION_WHITELIST ??= "-m32 -m64 -mx32 -mabi=n32 -mabi=32 -mabi=64"
+MULTILIB_OPTION_WHITELIST ??= "-m32 -m64 -mx32 -mabi=n32 -mabi=32 -mabi=64"
python gcc_multilib_setup() {
import re
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 9e65ee5bcf..626bf955f8 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -102,7 +102,7 @@ do_install () {
install -d ${D}${datadir}/gdb/auto-load/${libdir}
mv ${D}${libdir}/libstdc++*-gdb.py ${D}${datadir}/gdb/auto-load/${libdir}
if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then
- install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include
+ install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include
mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include
rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include
fi
diff --git a/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
index 9e9e70209e..4034a6ddec 100644
--- a/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
+++ b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
@@ -13,7 +13,7 @@ do_compile() {
rm -f $archconf
ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}"
priority=1
- for arch in $ipkgarchs; do
+ for arch in $ipkgarchs; do
echo "arch $arch $priority" >> $archconf
priority=$(expr $priority + 5)
done
diff --git a/meta/recipes-devtools/perl/perl_5.44.0.bb b/meta/recipes-devtools/perl/perl_5.44.0.bb
index ef76df7e0f..2c2e075578 100644
--- a/meta/recipes-devtools/perl/perl_5.44.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.44.0.bb
@@ -310,8 +310,8 @@ PACKAGES += "${PN}-pod"
FILES:${PN}-pod = "${libdir}/perl5/${PV}/pod \
${libdir}/perl5/${PV}/*.pod \
${libdir}/perl5/${PV}/*/*.pod \
- ${libdir}/perl5/${PV}/*/*/*.pod \
- ${libdir}/perl5/${PV}/*/*/*/*.pod \
+ ${libdir}/perl5/${PV}/*/*/*.pod \
+ ${libdir}/perl5/${PV}/*/*/*/*.pod \
"
PACKAGES += "${PN}-module-cpan ${PN}-module-unicore"
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 836e910fae..ba946ef9c9 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -77,7 +77,7 @@ warn_32bit_missing() {
}
# Two below are the same
-# If necessary compile for the alternative machine arch. This is only
+# If necessary compile for the alternative machine arch. This is only
# necessary in a native build.
do_compile:prepend:class-native () {
maybe_make32
@@ -96,7 +96,7 @@ do_compile:prepend:class-native () {
oe_runmake ${MAKEOPTS} libpseudo
eval "$save_traps"
# prevent it from removing the lib, but remove everything else
- make 'LIB=foo' ${MAKEOPTS} distclean
+ make 'LIB=foo' ${MAKEOPTS} distclean
fi
}
@@ -108,7 +108,7 @@ do_compile:prepend:class-nativesdk () {
./configure ${PSEUDO_EXTRA_OPTS} --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite-lib=${baselib} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 --without-rpath
oe_runmake ${MAKEOPTS} libpseudo
# prevent it from removing the lib, but remove everything else
- make 'LIB=foo' ${MAKEOPTS} distclean
+ make 'LIB=foo' ${MAKEOPTS} distclean
fi
}
diff --git a/meta/recipes-devtools/ruby/ruby_4.0.6.bb b/meta/recipes-devtools/ruby/ruby_4.0.6.bb
index a6fb0d0e09..d2a81a0ba5 100644
--- a/meta/recipes-devtools/ruby/ruby_4.0.6.bb
+++ b/meta/recipes-devtools/ruby/ruby_4.0.6.bb
@@ -115,7 +115,7 @@ do_install_ptest () {
cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/
mkdir -p ${D}${PTEST_PATH}/lib
cp -r ${S}/lib/did_you_mean ${D}${PTEST_PATH}/lib
- cp ${D}${libdir}/ruby/${SHRT_VER}.0/did_you_mean.rb ${D}${PTEST_PATH}/lib
+ cp ${D}${libdir}/ruby/${SHRT_VER}.0/did_you_mean.rb ${D}${PTEST_PATH}/lib
# install test-binaries
# These .so files have sporadic reproducibility fails as seen here:
diff --git a/meta/recipes-extended/iptables/iptables_1.8.13.bb b/meta/recipes-extended/iptables/iptables_1.8.13.bb
index 11b287ed3b..f2a4f402ae 100644
--- a/meta/recipes-extended/iptables/iptables_1.8.13.bb
+++ b/meta/recipes-extended/iptables/iptables_1.8.13.bb
@@ -71,7 +71,7 @@ do_install:append() {
# if libnftnl is included, make the iptables symlink point to the nft-based binary by default
if ${@bb.utils.contains('PACKAGECONFIG', 'libnftnl', 'true', 'false', d)} ; then
- ln -sf ${sbindir}/xtables-nft-multi ${D}${sbindir}/iptables
+ ln -sf ${sbindir}/xtables-nft-multi ${D}${sbindir}/iptables
ln -sf ${sbindir}/xtables-nft-multi ${D}${sbindir}/iptables-save
ln -sf ${sbindir}/xtables-nft-multi ${D}${sbindir}/iptables-restore
# ethertypes is provided by the netbase package
diff --git a/meta/recipes-extended/mc/mc_4.8.33.bb b/meta/recipes-extended/mc/mc_4.8.33.bb
index fd18edf7be..0682ae4bb6 100644
--- a/meta/recipes-extended/mc/mc_4.8.33.bb
+++ b/meta/recipes-extended/mc/mc_4.8.33.bb
@@ -37,7 +37,7 @@ CACHED_CONFIGUREVARS += "mc_cv_have_zipinfo=yes"
do_install:append () {
sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/*
-
+
rm ${D}${libexecdir}/mc/extfs.d/s3+ ${D}${libexecdir}/mc/extfs.d/uc1541
}
@@ -47,8 +47,8 @@ SUMMARY:${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts"
FILES:${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \
${libexecdir}/mc/extfs.d/deb ${libexecdir}/mc/extfs.d/deba \
${libexecdir}/mc/extfs.d/debd ${libexecdir}/mc/extfs.d/dpkg+ \
- ${libexecdir}/mc/extfs.d/mailfs ${libexecdir}/mc/extfs.d/patchfs \
- ${libexecdir}/mc/extfs.d/rpms+ ${libexecdir}/mc/extfs.d/ulib \
+ ${libexecdir}/mc/extfs.d/mailfs ${libexecdir}/mc/extfs.d/patchfs \
+ ${libexecdir}/mc/extfs.d/rpms+ ${libexecdir}/mc/extfs.d/ulib \
${libexecdir}/mc/extfs.d/uzip"
RDEPENDS:${BPN}-helpers-perl = "perl"
diff --git a/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb b/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb
index 167591145c..51baf12f8d 100644
--- a/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb
+++ b/meta/recipes-extended/perl/libxml-sax-perl_1.02.bb
@@ -1,7 +1,7 @@
SUMMARY = "Perl module for using and building Perl SAX2 XML processors"
HOMEPAGE = "https://metacpan.org/dist/XML-SAX"
DESCRIPTION = "XML::SAX consists of several framework classes for using and \
-building Perl SAX2 XML parsers, filters, and drivers. It is designed \
+building Perl SAX2 XML parsers, filters, and drivers. It is designed \
around the need to be able to "plug in" different SAX parsers to an \
application without requiring programmer intervention. Those of you \
familiar with the DBI will be right at home. Some of the designs \
diff --git a/meta/recipes-extended/psmisc/psmisc_23.7.bb b/meta/recipes-extended/psmisc/psmisc_23.7.bb
index 44f8530977..ad57c49ffe 100644
--- a/meta/recipes-extended/psmisc/psmisc_23.7.bb
+++ b/meta/recipes-extended/psmisc/psmisc_23.7.bb
@@ -18,8 +18,8 @@ SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c"
inherit autotools gettext
-# Upstream has a custom autogen.sh which invokes po/update-potfiles as they
-# don't ship a po/POTFILES.in (which is silly). Without that file gettext
+# Upstream has a custom autogen.sh which invokes po/update-potfiles as they
+# don't ship a po/POTFILES.in (which is silly). Without that file gettext
# doesn't believe po/ is a gettext directory and won't generate po/Makefile.
do_configure:prepend() {
( cd ${S} && po/update-potfiles )
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
index a11b8e8ab2..ae70a3db8a 100644
--- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc
+++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
@@ -24,7 +24,7 @@ do_install:append() {
find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f
find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f
find ${D}${datadir}/fonts/X11 -type f -name fonts.dir | xargs rm -f
- find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f
+ find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f
}
FILES:${PN} += " ${libdir}/X11/fonts ${datadir}"
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb b/meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb
index d86aa78b9a..06da15bcfa 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb
@@ -26,7 +26,7 @@ inherit meson pkgconfig
# These are for the tests and demos, which we don't install
EXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled"
# ld: pixman/libpixman-mmx.a(pixman-mmx.c.o):
-# linking mips:loongson_2f module with previous mips:isa64 modules
+# linking mips:loongson_2f module with previous mips:isa64 modules
EXTRA_OEMESON += "-Dloongson-mmi=disabled"
EXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index cb09800535..ce4730fc78 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -22,7 +22,7 @@ do_configure() {
:
}
-do_compile() {
+do_compile() {
:
}
--git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index c93966e370..eeb42b24cc 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -5,14 +5,14 @@ SECTION = "devel"
LICENSE = "GPL-2.0-only"
#########################################################################
-#### PLEASE READ
+#### PLEASE READ
#########################################################################
#
# You're probably looking here thinking you need to create some new copy
-# of linux-libc-headers since you have your own custom kernel. To put
+# of linux-libc-headers since you have your own custom kernel. To put
# this simply, you DO NOT.
#
-# Why? These headers are used to build the libc. If you customise the
+# Why? These headers are used to build the libc. If you customise the
# headers you are customising the libc and the libc becomes machine
# specific. Most people do not add custom libc extensions to the kernel
# and have a machine specific libc.
@@ -27,7 +27,7 @@ LICENSE = "GPL-2.0-only"
#
# There can also be a case where your kernel extremely old and you want
# an older libc ABI for that old kernel. The headers installed by this
-# recipe should still be a standard mainline kernel, not your own custom
+# recipe should still be a standard mainline kernel, not your own custom
# one.
#
# -- RP
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index ca1a08cba3..a684ee8648 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -131,7 +131,7 @@ do_install() {
rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd
rm -f $kerneldir/build/include/generated/.compat_vdso-offsets.h.cmd
rm -f $kerneldir/build/include/generated/.vdso32-offsets.h.cmd
- rm -f $kerneldir/build/include/generated/.vdso64-offsets.h.cmd
+ rm -f $kerneldir/build/include/generated/.vdso64-offsets.h.cmd
)
# now grab the chunks from the source tree that we need
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb b/meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb
index 4623e114ba..040632d671 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb
@@ -73,7 +73,7 @@ FILES:${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng \
FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
-# Since files are installed into ${libdir}/lttng/libexec we match
+# Since files are installed into ${libdir}/lttng/libexec we match
# the libexec insane test so skip it.
# Python module needs to keep _lttng.so
INSANE_SKIP:${PN} = "libexec dev-so"
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 25852f8a22..b9f26e051b 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -445,4 +445,4 @@ perf_fix_sources () {
# Rust in kernel support pulls in clang-native, which satisfies the
# BUILD_BPF_SKEL dependency checks and causes perf to attempt
# building bpftool, resulting in a build failure.
-PACKAGECONFIG[bpf-skel] = ",BUILD_BPF_SKEL=0"
+PACKAGECONFIG[bpf-skel] = ",BUILD_BPF_SKEL=0"
diff --git a/meta/recipes-support/libcap/libcap_2.78.bb b/meta/recipes-support/libcap/libcap_2.78.bb
index d804e94244..e31fab39c4 100644
--- a/meta/recipes-support/libcap/libcap_2.78.bb
+++ b/meta/recipes-support/libcap/libcap_2.78.bb
@@ -75,13 +75,13 @@ LIBCAP_PTEST_TESTS = " \
exploit \
noexploit \
"
-
+
do_compile_ptest() {
oe_runmake -C tests ${LIBCAP_PTEST_TESTS} \
AR="${AR}" \
CC="${CC}" \
RANLIB="${RANLIB}" \
- OBJCOPY="${OBJCOPY}"
+ OBJCOPY="${OBJCOPY}"
oe_runmake -C libcap cap_test \
AR="${AR}" \
CC="${CC}" \
diff --git a/meta/recipes-support/libssh2/libssh2_1.11.1.bb b/meta/recipes-support/libssh2/libssh2_1.11.1.bb
index 0eb263b017..e8fa4a5eec 100644
--- a/meta/recipes-support/libssh2/libssh2_1.11.1.bb
+++ b/meta/recipes-support/libssh2/libssh2_1.11.1.bb
@@ -15,7 +15,7 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \
file://CVE-2026-55199.patch \
file://CVE-2025-15661-1.patch \
file://CVE-2025-15661-2.patch \
- file://CVE-2025-15661-3.patch \
+ file://CVE-2025-15661-3.patch \
file://CVE-2026-66032.patch \
file://CVE-2026-66033.patch \
file://CVE-2026-66034.patch \
diff --git a/meta/recipes-support/numactl/numactl_2.0.19.bb b/meta/recipes-support/numactl/numactl_2.0.19.bb
index 35bb401935..80468472ee 100644
--- a/meta/recipes-support/numactl/numactl_2.0.19.bb
+++ b/meta/recipes-support/numactl/numactl_2.0.19.bb
@@ -1,5 +1,5 @@
SUMMARY = "Development package for building Applications that use numa"
-HOMEPAGE = "http://oss.sgi.com/projects/libnuma/"
+HOMEPAGE = "http://oss.sgi.com/projects/libnuma/"
DESCRIPTION = "Simple NUMA policy support. It consists of a numactl program \
to run other programs with a specific NUMA policy and a libnuma to do \
allocations with NUMA policy in applications."
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [OE-core] [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes
2026-08-13 19:16 [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes Jaipaul Cheernam
` (4 preceding siblings ...)
2026-08-13 19:16 ` [PATCH 5/5] recipes: " Jaipaul Cheernam
@ 2026-08-15 7:05 ` Mathieu Dubois-Briand
2026-08-15 9:45 ` Richard Purdie
5 siblings, 1 reply; 8+ messages in thread
From: Mathieu Dubois-Briand @ 2026-08-15 7:05 UTC (permalink / raw)
To: Jaipaul Cheernam, openembedded-core
On Thu Aug 13, 2026 at 9:16 PM CEST, Jaipaul Cheernam wrote:
> Fix all trailing whitespace warnings reported by bitbake during parsing.
> These were flagged on the Yocto autobuilder:
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4405
>
> 53 files fixed across 5 patches, split by category:
> - classes-global (7 files)
> - classes-recipe (11 files)
> - classes (2 files)
> - conf (2 files)
> - recipes (31 files)
>
Hi Jaipaul,
Thanks for your patch.
It looks like you missed some of these:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4480/steps/22/logs/warnings
https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/4402/steps/14/logs/warnings
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [OE-core] [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes
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
0 siblings, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2026-08-15 9:45 UTC (permalink / raw)
To: mathieu.dubois-briand, Jaipaul Cheernam, openembedded-core
On Sat, 2026-08-15 at 09:05 +0200, Mathieu Dubois-Briand via lists.openembedded.org wrote:
> On Thu Aug 13, 2026 at 9:16 PM CEST, Jaipaul Cheernam wrote:
> > Fix all trailing whitespace warnings reported by bitbake during parsing.
> > These were flagged on the Yocto autobuilder:
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4405
> >
> > 53 files fixed across 5 patches, split by category:
> > - classes-global (7 files)
> > - classes-recipe (11 files)
> > - classes (2 files)
> > - conf (2 files)
> > - recipes (31 files)
>
> It looks like you missed some of these:
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4480/steps/22/logs/warnings
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/4402/steps/14/logs/warnings
I merged the whitespace tweaks and went ahead and fixed the above too.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-08-15 9:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/5] classes-recipe: " Jaipaul Cheernam
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
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.