From: Safae Ouajih Date: Sun, 5 Feb 2023 23:50:21 +0000 (+0100) Subject: Dockerfile: add mkbootimg tool X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~207^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=b70d6985797229092f6773160dd7e21a44d1280d;p=uboot.git Dockerfile: add mkbootimg tool mkbootimg tool is part of the Android project and it is used to pack Android boot images such as boot image and vendor_boot image. Use the following command to run mkbootimg: $ python3 -m mkbootimg Add mkbootimg to the docker file Signed-off-by: Safae Ouajih Tested-by: Mattijs Korpershoek --- diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 801bebf1b0..9804b55ddd 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -284,3 +284,7 @@ RUN /bin/echo -e "\n[toolchain-prefix]\nxtensa = /opt/2020.07/xtensa-dc233c-elf/ RUN /bin/echo -e "\n[toolchain-alias]\nsh = sh2" >> ~/.buildman RUN /bin/echo -e "\nsandbox = x86_64" >> ~/.buildman RUN /bin/echo -e "\nx86 = i386" >> ~/.buildman; + +# Add mkbootimg tool +RUN git clone https://android.googlesource.com/platform/system/tools/mkbootimg /home/uboot/mkbootimg +ENV PYTHONPATH "${PYTHONPATH}:/home/uboot/mkbootimg"