Skip to content

Commit 8e4c31c

Browse files
committed
build: Only install liburing-dev on Ubuntu > 20.04
It's not available on 20.04 or earlier.
1 parent 8c532d9 commit 8e4c31c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build/ubuntu/packages.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ if [[ "$machine" == "ppc64le" ]]; then
2020
PACKAGES+=" libhugetlbfs-dev"
2121
PACKAGES+=" libmnl-dev"
2222
PACKAGES+=" libmount-dev"
23-
PACKAGES+=" liburing-dev"
23+
if [[ "$major" -gt 20 ]]; then
24+
PACKAGES+=" liburing-dev"
25+
fi
2426

2527
# For the x86_64 container
2628
if [[ "$major" -ge 21 ]]; then

0 commit comments

Comments
 (0)