Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ad6c3e03 authored by Carmelo Messina's avatar Carmelo Messina
Browse files

[TOOLS] change the source pointing from GitHub to Google (#2733)

parent 31716686
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -35,9 +35,13 @@ WORKDIR /home/${user}

RUN echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections

RUN wget https://raw.githubusercontent.com/chromium/chromium/$VERSION/build/install-build-deps.sh && \
    wget https://raw.githubusercontent.com/chromium/chromium/$VERSION/build/install-build-deps.py && \
    sed -i 's/snapcraft/wget/' install-build-deps.sh && \
RUN wget https://raw.githubusercontent.com/chromium/chromium/$VERSION/build/install-build-deps.sh || \
    wget -qO- https://chromium.googlesource.com/chromium/src/+/refs/tags/$VERSION/build/install-build-deps.sh?format=TEXT | base64 --decode > install-build-deps.sh

RUN wget https://raw.githubusercontent.com/chromium/chromium/$VERSION/build/install-build-deps.py || \
    wget -qO- https://chromium.googlesource.com/chromium/src/+/refs/tags/$VERSION/build/install-build-deps.py?format=TEXT | base64 --decode > install-build-deps.py

RUN sed -i 's/snapcraft/wget/' install-build-deps.sh && \
    chmod +x ./install-build-deps.sh && \
    chmod +x ./install-build-deps.py && \
    sudo DEBIAN_FRONTEND=noninteractive ./install-build-deps.sh --no-prompt --lib32 --no-chromeos-fonts && \
+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@ gclient root
mkdir ./src
cd ./src

#CHR_SOURCE=https://chromium.googlesource.com/chromium/src.git
CHR_SOURCE=https://github.com/chromium/chromium.git
CHR_SOURCE=https://chromium.googlesource.com/chromium/src.git
#CHR_SOURCE=https://github.com/chromium/chromium.git

git init
git remote add origin $CHR_SOURCE