Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • Không có trả lời
  • 0 gặp vấn đề này
  • 11 lượt xem
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).