Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How to extract only installable part after building Firefox from source?

  • Нет ответов
  • 0 имеют эту проблему
  • 12 просмотров
more options

After downloading about 10 GiB of source code and then building another 15 GiB, to install Firefox you need to use `./mach install` or more correctly: alias install='sudo sh -c "export MOZBUILD_STATE_PATH=$HOME/.mozbuild; ./mach install"'

But to re-install Nightly Firefox on the freshly installed (even the same) OS I will have to either save 25 GiB of source+build (+.mozbuild and other stuff) or to redo everything from scratch (needs at least 1h 20m). I'm having a hard time understanding all the abstractions and redirections from `./mach install` (and Makefile from ./obj-*/ which is automatically generated) to reconstruct a minimal set of things to install Firefox.

I need a bundle of files+dirs which is enough to install everything system-wide for Firefox to work properly. Maybe even simply run `./mach install` in this "minimal build installation" (if possible).

P.S. I'm using Debian based distro(s).

After downloading about 10 GiB of source code and then building another 15 GiB, to install Firefox you need to use `./mach install` or more correctly: alias install='sudo sh -c "export MOZBUILD_STATE_PATH=$HOME/.mozbuild; ./mach install"' But to re-install Nightly Firefox on the freshly installed (even the same) OS I will have to either save 25 GiB of source+build (+.mozbuild and other stuff) or to redo everything from scratch (needs at least 1h 20m). I'm having a hard time understanding all the abstractions and redirections from `./mach install` (and Makefile from ./obj-*/ which is automatically generated) to reconstruct a minimal set of things to install Firefox. I need a bundle of files+dirs which is enough to install everything system-wide for Firefox to work properly. Maybe even simply run `./mach install` in this "minimal build installation" (if possible). P.S. I'm using Debian based distro(s).