Loading
grub2: workaround parallel build failure by building .po files sequentially
Without the change `grub2` build occasionally fails as:
https://hydra.nixos.org/log/h04imslmgy9l33z6xxsaf9v4svqsc3n2-grub-2.12-rc1.drv
$ msgmerge --update --lang=de de.po grub.pot
$ msgmerge --update --lang=de de.po grub.pot
...
de.po:745: end-of-file within string
de.po:745: missing 'msgstr' section
Here `msgmerge --update` attempts to update `de.po` from two parallel
`make` calls when translation updates are happening.
The change works around `de.po` stomping bu regenerating translations
sequentially.
Co-authored-by:
Samuel Dionne-Riel <samuel@dionne-riel.com>