mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
fleet: bump to v0.8.0
fleet binary moved to fleetd, so preserve old location with symlink.
This commit is contained in:
parent
c566888a36
commit
cc0c4b13fd
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=fleet
|
Description=fleet daemon
|
||||||
|
|
||||||
Wants=etcd.service
|
Wants=etcd.service
|
||||||
After=etcd.service
|
After=etcd.service
|
||||||
@ -8,6 +8,6 @@ Wants=fleet.socket
|
|||||||
After=fleet.socket
|
After=fleet.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/fleet
|
ExecStart=/usr/bin/fleetd
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
|
@ -9,7 +9,7 @@ CROS_WORKON_REPO="git://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="58f2e8d059892f8db7fdb3ac54430f7888d6f0db" # tag v0.7.1
|
CROS_WORKON_COMMIT="03ca0ddf2e434a21c21661bfbca1ab92f3be2fd2" # tag v0.8.0
|
||||||
KEYWORDS="amd64"
|
KEYWORDS="amd64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -30,7 +30,9 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin ${S}/bin/fleet
|
dobin ${S}/bin/fleetd
|
||||||
|
dosym ./fleetd /usr/bin/fleet
|
||||||
|
|
||||||
dobin ${S}/bin/fleetctl
|
dobin ${S}/bin/fleetctl
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user