diff options
Diffstat (limited to 'meta/lib/oe/overlayfs.py')
-rw-r--r-- | meta/lib/oe/overlayfs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/overlayfs.py b/meta/lib/oe/overlayfs.py index 8d7a047125..8b88900f71 100644 --- a/meta/lib/oe/overlayfs.py +++ b/meta/lib/oe/overlayfs.py | |||
@@ -40,7 +40,11 @@ def unitFileList(d): | |||
40 | bb.fatal("Missing required mount point for OVERLAYFS_MOUNT_POINT[%s] in your MACHINE configuration" % mountPoint) | 40 | bb.fatal("Missing required mount point for OVERLAYFS_MOUNT_POINT[%s] in your MACHINE configuration" % mountPoint) |
41 | 41 | ||
42 | for mountPoint in overlayMountPoints: | 42 | for mountPoint in overlayMountPoints: |
43 | for path in d.getVarFlag('OVERLAYFS_WRITABLE_PATHS', mountPoint).split(): | 43 | mountPointList = d.getVarFlag('OVERLAYFS_WRITABLE_PATHS', mountPoint) |
44 | if not mountPointList: | ||
45 | bb.debug(1, "No mount points defined for %s flag, don't add to file list", mountPoint) | ||
46 | continue | ||
47 | for path in mountPointList.split(): | ||
44 | fileList.append(mountUnitName(path)) | 48 | fileList.append(mountUnitName(path)) |
45 | fileList.append(helperUnitName(path)) | 49 | fileList.append(helperUnitName(path)) |
46 | 50 | ||