Fix trailing whitespace in classes bbclass files to resolve bitbake parsing warnings.
Signed-off-by: Jaipaul Cheernam <[email protected]> --- 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 = []
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#243384): https://lists.openembedded.org/g/openembedded-core/message/243384 Mute This Topic: https://lists.openembedded.org/mt/120739070/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
