Bug 1853813 - Bootstrap awk on OpenSuSE. r=firefox-build-system-reviewers,ahochheiden

For some reason, it's missing in recent OpenSuSE tumbleweed docker
images, but also is not necessarily available as an "awk" package on
other distros, so limit ourselves to OpenSuSE.

Notably, on Debian, "awk" is a virtual package provided by a set of
packages.

Differential Revision: https://phabricator.services.mozilla.com/D188698
This commit is contained in:
Mike Hommey 2023-09-20 22:00:15 +00:00
Родитель 74e963b9b1
Коммит b03c0f4157
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -19,6 +19,8 @@ class OpenSUSEBootstrapper(LinuxBootstrapper, BaseBootstrapper):
}
# watchman is not available
packages = [ALTERNATIVE_NAMES.get(p, p) for p in packages if p != "watchman"]
# awk might be missing
packages += ["awk"]
self.zypper_install(*packages)
def _update_package_manager(self):