fune/python/mozboot
Julian Nagele 4360daf5c0 Bug 1869093 - When bootstrapping on Arch Linux check if packages are already installed before try to install them. r=ahochheiden,firefox-build-system-reviewers,sergesanspaille
pacman_install() uses sudo pacman -S to install packages, which requires the user to enter their password for sudo even if there's nothing to do. Checking for installed packages using pacman -Q allows us to skip calling sudo when all packages are  already installed.

Differential Revision: https://phabricator.services.mozilla.com/D199242
2024-01-23 17:46:15 +00:00
..
bin Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium 2023-12-12 03:52:00 +00:00
mozboot Bug 1869093 - When bootstrapping on Arch Linux check if packages are already installed before try to install them. r=ahochheiden,firefox-build-system-reviewers,sergesanspaille 2024-01-23 17:46:15 +00:00
.ruff.toml
README.rst
setup.py Bug 1858062 - Remove reference to distutils in mozboot r=saschanaz 2023-11-07 07:43:07 +00:00

mozboot - Bootstrap your system to build Mozilla projects
=========================================================

This package contains code used for bootstrapping a system to build
mozilla-central.

This code is not part of the build system per se. Instead, it is related
to everything up to invoking the actual build system.

If you have a copy of the source tree, you run:

    python bin/bootstrap.py

If you don't have a copy of the source tree, you can run:

    curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -o bootstrap.py
    python bootstrap.py

The bootstrap script will download everything it needs from hg.mozilla.org
automatically!