diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oe/overlayfs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oe/overlayfs.py b/meta/lib/oe/overlayfs.py index 21ef710509..b5d5e88e80 100644 --- a/meta/lib/oe/overlayfs.py +++ b/meta/lib/oe/overlayfs.py | |||
| @@ -15,6 +15,9 @@ def escapeSystemdUnitName(path): | |||
| 15 | def strForBash(s): | 15 | def strForBash(s): |
| 16 | return s.replace('\\', '\\\\') | 16 | return s.replace('\\', '\\\\') |
| 17 | 17 | ||
| 18 | def allOverlaysUnitName(d): | ||
| 19 | return d.getVar('PN') + '-overlays.service' | ||
| 20 | |||
| 18 | def mountUnitName(unit): | 21 | def mountUnitName(unit): |
| 19 | return escapeSystemdUnitName(unit) + '.mount' | 22 | return escapeSystemdUnitName(unit) + '.mount' |
| 20 | 23 | ||
| @@ -39,5 +42,7 @@ def unitFileList(d): | |||
| 39 | fileList.append(mountUnitName(path)) | 42 | fileList.append(mountUnitName(path)) |
| 40 | fileList.append(helperUnitName(path)) | 43 | fileList.append(helperUnitName(path)) |
| 41 | 44 | ||
| 45 | fileList.append(allOverlaysUnitName(d)) | ||
| 46 | |||
| 42 | return fileList | 47 | return fileList |
| 43 | 48 | ||
