meta: fix trailing whitespace across classes, conf and recipes
cover meta: fix trailing whitespace across classes, conf and recipes
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(-)
PATCH 1/5 classes-global: fix trailing whitespace
Fix trailing whitespace in classes-global bbclass files to resolve bitbake parsing warnings.
--- 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(-)
meta/classes-global/base.bbclass +1 -1
@@ -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')
meta/classes-global/buildstats.bbclass +5 -5
@@ -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']
meta/classes-global/debian.bbclass +1 -1
@@ -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
meta/classes-global/devshell.bbclass +1 -1
@@ -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):
meta/classes-global/logging.bbclass +2 -2
@@ -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:]")
meta/classes-global/packagedata.bbclass +2 -2
@@ -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'), }
meta/classes-global/sanity.bbclass +8 -8
@@ -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)
PATCH 2/5 classes-recipe: fix trailing whitespace
In reply to Jaipaul CheernamFix trailing whitespace in classes-recipe bbclass files to resolve bitbake parsing warnings.
--- 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 +- meta/classes-recipe/multilib_header.bbclass | 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(-)
meta/classes-recipe/core-image.bbclass +1 -1
@@ -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. #
meta/classes-recipe/gobject-introspection.bbclass +2 -2
@@ -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"
meta/classes-recipe/kernel-yocto.bbclass +5 -5
@@ -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
meta/classes-recipe/lib_package.bbclass +1 -1
@@ -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"
meta/classes-recipe/libc-package.bbclass +3 -3
@@ -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)
meta/classes-recipe/mime-xdg.bbclass +1 -1
@@ -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 #
meta/classes-recipe/multilib_header.bbclass +2 -2
@@ -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
meta/classes-recipe/populate_sdk_ext.bbclass +1 -1
@@ -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"
meta/classes-recipe/ptest-cargo.bbclass +2 -2
@@ -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:
meta/classes-recipe/ptest-python-pytest.bbclass +2 -2
@@ -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
meta/classes-recipe/uboot-config.bbclass +1 -1
@@ -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:
PATCH 3/5 classes: fix trailing whitespace
In reply to Jaipaul CheernamFix trailing whitespace in classes bbclass files to resolve bitbake parsing warnings.
--- meta/classes/image-buildinfo.bbclass | 2 +- meta/classes/useradd.bbclass | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
meta/classes/image-buildinfo.bbclass +1 -1
@@ -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.
meta/classes/useradd.bbclass +4 -4
@@ -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 = []
PATCH 4/5 conf: fix trailing whitespace
In reply to Jaipaul CheernamFix trailing whitespace in conf files and local.conf.sample template to resolve bitbake parsing warnings.
--- meta/conf/abi_version.conf | 4 ++-- meta/conf/templates/default/local.conf.sample | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
meta/conf/abi_version.conf +2 -2
@@ -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"
meta/conf/templates/default/local.conf.sample +1 -1
@@ -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"
PATCH 5/5 recipes: fix trailing whitespace
In reply to Jaipaul CheernamFix trailing whitespace in recipe files to resolve bitbake parsing warnings.
--- 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 +- 31 files changed, 52 insertions(+), 52 deletions(-)
meta/recipes-connectivity/avahi/avahi_0.9.bb +1 -1
@@ -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
meta/recipes-core/base-files/base-files_3.0.14.bb +1 -1
@@ -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:
meta/recipes-core/gettext/gettext-minimal-native_1.0.bb +1 -1
@@ -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 }
meta/recipes-core/glibc/glibc-scripts.inc +1 -1
@@ -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"
meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb +1 -1
@@ -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
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +1 -1
@@ -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 \
meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb +1 -1
@@ -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.
meta/recipes-devtools/apt/apt_3.0.3.bb +1 -1
@@ -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"
meta/recipes-devtools/autoconf/autoconf_2.73.bb +1 -1
@@ -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"
meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +12 -12
@@ -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.
meta/recipes-devtools/gcc/gcc-configure-common.inc +1 -1
@@ -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 "
meta/recipes-devtools/gcc/gcc-multilib-config.inc +1 -1
@@ -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
meta/recipes-devtools/gcc/gcc-runtime.inc +1 -1
@@ -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
meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb +1 -1
@@ -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
meta/recipes-devtools/perl/perl_5.44.0.bb +2 -2
@@ -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"
meta/recipes-devtools/pseudo/pseudo.inc +3 -3
@@ -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 }
meta/recipes-devtools/ruby/ruby_4.0.6.bb +1 -1
@@ -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:
meta/recipes-extended/iptables/iptables_1.8.13.bb +1 -1
@@ -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
meta/recipes-extended/mc/mc_4.8.33.bb +3 -3
@@ -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"
meta/recipes-extended/perl/libxml-sax-perl_1.02.bb +1 -1
@@ -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 \
meta/recipes-extended/psmisc/psmisc_23.7.bb +2 -2
@@ -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 )
meta/recipes-graphics/xorg-font/xorg-font-common.inc +1 -1
@@ -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}"
meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb +1 -1
@@ -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)}"
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -1
@@ -22,7 +22,7 @@ do_configure() { : } -do_compile() { +do_compile() { : }
meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc +4 -4
@@ -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
meta/recipes-kernel/linux/kernel-devsrc.bb +1 -1
@@ -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
meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb +1 -1
@@ -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"
meta/recipes-kernel/perf/perf.bb +1 -1
@@ -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"
meta/recipes-support/libcap/libcap_2.78.bb +2 -2
@@ -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}" \
meta/recipes-support/libssh2/libssh2_1.11.1.bb +1 -1
@@ -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 \
meta/recipes-support/numactl/numactl_2.0.19.bb +1 -1
@@ -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."
Quoted 11 lines · 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/440553 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
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 12 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 10 lines · 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/440553 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)
Quoted 4 lines
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
Thanks Richard ..
Regards,
Jaipaul
________________________________
From: Richard Purdie <[email protected]>
Sent: Saturday, August 15, 2026 11:45 AM
To: [email protected] <[email protected]>; Jaipaul Cheernam <[email protected]>; [email protected] <[email protected]>
Subject: Re: [OE-core] [PATCH 0/5] meta: fix trailing whitespace across classes, conf and recipes
Quoted 12 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 10 lines · 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/440553 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)
Quoted 4 lines
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