diff options
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index 74035c30b7..cd8986d8a9 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -380,7 +380,7 @@ python overlayfs_qa_check() { | |||
380 | from oe.overlayfs import mountUnitName | 380 | from oe.overlayfs import mountUnitName |
381 | 381 | ||
382 | # this is a dumb check for unit existence, not its validity | 382 | # this is a dumb check for unit existence, not its validity |
383 | overlayMountPoints = d.getVarFlags("OVERLAYFS_MOUNT_POINT") | 383 | overlayMountPoints = d.getVarFlags("OVERLAYFS_MOUNT_POINT") or {} |
384 | imagepath = d.getVar("IMAGE_ROOTFS") | 384 | imagepath = d.getVar("IMAGE_ROOTFS") |
385 | searchpaths = [oe.path.join(imagepath, d.getVar("sysconfdir"), "systemd", "system"), | 385 | searchpaths = [oe.path.join(imagepath, d.getVar("sysconfdir"), "systemd", "system"), |
386 | oe.path.join(imagepath, d.getVar("systemd_system_unitdir"))] | 386 | oe.path.join(imagepath, d.getVar("systemd_system_unitdir"))] |