From 4342d3ce9b6e0ccb27fca2a93eb23c2c5fa61de8 Mon Sep 17 00:00:00 2001 From: Komal Bajaj Date: Thu, 27 Nov 2025 19:29:26 +0530 Subject: [PATCH] Dockerfile: Switch b4 installation to pip for latest version Removed b4 from apt-get install and added installation via pip using --break-system-packages option. This change ensures the latest available version of b4 is used instead of the older version provided by apt, improving compatibility and access to recent features. Signed-off-by: Komal Bajaj --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b0b1869..3acd3e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,12 @@ RUN printf "Types: deb\nURIs: http://archive.ubuntu.com/ubuntu/\nSuites: noble n apt-get update && \ apt-get install -y build-essential git clang-15 lld-15 flex bison bc libssl-dev curl kmod systemd-ukify && \ apt-get install -y debhelper-compat libdw-dev:amd64 libelf-dev:amd64 && \ - apt-get install -y rsync mtools dosfstools lavacli u-boot-tools b4 cpio && \ + apt-get install -y rsync mtools dosfstools lavacli u-boot-tools cpio && \ apt-get install -y gcc-aarch64-linux-gnu && \ apt-get install -y python3-pip swig yamllint && \ apt install -y python3-setuptools python3-wheel && \ python3 -m pip install --break-system-packages dtschema==2025.08 jinja2 ply GitPython && \ + python3 -m pip install --break-system-packages b4==0.14.3 && \ apt-get install -y yq && \ apt-get install -y abigail-tools sparse && \ apt-get install -y cmake libyaml-dev && \