mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1914501 - Don't run emerge when all packages have been filtered out. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D220203
This commit is contained in:
parent
d69443aaf6
commit
46f3c64b1b
@ -20,7 +20,8 @@ class GentooBootstrapper(LinuxBootstrapper, BaseBootstrapper):
|
||||
}
|
||||
# watchman is available but requires messing with USEs.
|
||||
packages = [DISAMBIGUATE.get(p, p) for p in packages if p != "watchman"]
|
||||
self.run_as_root(["emerge", "--noreplace"] + packages)
|
||||
if packages:
|
||||
self.run_as_root(["emerge", "--noreplace"] + packages)
|
||||
|
||||
def _update_package_manager(self):
|
||||
self.run_as_root(["emerge", "--sync"])
|
||||
|
Loading…
Reference in New Issue
Block a user