summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@savoirfairelinux.com>2018-06-22 14:43:02 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-27 13:55:22 +0100
commitcd928d3a985b2432d1acd085aa6d26c3d8786e65 (patch)
treea2b7aa71348dbc08995f13279dcf39330f79b1d3 /meta/recipes-extended
parent1ad7165f7e6346c96ef60327a77ebb1a0c583114 (diff)
downloadpoky-cd928d3a985b2432d1acd085aa6d26c3d8786e65.tar.gz
systemd: escape paths passed to shell
Systemd mount configuration file must have a name that match the mount point directory they control. So for instance, if a mount file contains [Mount] ... Where=/mnt/my-data The file must be named `mnt-my\x2ddata.mount`, or systemd will refuse to honour it. If this config file contains an [Install] section, it will silently fail because the unit file is not escaped properly when systemctl is called. To fix that, make sure paths are escaped through `shlex.quote`. (From OE-Core rev: bbd9524256461f1bcafd4103edd575e668de76f8) Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions