diff options
author | Maros Ondrejicka <maros.ondrejicka@pantheon.tech> | 2023-01-17 10:52:20 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-01-17 17:38:47 +0000 |
commit | f643b6f67111061e90ea41471b4b42c75b7a5988 (patch) | |
tree | f20df5dc8770677d97bf808253f10613e799c11d /extras/hs-test/vars | |
parent | 4da8be4dbabbbf53f1a3a9576f5178d982de6a06 (diff) |
hs-test: autodetect ubuntu version during build
Since VPP binaries are being compiled on host system,
it makes sense to autodetect Ubuntu version when building test images
so that containers would be running version equal to host system.
Type: test
Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech>
Change-Id: I0e13d9ba1ddcd3ad5835bce1b8cccfc048e5e528
Diffstat (limited to 'extras/hs-test/vars')
-rw-r--r-- | extras/hs-test/vars | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/vars b/extras/hs-test/vars index b48793bcc29..3879d5799f2 100644 --- a/extras/hs-test/vars +++ b/extras/hs-test/vars @@ -3,4 +3,4 @@ export VPP_WS=../../ export HST_LDPRELOAD=${VPP_WS}/build-root/build-vpp_debug-native/vpp/lib/x86_64-linux-gnu/libvcl_ldpreload.so export PATH=${VPP_WS}/build-root/build-vpp_debug-native/vpp/bin:$PATH -export UBUNTU_VERSION=22.04 +export UBUNTU_VERSION=$(lsb_release -rs) |