Skip to content
Snippets Groups Projects
Unverified Commit 2eb227d2 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

writables.bbclass: Fix syntax overrides


Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 426d345b
No related branches found
No related tags found
1 merge request!30flavours/zephyr/local.conf.sample: Bump CONF_VERSION
...@@ -41,7 +41,7 @@ SYSTEM_STATE_MOUNT_UNIT ??= "run-mount-sysdata.mount" ...@@ -41,7 +41,7 @@ SYSTEM_STATE_MOUNT_UNIT ??= "run-mount-sysdata.mount"
# known location as described above. The respective system partition mount # known location as described above. The respective system partition mount
# units are part of the oniro-mounts package. This provides the # units are part of the oniro-mounts package. This provides the
# SYSTEM_STATE_MOUNT_UNIT systemd mount unit. # SYSTEM_STATE_MOUNT_UNIT systemd mount unit.
RDEPENDS_${PN} += "oniro-mounts" RDEPENDS:${PN} += "oniro-mounts"
# This is the root filesystem hierarchy used as part of the bind mount units to # This is the root filesystem hierarchy used as part of the bind mount units to
# provide read-write locations. # provide read-write locations.
...@@ -130,10 +130,10 @@ python() { ...@@ -130,10 +130,10 @@ python() {
systemd_system_unitdir = d.getVar('systemd_system_unitdir') systemd_system_unitdir = d.getVar('systemd_system_unitdir')
for writable in get_writable_data(d): for writable in get_writable_data(d):
d.appendVar('FILES_' + d.getVar('PN'), ' ' + writable['where']) d.appendVar('FILES:' + d.getVar('PN'), ' ' + writable['where'])
d.appendVar('FILES_' + d.getVar('PN'), ' ' + \ d.appendVar('FILES:' + d.getVar('PN'), ' ' + \
os.path.join(systemd_system_unitdir, mountUnitName(writable['where']))) os.path.join(systemd_system_unitdir, mountUnitName(writable['where'])))
d.appendVar('SYSTEMD_SERVICE_' + d.getVar('PN'), ' ' + \ d.appendVar('SYSTEMD_SERVICE:' + d.getVar('PN'), ' ' + \
mountUnitName(writable['where'])) mountUnitName(writable['where']))
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment