From ed4c727c125e33c357d75a3db7682f9c2b5e59f2 Mon Sep 17 00:00:00 2001 From: Jitang Lei Date: Thu, 3 Oct 2024 05:33:36 +0000 Subject: [PATCH] osbuilder: Fix build dependency of ubuntu rootfs with Docker Build ubuntu rootfs with Docker failed with error: `Unable to find libclang` Fix this error by adding libclang-dev to the dependency. Signed-off-by: Jitang Lei --- tools/osbuilder/rootfs-builder/ubuntu/Dockerfile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/osbuilder/rootfs-builder/ubuntu/Dockerfile.in b/tools/osbuilder/rootfs-builder/ubuntu/Dockerfile.in index 074a186700..d67bceb996 100644 --- a/tools/osbuilder/rootfs-builder/ubuntu/Dockerfile.in +++ b/tools/osbuilder/rootfs-builder/ubuntu/Dockerfile.in @@ -50,6 +50,7 @@ RUN apt-get update && \ xz-utils \ pip \ python3-dev \ + libclang-dev \ zstd && \ apt-get clean && rm -rf /var/lib/apt/lists/&& \ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN}