summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs-postcommands.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-rw-r--r--meta/classes/rootfs-postcommands.bbclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass
index 7b92df69c5..9b6824043c 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -398,6 +398,10 @@ python overlayfs_qa_check() {
398 398
399 allUnitExist = True; 399 allUnitExist = True;
400 for mountPoint in overlayMountPoints: 400 for mountPoint in overlayMountPoints:
401 qaSkip = (d.getVarFlag("OVERLAYFS_QA_SKIP", mountPoint) or "").split()
402 if "mount-configured" in qaSkip:
403 continue
404
401 mountPath = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint) 405 mountPath = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint)
402 if mountPath in fstabDevices: 406 if mountPath in fstabDevices:
403 continue 407 continue
@@ -407,8 +411,10 @@ python overlayfs_qa_check() {
407 for dirpath in searchpaths): 411 for dirpath in searchpaths):
408 continue 412 continue
409 413
410 bb.warn('Mount path %s not found in fstat and unit %s not found ' 414 bb.warn(f'Mount path {mountPath} not found in fstab and unit '
411 'in systemd unit directories' % (mountPath, mountUnit)) 415 f'{mountUnit} not found in systemd unit directories.')
416 bb.warn(f'Skip this check by setting OVERLAYFS_QA_SKIP[{mountPoint}] = '
417 '"mount-configured"')
412 allUnitExist = False; 418 allUnitExist = False;
413 419
414 if not allUnitExist: 420 if not allUnitExist: