build(pkg): fix pkg-tests.sh for ubuntu 24.04
This commit is contained in:
parent
c08c8cef22
commit
e92d1f4468
|
@ -79,9 +79,9 @@ emqx_prepare(){
|
||||||
if [ ! -d "${PAHO_MQTT_TESTING_PATH}" ]; then
|
if [ ! -d "${PAHO_MQTT_TESTING_PATH}" ]; then
|
||||||
git clone -b develop-4.0 https://github.com/emqx/paho.mqtt.testing.git "${PAHO_MQTT_TESTING_PATH}"
|
git clone -b develop-4.0 https://github.com/emqx/paho.mqtt.testing.git "${PAHO_MQTT_TESTING_PATH}"
|
||||||
fi
|
fi
|
||||||
# Debian 12 complains if we don't use venv
|
# Debian 12 and Ubuntu 24.04 complain if we don't use venv
|
||||||
case "${SYSTEM:-}" in
|
case "${SYSTEM:-}" in
|
||||||
debian12)
|
debian12|ubuntu24.04)
|
||||||
apt-get update -y && apt-get install -y virtualenv
|
apt-get update -y && apt-get install -y virtualenv
|
||||||
virtualenv venv
|
virtualenv venv
|
||||||
# https://www.shellcheck.net/wiki/SC1091
|
# https://www.shellcheck.net/wiki/SC1091
|
||||||
|
|
Loading…
Reference in New Issue