[v2,5/6] meta: add missing whitespace around assignment operators

Message ID 20261117144109.2417395-6-clara.kowalsky@siemens.com
State Under Review
Headers show
Series [v2,1/6] base: replace BitBake's outdated persist_data | expand

Commit Message

Clara Kowalsky Nov. 17, 2026, 2:41 p.m. UTC
BitBake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), included in v2.15, emits warnings for
missing whitespace around variable assignment operators.

Fix the warnings by adding the missing spaces. Users can validate their
layers by parsing the metadata on updated BitBake with `bitbake
--parse-only`.

Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
Tested-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta-isar/classes-recipe/installer-add-rootfs.bbclass | 2 +-
 meta-isar/recipes-app/hello-isar/hello-isar.bb        | 2 +-
 meta-isar/recipes-app/libhello/libhello.bb            | 2 +-
 meta-isar/recipes-installer/bmap-tools/bmap-tools.bb  | 2 +-
 meta/classes-recipe/dpkg.bbclass                      | 2 +-
 meta/classes-recipe/rootfs.bbclass                    | 4 ++--
 meta/classes-recipe/sbuild.bbclass                    | 2 +-
 meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

Patch

diff --git a/meta-isar/classes-recipe/installer-add-rootfs.bbclass b/meta-isar/classes-recipe/installer-add-rootfs.bbclass
index c4921bc6..2569e81b 100644
--- a/meta-isar/classes-recipe/installer-add-rootfs.bbclass
+++ b/meta-isar/classes-recipe/installer-add-rootfs.bbclass
@@ -78,5 +78,5 @@  python() {
     d.setVar("ROOTFS_ADDITIONAL_FILES", " ".join(entries))
 }
 
-INSTALLER_TARGET_TASK ??="do_build"
+INSTALLER_TARGET_TASK ??= "do_build"
 do_rootfs_install[mcdepends] += "${@ get_mc_depends(d, d.getVar('INSTALLER_TARGET_TASK'))}"
diff --git a/meta-isar/recipes-app/hello-isar/hello-isar.bb b/meta-isar/recipes-app/hello-isar/hello-isar.bb
index 240b1b6f..db908b21 100644
--- a/meta-isar/recipes-app/hello-isar/hello-isar.bb
+++ b/meta-isar/recipes-app/hello-isar/hello-isar.bb
@@ -23,4 +23,4 @@  SRCREV = "b48d15629667377f544e71c7310b80a71d00d9dd"
 inherit dpkg
 
 # Example of using alternative sbuild chroot
-SBUILD_FLAVOR="db2m"
+SBUILD_FLAVOR = "db2m"
diff --git a/meta-isar/recipes-app/libhello/libhello.bb b/meta-isar/recipes-app/libhello/libhello.bb
index 9b4bb9ff..f357ee5b 100644
--- a/meta-isar/recipes-app/libhello/libhello.bb
+++ b/meta-isar/recipes-app/libhello/libhello.bb
@@ -16,4 +16,4 @@  SRCREV = "f4a5669c8c63f7cae8ff268cbf298dd45865b974"
 inherit dpkg
 
 # Example of using alternative sbuild chroot
-SBUILD_FLAVOR="db2m"
+SBUILD_FLAVOR = "db2m"
diff --git a/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb b/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb
index e7dd6cbe..15729998 100644
--- a/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb
+++ b/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb
@@ -9,7 +9,7 @@  MAINTAINER = "isar-users <isar-users@googlegroups.com>"
 
 SRC_URI = "apt://${BPN}"
 PN = "bmap-tools"
-CHANGELOG_V="<orig-version>+isar"
+CHANGELOG_V = "<orig-version>+isar"
 DPKG_ARCH = "all"
 
 SRC_URI += "file://0001-Fix-path-parameter-passing-error-of-set_psplash_pipe.patch;apply=no \
diff --git a/meta/classes-recipe/dpkg.bbclass b/meta/classes-recipe/dpkg.bbclass
index 0ae00b75..5982e723 100644
--- a/meta/classes-recipe/dpkg.bbclass
+++ b/meta/classes-recipe/dpkg.bbclass
@@ -9,7 +9,7 @@  inherit dpkg-source
 DPKG_BUILD_TIMEOUT ?= "150"
 dpkg_runbuild[vardepsexclude] += "${DPKG_BUILD_TIMEOUT}"
 
-DPKG_PREBUILD_ENV_FILE="${WORKDIR}/dpkg_prebuild.env"
+DPKG_PREBUILD_ENV_FILE = "${WORKDIR}/dpkg_prebuild.env"
 
 # bitbake variables that should be passed into sbuild env
 # Note: must not have any logical influence on the generated package
diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass
index 11b69d2f..d0c93abf 100644
--- a/meta/classes-recipe/rootfs.bbclass
+++ b/meta/classes-recipe/rootfs.bbclass
@@ -64,9 +64,9 @@  ROOTFS_FEATURES:remove:focal = "generate-sbom"
 
 # Capture all information needed for sbom generation
 ROOTFS_APT_STATE = "apt-state.tar.zst"
-ROOTFS_APT_ARGS="install --yes -o Debug::pkgProblemResolver=yes"
+ROOTFS_APT_ARGS = "install --yes -o Debug::pkgProblemResolver=yes"
 
-ROOTFS_CLEAN_FILES="/etc/hostname /etc/resolv.conf"
+ROOTFS_CLEAN_FILES = "/etc/hostname /etc/resolv.conf"
 
 ROOTFS_PACKAGE_SUFFIX ?= "${PN}-${DISTRO}-${DISTRO_ARCH}"
 
diff --git a/meta/classes-recipe/sbuild.bbclass b/meta/classes-recipe/sbuild.bbclass
index f2916931..a796a737 100644
--- a/meta/classes-recipe/sbuild.bbclass
+++ b/meta/classes-recipe/sbuild.bbclass
@@ -13,7 +13,7 @@  SBUILD_CHROOT:schroot ?= "${DEBDISTRONAME}-${SCHROOT_USER}-${ISAR_BUILD_UUID}-${
 SBUILD_CONF_DIR ?= "${SCHROOT_CONF}/${SBUILD_CHROOT}"
 SCHROOT_CONF_FILE ?= "${SCHROOT_CONF}/chroot.d/${SBUILD_CHROOT}"
 
-SBUILD_CONFIG="${WORKDIR}/sbuild.conf"
+SBUILD_CONFIG = "${WORKDIR}/sbuild.conf"
 
 # Lockfile available for all the users
 SCHROOT_LOCKFILE = "/tmp/schroot.lock"
diff --git a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
index 1a6c9013..faaf8e0f 100644
--- a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
+++ b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
@@ -7,7 +7,7 @@ 
 
 DESCRIPTION = "Standalone library & tools for accessing the U-Boot environment"
 MAINTAINER = "isar-users <isar-users@googlegroups.com>"
-HOMEPAGE= "https://github.com/sbabic/libubootenv"
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"