]> code.ossystems Code Review - openembedded-core.git/commit
os-release: Adding a new recipe for operating system identification
authorSujith H <Sujith_Haridasan@mentor.com>
Mon, 8 Sep 2014 11:58:36 +0000 (12:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Sep 2014 10:29:50 +0000 (11:29 +0100)
commit8a12350e00b5443a24f3d6c7693fdde9fcb7319f
tree9fdace863dd6a3b6a2288a2a0fd174504a016acc
parentace56dcd6eed1ab92af9bdf5bd6d9b11e35a0917
os-release: Adding a new recipe for operating system identification

The /etc/os-release will have the operating system identification data.
Tested on target with systemd enabled. Here is the sample file looks
in the file:

ID=poky-ivi-systemd
NAME=Yocto GENIVI Baseline (Poky/meta-ivi)
VERSION=6.0+snapshot-20140721 (daisy)
VERSION_ID=6.0+snapshot-20140721
PRETTY_NAME=Yocto GENIVI Baseline (Poky/meta-ivi) 6.0+snapshot-20140721 (daisy)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/os-release/os-release.bb [new file with mode: 0644]