From c0a1996c7c75b16e9f01120b49a9fa6fc5a39b3e Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Thu, 17 Mar 2022 16:31:00 +0000 Subject: [PATCH] include git-lfs --- Dockerfile | 2 +- Dockerfile.community | 2 +- src/build.sh | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef415c1..b9fd727 100644 --- a/Dockerfile +++ b/Dockerfile @@ -153,7 +153,7 @@ RUN apt-get -qq update RUN apt-get -qqy upgrade RUN apt-get install -y bc bison bsdmainutils build-essential ccache cgpt clang cron \ - curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick kmod \ + curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick kmod \ lib32ncurses5-dev libncurses5 lib32readline-dev lib32z1-dev libtinfo5 liblz4-tool \ libncurses5-dev libsdl1.2-dev libssl-dev libxml2 \ libxml2-utils lsof lzop maven openjdk-8-jdk pngcrush \ diff --git a/Dockerfile.community b/Dockerfile.community index 1444d9c..b06f7f8 100644 --- a/Dockerfile.community +++ b/Dockerfile.community @@ -153,7 +153,7 @@ RUN apt-get -qq update RUN apt-get -qqy upgrade RUN apt-get install -y bc bison bsdmainutils build-essential ccache cgpt clang cron \ - curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick kmod \ + curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick kmod \ lib32ncurses5-dev libncurses5 lib32readline-dev lib32z1-dev libtinfo5 liblz4-tool \ libncurses5-dev libsdl1.2-dev libssl-dev libxml2 \ libxml2-utils lsof lzop maven pngcrush \ diff --git a/src/build.sh b/src/build.sh index 7aa1b1b..365de70 100755 --- a/src/build.sh +++ b/src/build.sh @@ -119,7 +119,10 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then if ! repo sync -c --force-sync then sync_successful=false + else + repo forall -c 'git lfs pull' fi + if [ ! -d "vendor/$vendor" ]; then echo ">> [$(date)] Missing \"vendor/$vendor\", aborting" -- GitLab