summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/overlayfs.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/overlayfs.bbclass b/meta/classes/overlayfs.bbclass
index 4a860f7308..29fced2ca7 100644
--- a/meta/classes/overlayfs.bbclass
+++ b/meta/classes/overlayfs.bbclass
@@ -103,7 +103,8 @@ python () {
103 unitList = unitFileList(d) 103 unitList = unitFileList(d)
104 for unit in unitList: 104 for unit in unitList:
105 d.appendVar('SYSTEMD_SERVICE:' + d.getVar('PN'), ' ' + unit) 105 d.appendVar('SYSTEMD_SERVICE:' + d.getVar('PN'), ' ' + unit)
106 d.appendVar('FILES:' + d.getVar('PN'), ' ' + strForBash(unit)) 106 d.appendVar('FILES:' + d.getVar('PN'), ' ' +
107 d.getVar('systemd_system_unitdir') + '/' + strForBash(unit))
107 108
108 d.setVar('OVERLAYFS_UNIT_LIST', ' '.join([strForBash(s) for s in unitList])) 109 d.setVar('OVERLAYFS_UNIT_LIST', ' '.join([strForBash(s) for s in unitList]))
109} 110}