diff --git a/Dockerfile b/Dockerfile index ef415c1061813ed8d16caddfe7297e3d207e701c..b9fd7279be894eaf3b18b21f5e91d929e6a0e04a 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 1444d9c075ed352089ebbbf79abce4b4aa5046c3..b06f7f8b893ebe11a606edcb5ab3f57c3fc1a28e 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 7aa1b1b82837208c7d0892d85a241ca4abcc66b0..365de7060cee27db74e0b1172df4988f4cb95576 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"