coreos-base/coreos-metadata: bump to v0.2.2

Use the kernel command line instead of sourcing
/usr/share/oem/oem-release. This file is going away.
This commit is contained in:
Alex Crawford 2015-10-21 16:10:36 -07:00
parent 3a423414d0
commit 4574d6c9f0
3 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ inherit coreos-go cros-workon systemd
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64" KEYWORDS="~amd64 ~arm64"
else else
CROS_WORKON_COMMIT="aff2fffff26260974eac95855d5fb0d0bf4f43b3" # v0.2.1 CROS_WORKON_COMMIT="67305322c857e1e3f0c9b9f0924c9e60291981cd" # v0.2.2
KEYWORDS="amd64 arm64" KEYWORDS="amd64 arm64"
fi fi

View File

@ -3,8 +3,7 @@ Description=CoreOS Metadata Agent
[Service] [Service]
Type=oneshot Type=oneshot
EnvironmentFile=/usr/share/oem/oem-release ExecStart=/usr/bin/coreos-metadata --cmdline --output=/run/metadata/coreos
ExecStart=/usr/bin/coreos-metadata --provider=${OEM_ID} --output=/run/metadata/coreos
[Install] [Install]
RequiredBy=metadata.target RequiredBy=metadata.target