diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-02-24 14:52:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:02 +0000 |
commit | 2269f90b9f01564b99c282c6c927e15d593ad3e7 (patch) | |
tree | 101a476732e045a53ae66541acdd160792dc2788 /meta-yocto-bsp | |
parent | 9d86b268f26609366e42360a81c39d38f7a1eb99 (diff) | |
download | poky-2269f90b9f01564b99c282c6c927e15d593ad3e7.tar.gz |
os-release: sanitise VERSION_ID field
Per os-release(5) the VERSION_ID field should be:
a lower-case string (mostly numeric, no spaces or other characters
outside of 0-9, a-z, ".", "_" and "-")
Do some string manipulation to try and ensure the VERSION_ID field
we write is valid.
(From OE-Core rev: d3975099af20d78b634c23b3ddd073049b016b05)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp')
0 files changed, 0 insertions, 0 deletions