summaryrefslogtreecommitdiffstats
path: root/meta/files/overlayfs-create-dirs.sh
AgeCommit message (Collapse)Author
2022-06-04files: respect overlayfs owner from lower layerVyacheslav Yurkov
Permission model of overlayfs uses permissions/ownership from the upper layer after mounting. Fix up UID/GID of the upper layer, when lower layer already uses something custom. Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-04files: rootfs-postcommands: move helper commands to scriptVyacheslav Yurkov
OverlayFS systemd helper unit might require more pre-processing commands. It gets more complicated to embed them in a unit file, because systemd shell subset is limited and might require additional escaping. Move the command to a separate script, thus simplifying systemd unit. Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>