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 63e716c955..d302c23cf4 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -400,6 +400,10 @@ python overlayfs_qa_check() {
400 400
401 allUnitExist = True; 401 allUnitExist = True;
402 for mountPoint in overlayMountPoints: 402 for mountPoint in overlayMountPoints:
403 qaSkip = (d.getVarFlag("OVERLAYFS_QA_SKIP", mountPoint) or "").split()
404 if "mount-configured" in qaSkip:
405 continue
406
403 mountPath = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint) 407 mountPath = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint)
404 if mountPath in fstabDevices: 408 if mountPath in fstabDevices:
405 continue 409 continue
@@ -409,8 +413,10 @@ python overlayfs_qa_check() {
409 for dirpath in searchpaths): 413 for dirpath in searchpaths):
410 continue 414 continue
411 415
412 bb.warn('Mount path %s not found in fstat and unit %s not found ' 416 bb.warn(f'Mount path {mountPath} not found in fstab and unit '
413 'in systemd unit directories' % (mountPath, mountUnit)) 417 f'{mountUnit} not found in systemd unit directories.')
418 bb.warn(f'Skip this check by setting OVERLAYFS_QA_SKIP[{mountPoint}] = '
419 '"mount-configured"')
414 allUnitExist = False; 420 allUnitExist = False;
415 421
416 if not allUnitExist: 422 if not allUnitExist: