Move bootstrapping to the compilation stage

This commit is contained in:
BeatLink 2019-07-17 14:02:01 -05:00
parent 4e24c1708e
commit c909d5c6b8
2 changed files with 7 additions and 7 deletions

View file

@ -2,10 +2,10 @@
printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION ---------------------------------------------\n";
printf "\nInstalling dependencies\n";
apt-get update -qq && apt-get install -qqy python python3 wget;
wget https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py;
python ./bootstrap.py --application-choice=browser --no-interactive || true
rm -f ./bootstrap.py;
apt-get update -qq && apt-get install -qqy mercurial wget; #python python3 wget;
# wget https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py;
# python ./bootstrap.py --application-choice=browser --no-interactive || true
# rm -f ./bootstrap.py;
# adds the new rust install to PATH
# printf "\nAdding new rust install to PATH\n";

View file

@ -5,9 +5,9 @@ OUTPUT_TARBALL=$2;
printf "\n\n--------------------------------------- BUILD -----------------------------------------------\n";
# Bootstraps librewolf again (using the ./mach script inside the source code)
# printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
# ./mach bootstrap --application-choice=browser --no-interactive;
# Installs build dependencies (using the ./mach script inside the source code)
printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
./mach bootstrap --application-choice=browser --no-interactive;
cd $SOURCE_FOLDER;