@@ -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.
#
@@ -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"
@@ -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
@@ -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"
@@ -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)
@@ -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
#
@@ -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
@@ -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"
@@ -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:
@@ -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
@@ -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:
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 +- 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(-)