mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 07:21:14 +02:00
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:
parent
3a423414d0
commit
4574d6c9f0
@ -11,7 +11,7 @@ inherit coreos-go cros-workon systemd
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
else
|
||||
CROS_WORKON_COMMIT="aff2fffff26260974eac95855d5fb0d0bf4f43b3" # v0.2.1
|
||||
CROS_WORKON_COMMIT="67305322c857e1e3f0c9b9f0924c9e60291981cd" # v0.2.2
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
|
@ -3,8 +3,7 @@ Description=CoreOS Metadata Agent
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
EnvironmentFile=/usr/share/oem/oem-release
|
||||
ExecStart=/usr/bin/coreos-metadata --provider=${OEM_ID} --output=/run/metadata/coreos
|
||||
ExecStart=/usr/bin/coreos-metadata --cmdline --output=/run/metadata/coreos
|
||||
|
||||
[Install]
|
||||
RequiredBy=metadata.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user