Merge pull request #2585 from Bevisy/main-2584

osbuilder: Change to "=" operator to make script more portable
This commit is contained in:
Fabiano Fidêncio 2021-09-09 10:53:47 +02:00 committed by GitHub
commit f28e6e506f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ PACKAGES="iptables chrony"
#Optional packages:
# systemd: An init system that will start kata-agent if kata-agent
# itself is not configured as init process.
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true
[ "$AGENT_INIT" = "no" ] && PACKAGES+=" systemd" || true
# Init process must be one of {systemd,kata-agent}
INIT_PROCESS=systemd

View File

@ -20,7 +20,7 @@ PACKAGES="libudev0-shim kmod-bin"
#Optional packages:
# systemd: An init system that will start kata-agent if kata-agent
# itself is not configured as init process.
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd chrony iptables-bin util-linux-bin" || true
[ "$AGENT_INIT" = "no" ] && PACKAGES+=" systemd chrony iptables-bin util-linux-bin" || true
# Init process must be one of {systemd,kata-agent}
INIT_PROCESS=systemd

View File

@ -14,7 +14,7 @@ PACKAGES="iptables chrony"
#Optional packages:
# systemd: An init system that will start kata-agent if kata-agent
# itself is not configured as init process.
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true
[ "$AGENT_INIT" = "no" ] && PACKAGES+=" systemd" || true
# Init process must be one of {systemd,kata-agent}
INIT_PROCESS=systemd