summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-12 18:04:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-13 10:12:52 +0100
commit175263e5847cbd5eb2f272a76084238ef6835ab7 (patch)
tree363b5de0b0f14417d3eb33ee40ed308e560234f0 /meta/recipes-core/sysvinit
parent9262d2ff39f898605fe6f4224a4684e782439497 (diff)
downloadpoky-175263e5847cbd5eb2f272a76084238ef6835ab7.tar.gz
lib/oe/lsb: sanitise the distro identifier
The distribution identifier is often used to create filenames, so it needs to be safe to use as a filename. Whilst most distributions have e.g. Fedora or Debian as their name, it is possible that the name contains special characters. To ensure this doesn't cause a problem strip out any non-alphanumerics from the distribution name before returning it. [ YOCTO #9443 ] (From OE-Core rev: 8a96a7207561e00eb92e4fb69e7340f20bfa2053) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/sysvinit')
0 files changed, 0 insertions, 0 deletions