fix: variable reference in do_rootfs_quality_check

Message ID 20221120092807.287054-1-adriaan.schmidt@siemens.com
State Accepted, archived
Headers show
Series fix: variable reference in do_rootfs_quality_check | expand

Commit Message

Schmidt, Adriaan Nov. 20, 2022, 9:28 a.m. UTC
correct variable reference of ROOTFS_QA_FIND_ARGS to actually reference the
bitbake variable.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Mikanovich Nov. 29, 2022, 1:22 p.m. UTC | #1
20.11.2022 12:28, Adriaan Schmidt wrote:
> correct variable reference of ROOTFS_QA_FIND_ARGS to actually reference the
> bitbake variable.
>
> Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>

Applied to next, thanks.

Patch

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index d8d605d3..813e1f34 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -440,7 +440,7 @@  do_rootfs_quality_check() {
     rootfs_install_stamp=$( ls -1 "${STAMP}".do_rootfs_install* | head -1 )
     test -f "$rootfs_install_stamp"
 
-    args="$ROOTFS_QA_FIND_ARGS"
+    args="${ROOTFS_QA_FIND_ARGS}"
     # rootfs_finalize chroot-setup.sh
     args="${args} ! -path ${ROOTFSDIR}/var/lib/dpkg/diversions"
     for cmd in ${ROOTFS_POSTPROCESS_COMMAND}; do