mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
GCP-Guest-Environment: redirect sv check to /dev/null
Avoid spamming the tty/serial with sv messages. The stdout for this command is not needed as it is used programmatically with the exit status
This commit is contained in:
parent
82ba4a5e47
commit
c3c3fb5c3a
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sv check GCP-Guest-Initialization || exit 1
|
sv check GCP-Guest-Initialization >/dev/null || exit 1
|
||||||
|
|
||||||
while ! ping -c1 metadata.google.internal >/dev/null ; do
|
while ! ping -c1 metadata.google.internal >/dev/null ; do
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sv check GCP-Guest-Initialization || exit 1
|
sv check GCP-Guest-Initialization >/dev/null || exit 1
|
||||||
|
|
||||||
while ! ping -c1 metadata.google.internal >/dev/null ; do
|
while ! ping -c1 metadata.google.internal >/dev/null ; do
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sv check GCP-Guest-Initialization || exit 1
|
sv check GCP-Guest-Initialization >/dev/null || exit 1
|
||||||
|
|
||||||
while ! ping -c1 metadata.google.internal >/dev/null ; do
|
while ! ping -c1 metadata.google.internal >/dev/null ; do
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'GCP-Guest-Environment'
|
# Template file for 'GCP-Guest-Environment'
|
||||||
pkgname=GCP-Guest-Environment
|
pkgname=GCP-Guest-Environment
|
||||||
version=20190801
|
version=20190801
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="compute-image-packages-${version}"
|
wrksrc="compute-image-packages-${version}"
|
||||||
build_wrksrc="packages/python-google-compute-engine"
|
build_wrksrc="packages/python-google-compute-engine"
|
||||||
|
|
Loading…
Add table
Reference in a new issue