[OE-core] [RFC PATCH 0/2] Add /etc/os-release

Christopher Larson kergoth at gmail.com
Fri Dec 13 14:56:36 UTC 2013


systemd wants /etc/os-release, and it's useful for other software, and the
user as well. This adds it as a separate recipe which generates the metadata
using our config metadata variables (e.g. DISTRO_*), and rreccomends it from
systemd. I think this is a reasonablea pproach, but I wanted to run it by
folks, and also pursue an answer to my open question on this, should
base-files pull it in instead of systemd, or something else, for non-systemd
images? Do we care if it's missing from those? Thoughts?

The following changes since commit 62849843a4a83b10316bc6cb1e4b3f0622391dea:

  gdb-7.6.1: fix cygwin check in configure script (2013-12-12 22:41:13 +0000)

are available in the git repository at:

  git at github.com:kergoth/oe-core.git os-release

for you to fetch changes up to b00a526527b3248c9014bc3c0e5c606ef97e0838:

  systemd: rrecommend os-release (2013-12-13 07:41:08 -0700)

----------------------------------------------------------------
Christopher Larson (2):
  os-release: add new operating system identification recipe
  systemd: rrecommend os-release

 meta/recipes-core/os-release/os-release.bb | 42 ++++++++++++++++++++++++++++++
 meta/recipes-core/systemd/systemd_208.bb   |  1 +
 2 files changed, 43 insertions(+)
 create mode 100644 meta/recipes-core/os-release/os-release.bb

-- 
1.8.3.4




More information about the Openembedded-core mailing list